/* Landing Page Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Source Sans Pro', -apple-system, sans-serif; color: #333; line-height: 1.6; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 15px 0; transition: all 0.3s; }
.navbar.scrolled { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo { display: flex; align-items: center; text-decoration: none; color: #fff; font-weight: 700; font-size: 1.4rem; }
.navbar.scrolled .logo { color: #2c3e50; }
.navbar .logo img { height: 40px; margin-right: 10px; }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.navbar.scrolled .nav-menu a { color: #555; }
.nav-menu a:hover { color: #fff; }
.navbar.scrolled .nav-menu a:hover { color: #3498db; }
.btn-nav { background: #3498db; color: #fff !important; padding: 10px 25px; border-radius: 25px; }
.btn-nav:hover { background: #2980b9 !important; }
.btn-nav-outline { border: 2px solid rgba(255,255,255,0.7); color: rgba(255,255,255,0.9) !important; padding: 8px 20px; border-radius: 25px; background: transparent; }
.btn-nav-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff !important; }
.navbar.scrolled .btn-nav-outline { border-color: #3498db; color: #3498db !important; }
.navbar.scrolled .btn-nav-outline:hover { background: rgba(52,152,219,0.1); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }
.navbar.scrolled .nav-toggle { color: #333; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='rgba(255,255,255,0.05)' fill='none'/%3E%3C/svg%3E"); }
.hero-content { position: relative; text-align: center; color: #fff; padding: 100px 0; }
.hero h1 { font-size: 3rem; font-weight: 700; margin-bottom: 20px; }
.hero p { font-size: 1.3rem; opacity: 0.9; max-width: 600px; margin: 0 auto 30px; }
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: all 0.3s; border: 2px solid transparent; }
.btn-primary { background: #27ae60; color: #fff; }
.btn-primary:hover { background: #219a52; transform: translateY(-2px); box-shadow: 0 5px 20px rgba(39,174,96,0.4); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-white { background: #fff; color: #3498db; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,0.2); }

/* Sections */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 15px; }
.section-header p { color: #666; font-size: 1.1rem; }

/* Features */
.features { background: #f8f9fa; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background: #fff; padding: 35px; border-radius: 15px; text-align: center; box-shadow: 0 5px 30px rgba(0,0,0,0.05); transition: transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.feature-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: linear-gradient(135deg, #3498db, #2980b9); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-icon i { font-size: 28px; color: #fff; }
.feature-card h3 { font-size: 1.3rem; color: #2c3e50; margin-bottom: 10px; }
.feature-card p { color: #666; }

/* Pricing */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; max-width: 1000px; margin: 0 auto; }
.pricing-card { background: #fff; border: 2px solid #e0e0e0; border-radius: 20px; padding: 40px 30px; text-align: center; transition: all 0.3s; position: relative; }
.pricing-card:hover { border-color: #3498db; box-shadow: 0 10px 40px rgba(52,152,219,0.15); }
.pricing-card.featured { border-color: #3498db; transform: scale(1.05); box-shadow: 0 15px 50px rgba(52,152,219,0.2); }
.pricing-card .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, #3498db, #2980b9); color: #fff; padding: 5px 20px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; }
.pricing-card h3 { font-size: 1.5rem; color: #2c3e50; margin-bottom: 10px; }
.pricing-card .tier-desc { color: #666; font-size: 0.9rem; margin-bottom: 15px; min-height: 20px; }
.price { font-size: 3rem; font-weight: 700; color: #3498db; }
.price .currency { font-size: 1.5rem; vertical-align: super; }
.price .period { font-size: 1rem; color: #666; font-weight: 400; }
.pricing-card .billed { color: #888; font-size: 0.9rem; margin-bottom: 25px; }
.pricing-card ul { list-style: none; margin: 25px 0; text-align: left; }
.pricing-card li { padding: 10px 0; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 10px; }
.pricing-card li:last-child { border: none; }
.pricing-card li i { color: #27ae60; }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-card .btn-outline { border-color: #3498db; color: #3498db; }
.pricing-card .btn-outline:hover { background: #3498db; color: #fff; }

/* About */
.about { background: #f8f9fa; text-align: center; }
.about h2 { font-size: 2.5rem; color: #2c3e50; margin-bottom: 15px; }
.about > .container > p { color: #666; font-size: 1.1rem; max-width: 700px; margin: 0 auto 40px; }
.about-features { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.about-features div { display: flex; align-items: center; gap: 10px; color: #2c3e50; font-weight: 600; }
.about-features i { color: #3498db; font-size: 1.3rem; }

/* CTA */
.cta { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); text-align: center; color: #fff; }
.cta h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }

/* Footer */
.footer { background: #1a1a2e; color: #fff; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 1.3rem; font-weight: 700; }
.footer-brand .logo img { height: 35px; }
.footer-brand p { color: #d0d0d0; font-size: 0.95rem; }
.footer-links h4,
.footer-links .footer-heading { font-size: 1rem; margin-bottom: 20px; color: #fff; font-weight: 600; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #d0d0d0; text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: #4bb3ff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; color: #c9c9c9; font-size: 0.9rem; }

/* Loading */
.loading-pricing { text-align: center; padding: 60px; grid-column: 1 / -1; }
.loading-pricing i { font-size: 2rem; color: #3498db; }
.loading-pricing p { margin-top: 15px; color: #666; }

/* Modal Base Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-container {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu { position: fixed; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); display: none; }
    .nav-menu.active { display: flex; }
    .nav-menu a { color: #333 !important; }
    .nav-toggle { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .pricing-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .about-features { flex-direction: column; gap: 15px; }
}
