/* Base & Variables */
:root {
    --primary-blue: #1c5ba6; 
    --primary-blue-hover: #154683;
    --text-main: #171717;
    --text-muted: #525252;
    --bg-main: #ffffff;
    --bg-beige: #f6f5ef;
    --bg-light-blue: #edf4fa;
    --border-color: #e5e5e5;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.bg-beige {
    background-color: var(--bg-beige);
}

/* Typography Utilities */
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}
h1 span {
    color: var(--primary-blue);
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.eyebrow.center {
    text-align: center;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
}

.section-header.left {
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    border: none;
}
.btn-primary:hover {
    background-color: var(--primary-blue-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-outline:hover {
    background-color: #f9f9f9;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.logo span {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: color 0.2s;
}
.nav-links a:not(.btn):hover {
    color: var(--primary-blue);
}

.nav-links .btn {
    padding: 10px 20px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    cursor: pointer;
    z-index: 1001;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.mobile-menu-btn.active {
    transform: none;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero .tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-light-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Stats */
.stats {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-container {
    display: flex;
    justify-content: space-between;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 40px 24px;
    border-right: 1px solid var(--border-color);
}
.stat-item:last-child {
    border-right: none;
}

.stat-item h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 8px;
}
.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Services */
.services {
    padding: 100px 0;
}

.core-service-card {
    display: flex;
    border: 1px solid var(--primary-blue);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
}

.core-left {
    flex: 1.5;
    padding: 48px;
    background-color: white;
}

.badge {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.core-left h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.core-left p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.checklist li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
}
.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.core-right {
    flex: 1;
    background-color: #fcfcfc;
    border-left: 1px solid #f0f0f0;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.info-block {
    background-color: var(--bg-light-blue);
    padding: 20px;
    border-radius: 8px;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.info-block strong {
    display: block;
    color: var(--primary-blue);
    font-size: 0.95rem;
}

.supporting-services-header {
    margin-bottom: 24px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    background-color: white;
}

.service-card .icon {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light-blue);
    color: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Brands */
.brands {
    padding: 100px 0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.brand-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.brand-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.brand-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Process */
.process {
    padding: 100px 0;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}
.step:first-child {
    padding-top: 0;
}
.step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-content h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Results */
.results {
    padding: 100px 0;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.result-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
}

.result-card h3 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.result-card p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.quote {
    font-size: 0.95rem;
    color: var(--text-main);
    flex-grow: 1;
    margin-bottom: 24px;
    font-weight: 500;
}

.author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    background-color: var(--bg-light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Pricing */
.pricing {
    padding: 100px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--primary-blue);
}

.popular-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--primary-blue);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.price {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 500;
}

.price span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.plan-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-main);
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-blue);
}

/* CTA */
.cta {
    padding: 120px 0;
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.contact-box {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.contact-box .label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.contact-box strong {
    font-size: 0.95rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 64px 0 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.brand-col .logo {
    display: block;
    margin-bottom: 16px;
}

.brand-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Hub & Navigation Expansion */
.service-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.hub-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}
.hub-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}
.hub-card .platform-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light-blue);
    color: var(--primary-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.hub-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}
.hub-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}
.hub-card .btn-text {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hub-card.flagship {
    border: 2px solid var(--primary-blue);
}
.hub-card.flagship::after {
    content: "FLAGSHIP";
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* Dropdown Styles */
.nav-links .dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 8px 0;
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: var(--text-main);
    padding: 12px 20px;
    text-decoration: none;
    display: block !important;
    font-size: 0.9rem;
    transition: background 0.2s;
    font-weight: 500;
}
.dropdown-content a:hover {
    background-color: var(--bg-light-blue);
    color: var(--primary-blue) !important;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid, .brands-grid, .testimonials-grid, .pricing-grid, .contact-info-grid, .service-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .core-service-card {
        flex-direction: column;
    }
    
    .core-right {
        border-left: none;
        border-top: 1px solid #f0f0f0;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0 40px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 120px 24px 60px;
        gap: 0;
        align-items: center;
        justify-content: flex-start;
        z-index: 1000;
        transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    /* Main Menu Item Styling */
    .nav-links > a:not(.btn), 
    .nav-links .dropdown > a {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--text-main);
        padding: 16px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease;
        transition-delay: calc(var(--delay) * 0.1s);
    }

    .nav-links.active a:not(.btn),
    .nav-links.active .dropdown > a {
        opacity: 1;
        transform: translateY(0);
    }

    /* Sub-menu (Dropdown) Styling */
    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 10px 0 20px;
        border: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        background: transparent;
        opacity: 0;
        transform: scale(0.95);
        transition: all 0.4s ease 0.3s;
    }

    .nav-links.active .dropdown-content {
        opacity: 1;
        transform: scale(1);
    }

    .dropdown-content a {
        padding: 12px !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        background: #f8f9fa;
        border-radius: 8px;
        text-align: center;
        color: var(--text-muted) !important;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }

    .dropdown-content a:hover {
        background: var(--bg-light-blue);
        color: var(--primary-blue) !important;
        border-color: var(--primary-blue);
    }

    /* Button Styling */
    .nav-links .btn {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        font-size: 1.1rem;
        margin-top: 32px;
        border-radius: 12px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s ease 0.5s;
        box-shadow: 0 10px 20px rgba(28, 91, 166, 0.15);
    }

    .nav-links.active .btn {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        position: relative;
        z-index: 1100;
        background: #f8f9fa;
        border-radius: 8px;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding: 0 0 0 16px;
        border: none;
        display: block;
        min-width: unset;
    }

    .stats-container {
        flex-direction: column;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px 20px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .services-grid, .brands-grid, .testimonials-grid, .pricing-grid, .contact-info-grid, .service-hub-grid, .results-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .brand-col p {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.25rem;
    }
}
