@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Premium Corporate Green Palette */
    --primary: #059669; /* Emerald 600 */
    --primary-dark: #047857; /* Emerald 700 */
    --primary-light: #10B981; /* Emerald 500 */
    --primary-lightest: #D1FAE5; /* Emerald 100 */
    
    /* Backgrounds & Surfaces */
    --bg-main: #FAFAFA;
    --bg-surface: #FFFFFF;
    --bg-alt: #F3F4F6;
    
    /* Typography */
    --text-main: #1F2937; /* Gray 800 */
    --text-muted: #6B7280; /* Gray 500 */
    --text-light: #9CA3AF; /* Gray 400 */
    --white: #FFFFFF;
    
    /* Borders & Shadows */
    --border: #E5E7EB; /* Gray 200 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden !important;
    max-width: 100%;
}
html {
    overflow-x: hidden !important;
    width: 100%; max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}
a:hover { color: var(--primary-dark); }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Topbar */
.topbar {
    background: #111827; /* Dark background */
    color: #D1D5DB;
    font-size: 13px;
    padding: 8px 0;
    font-family: var(--font-body);
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right, .topbar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #D1D5DB;
    text-decoration: none;
    transition: var(--transition);
}

a.topbar-item:hover {
    color: var(--primary-light);
}

/* Header & Navigation (Includes Dropdown) */
.header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-main);
    font-weight: 500;
    font-size: 15px;
    font-family: var(--font-heading);
    padding: 28px 0; /* To connect with dropdown naturally */
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover {
    color: var(--primary);
}

/* Dropdown styling */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 12px 12px;
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1001;
    padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--text-main);
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-link svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.dropdown-link:hover {
    background: var(--bg-alt);
    color: var(--primary);
    padding-left: 25px;
}

/* Arrow indicator */
.nav-link > svg {
    width: 12px;
    height: 12px;
    transition: var(--transition);
}
.nav-item:hover .nav-link > svg {
    transform: rotate(180deg);
}

/* Mobile Nav */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 0;
}
.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(5, 150, 105, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(5, 150, 105, 0.3);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--primary-lightest) 100%);
    position: relative;
    border-bottom: 1px solid var(--border);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

/* Sections */
.section { padding: 80px 0; }
.section-bg-alt { background: var(--bg-alt); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; margin-bottom: 16px; color: var(--text-main); }
.section-header p { color: var(--text-muted); max-width: 650px; margin: 0 auto; font-size: 18px; }

/* SEO Content Sections */
.seo-section {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.seo-section.reverse .container {
    flex-direction: row-reverse;
}
.seo-content {
    flex: 1;
}
.seo-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-main);
}
.seo-content p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.8;
}
.seo-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Feature Boxes (Animated) */
.feature-box {
    display: flex;
    gap: 20px;
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}
.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lightest);
}
.feature-icon {
    font-size: 40px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-box:hover .feature-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    align-items: stretch;
}

@media (min-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-lightest);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.15);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.pkg-name { font-size: 24px; margin-bottom: 5px; color: var(--text-main); }

.pkg-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.pkg-currency { font-size: 20px; margin-top: 8px; margin-right: 5px; color: var(--primary); }
.pkg-period { font-size: 16px; color: var(--text-muted); font-weight: 500; margin-top: auto; margin-bottom: 12px; margin-left: 5px; }

.pkg-features { margin-bottom: 40px; flex-grow: 1; }
.pkg-feature-item {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 15px;
}

.pkg-btn { width: 100%; margin-top: auto; }

/* Content Area */
.content-area {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 60px;
}

.content-area h2 { font-size: 28px; margin: 30px 0 15px; color: var(--text-main); }
.content-area h3 { font-size: 22px; margin: 25px 0 10px; color: var(--text-main); }
.content-area p { margin-bottom: 20px; font-size: 16px; color: var(--text-muted); }
.content-area ul { margin-bottom: 20px; padding-left: 20px; list-style-type: disc; color: var(--text-muted); }
.content-area li { margin-bottom: 8px; }

/* Page Header */
.page-header {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
}
.page-header h1 { font-size: 42px; margin-bottom: 15px; }
.page-header p { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

/* Footer */
.footer {
    background: var(--text-main);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 { color: var(--white); margin-bottom: 25px; font-size: 18px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--primary); }

.footer-link { color: var(--text-light); display: block; margin-bottom: 12px; font-size: 15px; }
.footer-link:hover { color: var(--primary-lightest); transform: translateX(5px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; text-align: center; color: var(--text-light); font-size: 14px; }

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content h1 { font-size: 42px; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; }
    .hero-image { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-header h1 { font-size: 32px; }
    .content-area { padding: 20px; }
    .seo-section, .seo-section.reverse { flex-direction: column; text-align: center; gap: 40px; padding: 40px 0; }
    
    /* Topbar Stack */
    .topbar-container { flex-direction: column; gap: 5px; padding: 10px 0; }
    
    /* Mobile Menu Accordion */
    .mobile-nav-group { border-bottom: 1px solid var(--border); margin: 0; padding: 0; }
    .mobile-nav-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 15px;
        background: transparent;
        border: none;
        color: var(--text-main);
        font-size: 15px;
        font-weight: 600;
        font-family: var(--font-heading);
        cursor: pointer;
        margin: 0;
    }
    .mobile-nav-toggle svg {
        width: 14px;
        height: 14px;
        transition: transform 0.3s;
    }
    .mobile-sub-nav {
        display: none;
        flex-direction: column;
        background: var(--bg-alt);
        padding: 0;
        margin: 0;
    }
    .mobile-sub-nav.active {
        display: flex;
    }
    .mobile-nav .nav-link { 
        padding: 8px 15px; 
        width: 100%; 
        border-bottom: 1px solid var(--border); 
        font-size: 14px; 
        color: var(--text-muted);
        margin: 0;
    }
    .mobile-nav .nav-link:last-child { border-bottom: none; }
    
    /* Hero Buttons */
    .hero-btns { flex-direction: column; width: 100%; gap: 10px; }
    .hero-btns .btn { width: 100%; }
    
    /* Fix potential overflows */
    .container { padding: 0 15px; }
    img, svg { max-width: 100%; }
}
