:root {
    /* Colors */
    --brand: #0066CC;
    --brand-hover: #0055B3;
    --dark: #1D1D1F;
    --surface: #F5F5F7;
    --white: #FFFFFF;
    --text-muted: rgba(29, 29, 31, 0.6);
    --text-light: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.05);
    
    /* Shadows & Effects */
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.04);
    --shadow-float: 0 20px 40px 0 rgba(0, 0, 0, 0.08);
    --squircle: 20px;
    --squircle-lg: 24px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    padding-top: 64px; /* Space for fixed header */
}

@media (min-width: 768px) {
    body {
        padding-top: 80px;
    }
}

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

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

.w-full { width: 100%; text-align: center; }

/* ================== Header ================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.shadow-sm {
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.95);
}

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

@media (min-width: 768px) {
    .header-inner { height: 80px; }
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--brand);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: var(--transition);
}

.logo-wrapper:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
}

/* Desktop Nav */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .desktop-nav { display: flex; }
}

.desktop-nav a {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.desktop-nav a:hover {
    color: var(--dark);
}

.dropdown-wrapper {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
}

.dropdown-wrapper:hover .dropdown-toggle {
    color: var(--dark);
}

.dropdown-wrapper:hover .ph-caret-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 192px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.dropdown-wrapper:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background: var(--surface);
    color: var(--brand);
}

/* Desktop CTA */
.desktop-cta {
    display: none;
    align-items: center;
    gap: 16px;
}

@media (min-width: 768px) {
    .desktop-cta { display: flex; }
}

.btn-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.btn-text:hover { color: var(--brand); }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 8px;
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(0, 102, 204, 0.2);
}

.btn-primary:hover {
    background: var(--brand-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: var(--surface);
    color: var(--dark);
}

.btn-secondary:hover {
    background: #E5E5EA;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn { display: none; }
}

.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.menu-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.mobile-menu-inner {
    padding: 8px 16px 24px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
}

.mobile-menu-inner > a {
    display: block;
    padding: 12px;
    font-weight: 500;
    border-radius: 8px;
}

.mobile-menu-inner > a:hover { background: var(--surface); }

.mobile-dropdown { margin-bottom: 4px; }
.mobile-dropdown summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
    border-radius: 8px;
}
.mobile-dropdown summary::-webkit-details-marker { display: none; }
.mobile-dropdown summary:hover { background: var(--surface); }
.mobile-dropdown[open] summary .ph-caret-down { transform: rotate(180deg); }

.mobile-dropdown-content {
    padding-left: 24px;
    margin-left: 16px;
    border-left: 2px solid var(--border-color);
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-dropdown-content a {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding: 8px;
    display: block;
}

.mobile-dropdown-content a:hover { color: var(--brand); }

.mobile-menu-cta {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ================== General Sections ================== */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 128px 0; } }

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-align: center;
    margin-bottom: 24px;
}
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 768px;
    margin: 0 auto 64px;
}

.bg-surface { background-color: var(--surface); }
.bg-dark { background-color: var(--dark); color: var(--white); }

/* ================== Hero Section ================== */
.hero {
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 48px 0 64px;
}
@media (min-width: 768px) { .hero { padding: 96px 0 128px; } }

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 672px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.6;
}
@media (min-width: 768px) { 
    .hero-subtitle { font-size: 1.25rem; margin-bottom: 64px; }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 64px;
}
@media (min-width: 640px) {
    .hero-buttons { flex-direction: row; margin-bottom: 96px; }
}

.hero-buttons .btn { width: 100%; }
@media (min-width: 640px) { .hero-buttons .btn { width: auto; } }

.hero-mockup-wrapper {
    position: relative;
    max-width: 1024px;
    margin: 0 auto;
}

.hero-mockup-glow {
    position: absolute;
    top: -10%; left: -10%; right: -10%; bottom: -10%;
    background: radial-gradient(circle, rgba(0,102,204,0.05) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    border-radius: 50%;
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-color);
    display: block;
}
@media (min-width: 768px) { .hero-mockup { border-radius: 32px; } }

/* ================== Social Proof ================== */
.social-proof { text-align: center; }
.social-proof h2 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(29,29,31,0.5);
    margin-bottom: 8px;
}
.social-proof p {
    color: rgba(29,29,31,0.4);
    font-size: 0.875rem;
    margin-bottom: 32px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: center;
    justify-items: center;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition);
}
.logo-grid:hover {
    filter: grayscale(0%);
    opacity: 1;
}
@media (min-width: 768px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(6, 1fr); } }

.logo-grid img {
    height: 32px;
    object-fit: contain;
    cursor: pointer;
    transition: var(--transition);
}
@media (min-width: 768px) { .logo-grid img { height: 40px; } }
.logo-grid img:hover { transform: scale(1.05); }

/* ================== Features ================== */
.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 64px;
}
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
    background: var(--surface);
    border-radius: var(--squircle-lg);
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-float);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}
@media (min-width: 768px) { .feature-card p { font-size: 1rem; } }

.features-cta { text-align: center; }
.features-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 600;
}
.features-cta a:hover {
    color: var(--brand-hover);
    text-decoration: underline;
}

/* ================== How It Works ================== */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
}
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.step-line {
    display: none;
    position: absolute;
    top: 96px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: #E5E5EA;
    z-index: 0;
}
@media (min-width: 768px) { .step-line { display: block; } }

.step-card {
    text-align: center;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    margin-bottom: 24px;
    border: 4px solid var(--surface);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.step-icon.white { background: var(--white); color: var(--brand); }
.step-icon.brand { background: var(--brand); color: var(--white); }

.step-img {
    width: 100%;
    max-width: 240px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 32px;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.step-card p {
    color: var(--text-muted);
    font-size: 0.875rem;
    max-width: 320px;
    line-height: 1.6;
}
@media (min-width: 768px) { .step-card p { font-size: 1rem; } }

/* ================== Testimonials ================== */
.testimonial-swiper {
    padding-bottom: 64px;
    overflow: hidden;
}

.testimonial-card {
    background: var(--surface);
    border-radius: var(--squircle);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.stars {
    display: flex;
    gap: 4px;
    color: var(--brand);
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
}
@media (min-width: 768px) { .testimonial-text { font-size: 1.25rem; } }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
}

.author-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 700;
    font-size: 1rem;
}
.author-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.swiper-pagination-bullet-active {
    background-color: var(--brand) !important;
}

/* ================== Stats ================== */
.stats-section .section-title {
    color: rgba(255,255,255,0.9);
    margin-bottom: 48px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; } }

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 8px;
}
@media (min-width: 768px) { .stat-number { font-size: 3.75rem; } }

.stat-desc {
    color: var(--text-light);
    font-size: 0.875rem;
}
@media (min-width: 768px) { .stat-desc { font-size: 1rem; } }

/* ================== Pricing ================== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1152px;
    margin: 0 auto 48px;
    align-items: center;
}
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
    background: var(--white);
    border-radius: var(--squircle);
    padding: 32px;
    border: 1px solid #E5E5EA;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.pricing-card.popular {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    border-radius: var(--squircle-lg);
    box-shadow: var(--shadow-float);
    position: relative;
}
@media (min-width: 1024px) { .pricing-card.popular { transform: translateY(-16px); } }

.popular-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 9999px;
}

.pricing-icon {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.pricing-card.popular .pricing-icon { background: rgba(255,255,255,0.1); }
.pricing-icon img { width: 100%; height: 100%; border-radius: 12px; }

.pricing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-price { margin-bottom: 24px; }
.price-amount { font-size: 2.25rem; font-weight: 700; }
.price-period { color: var(--text-muted); }
.pricing-card.popular .price-period { color: rgba(255,255,255,0.5); }

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    color: rgba(29,29,31,0.7);
}
@media (min-width: 768px) { .pricing-feature { font-size: 1rem; } }
.pricing-card.popular .pricing-feature { color: rgba(255,255,255,0.8); }

.pricing-feature .ph-check-circle {
    color: var(--brand);
    font-size: 1.25rem;
    flex-shrink: 0;
}

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

/* ================== FAQ ================== */
.faq-container {
    max-width: 768px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item[open] summary .ph-caret-down { transform: rotate(180deg); }

.faq-answer {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}
@media (min-width: 768px) { .faq-answer { font-size: 1rem; } }

/* ================== CTA Banner ================== */
.cta-banner-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-banner {
    background: linear-gradient(135deg, #0066CC 0%, #7B61FF 100%);
    border-radius: var(--squircle-lg);
    padding: 40px 24px;
    text-align: center;
    color: var(--white);
    box-shadow: var(--shadow-float);
    position: relative;
    overflow: hidden;
}
@media (min-width: 768px) { .cta-banner { padding: 80px 40px; } }

.cta-banner-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(circle at center, white 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 0;
}

.cta-banner-content {
    position: relative;
    z-index: 10;
}

.cta-banner h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 24px;
}
@media (min-width: 768px) { .cta-banner h2 { font-size: 3rem; } }

.cta-banner p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
    max-width: 672px;
    margin: 0 auto 40px;
}
@media (min-width: 768px) { .cta-banner p { font-size: 1.25rem; } }

.btn-white {
    background: var(--white);
    color: var(--dark);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}
.btn-white:hover {
    background: var(--surface);
    transform: translateY(-2px);
}

/* ================== Footer ================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.6);
    padding-top: 64px;
    padding-bottom: 32px;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-brand { margin-bottom: 24px; }
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.footer-logo .logo-icon { background: var(--brand); color: var(--white); }
.footer-logo .logo-text { color: var(--white); font-weight: 700; font-size: 1.25rem; }

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.footer-email {
    color: var(--white);
    font-size: 0.875rem;
    transition: var(--transition);
}
.footer-email:hover { color: var(--brand); }

.footer-item summary {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.footer-item summary::-webkit-details-marker { display: none; }
@media (min-width: 1024px) {
    .footer-item summary { cursor: default; }
    .footer-item summary .ph-caret-down { display: none; }
}
.footer-item[open] summary .ph-caret-down { transform: rotate(180deg); }

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}
@media (min-width: 1024px) { .footer-links { margin-top: 0; } }
.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #333;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

.footer-copyright { font-size: 0.875rem; }
.footer-socials { display: flex; gap: 24px; }
.footer-socials a {
    color: rgba(255,255,255,0.6);
    font-size: 1.25rem;
    transition: var(--transition);
}
.footer-socials a:hover { color: var(--white); }
