/* ===================================
   SAVVY INVESTING PRO - FINANCIAL PLATFORM
   Color Palette: Brand Colors from Brandbook
   =================================== */

:root {
    /* Savvy Investing Pro Brand Colors - Blue Primary */
    --primary-blue: #2B3990;
    --secondary-blue: #465ABC;
    --accent-blue: #2B3990;
    --dark-blue: #1E2A6B;

    /* Savvy Investing Pro Brand Colors - Orange Accent */
    --accent-orange: #F7941D;
    --secondary-orange: #FCA649;
    --light-gray-brand: #CCCCCC;

    /* Neutral Colors */
    --text-dark: #2D3142;
    --text-gray: #666666;
    --light-gray: #F4F4F9;
    --white: #FFFFFF;
    --border-light: #E5E7EB;

    /* Gradients - Now Blue-based */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-blue) 0%, var(--accent-blue) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--dark-blue) 100%);
    --gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-blue: 0 4px 20px rgba(43, 57, 144, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==================
   RESET & BASE STYLES
   ================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Sections */
section {
    width: 100%;
    position: relative;
}

/* Exceptions for sections that need different height */
.footer {
    min-height: auto;
}

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

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

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}

ul {
    list-style: none;
}

/* ==================
   UTILITY CLASSES
   ================== */

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==================
   NAVIGATION
   ================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
}

.nav-logo {
    height: 45px;
    width: auto;
    cursor: pointer;
    object-fit: contain;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-gray);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    background: transparent;
    border: none;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    transition: all var(--transition-base);
}

.hamburger:hover {
    background: rgba(43, 57, 144, 0.08);
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    position: relative;
}

.hamburger span:nth-child(1) {
    width: 20px;
    align-self: flex-start;
    margin-left: 2px;
}

.hamburger span:nth-child(3) {
    width: 20px;
    align-self: flex-end;
    margin-right: 2px;
}

/* ==================
   BUTTONS
   ================== */

.btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

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

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

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

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

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ==================
   HERO SECTION
   ================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 24px 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: 100px;
    left: -80px;
    animation-delay: 7s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(43, 57, 144, 0.1);
    border: 1px solid rgba(43, 57, 144, 0.2);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 24px;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 500px;
}

.stat-item {
    text-align: left;
}

/* Hide mobile hero visual on desktop */
.hero-visual-mobile {
    display: none;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Dashboard Preview Animation */
.hero-visual {
    perspective: 1000px;
}

.dashboard-preview {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 24px;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
    animation: dashboardFloat 6s ease-in-out infinite;
}

@keyframes dashboardFloat {
    0%, 100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }
    50% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(-10px);
    }
}

.dashboard-preview:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.dashboard-dots {
    display: flex;
    gap: 6px;
}

.dashboard-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-light);
}

.dashboard-dots span:nth-child(1) {
    background: #FF5F57;
}

.dashboard-dots span:nth-child(2) {
    background: #FFBD2E;
}

.dashboard-dots span:nth-child(3) {
    background: #28CA42;
}

.dashboard-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    flex: 1;
    text-align: center;
}

.dashboard-content {
    display: grid;
    gap: 16px;
}

.metric-card {
    background: linear-gradient(135deg, #FFF9F6 0%, #FFFFFF 100%);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    animation: slideInRight 0.6s ease-out forwards;
    opacity: 0;
}

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

.metric-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ==================
   LOGO CLOUD
   ================== */

.logo-cloud {
    padding: 60px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.logo-cloud-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 32px;
}

.logo-slider {
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    gap: 64px;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-gray);
    opacity: 0.5;
    white-space: nowrap;
    transition: opacity var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
}

/* ==================
   SECTION STYLES
   ================== */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(43, 57, 144, 0.1);
    border: 1px solid rgba(43, 57, 144, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================
   FEATURES SECTION
   ================== */

.features {
    padding: 100px 24px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 36px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
    transition: gap var(--transition-base);
}

.feature-link:hover {
    gap: 10px;
}

/* ==================
   AI WORKERS SECTION
   ================== */

.ai-workers {
    padding: 100px 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
}

.workers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.worker-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all var(--transition-base);
}

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

.worker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.worker-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.worker-role {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 16px;
}

.worker-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.worker-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-tag {
    padding: 6px 14px;
    background: rgba(43, 57, 144, 0.1);
    border: 1px solid rgba(43, 57, 144, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ==================
   HOW IT WORKS
   ================== */

.how-it-works {
    padding: 100px 24px;
    background: var(--white);
}

.steps-container {
    display: grid;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    display: grid;
    grid-template-columns: 60px 1fr 120px;
    gap: 32px;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    box-shadow: var(--shadow-blue);
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.step-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

.step-icon svg {
    animation: rotateIcon 20s linear infinite;
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==================
   INTEGRATIONS
   ================== */

.integrations {
    padding: 100px 24px;
    background: linear-gradient(180deg, #FFF9F6 0%, #FFFFFF 100%);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.integration-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.integration-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.integration-card p {
    font-size: 13px;
    color: var(--text-gray);
    font-weight: 500;
}

/* ==================
   PRICING
   ================== */

.pricing {
    padding: 100px 24px;
    background: var(--white);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-gray);
}

.save-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(43, 57, 144, 0.1);
    border-radius: 50px;
    font-size: 12px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-left: 6px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--border-light);
    border-radius: 50px;
    transition: var(--transition-base);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition-base);
}

input:checked + .slider {
    background: var(--gradient-primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all var(--transition-base);
}

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

.pricing-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
    box-shadow: var(--shadow-blue);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.plan-description {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-gray);
}

.price-amount {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 4px;
}

.price-amount-custom {
    font-size: 42px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 16px;
    color: var(--text-gray);
}

.plan-features {
    margin-bottom: 32px;
}

.plan-features li {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-light);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ==================
   TESTIMONIALS
   ================== */

.testimonials {
    padding: 100px 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.author-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--text-gray);
}

/* ==================
   CTA SECTION
   ================== */

.cta-section {
    padding: 120px 24px;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Hidden class for honeypot */
.hidden {
    display: none !important;
    visibility: hidden;
}

/* ==================
   FOOTER
   ================== */

.footer {
    padding: 80px 24px 32px;
    background: var(--text-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    max-width: 200px;
}

.footer-logo-img {
    width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    object-position: left center;
}

.footer-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-base);
}

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

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

.footer-bottom p:first-child {
    margin-bottom: 8px;
}

/* ==================
   RESPONSIVE DESIGN
   ================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 52px;
    }

    .step-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .step-visual {
        display: none;
    }

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

@media (max-width: 768px) {
    /* Rearrange navigation: hamburger left, logo center */
    .nav-container {
        position: relative;
        justify-content: center;
    }

    .hamburger {
        display: flex;
        position: absolute;
        left: 24px;
        z-index: 1001;
    }

    .logo {
        margin: 0 auto;
    }

    .nav-logo {
        height: 40px;
    }

    .nav-actions {
        display: none;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #FFFFFF;
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        padding: 80px 24px;
        z-index: 1000;
        opacity: 0;
        transform: scale(0.95);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .nav-menu.active::before {
        opacity: 1;
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: scale(1);
    }

    .nav-menu li {
        text-align: center;
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }

    .nav-menu.active li {
        animation: slideInMenu 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { animation-delay: 0.15s; }
    .nav-menu.active li:nth-child(3) { animation-delay: 0.2s; }
    .nav-menu.active li:nth-child(4) { animation-delay: 0.25s; }
    .nav-menu.active li:nth-child(5) { animation-delay: 0.3s; }
    .nav-menu.active li:nth-child(6) { animation-delay: 0.35s; }

    @keyframes slideInMenu {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.9);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .nav-link {
        font-size: 24px;
        font-weight: 600;
        padding: 12px 24px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .nav-menu.active .nav-link {
        background: transparent;
    }

    .nav-menu.active .nav-link:hover {
        background: rgba(43, 57, 144, 0.08);
        color: var(--primary-blue);
        transform: translateX(4px);
    }

    .nav-menu.active .nav-link::after {
        display: none;
    }

    /* Hamburger active animation - Modern X */
    .hamburger.active {
        background: rgba(43, 57, 144, 0.1);
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
        width: 24px;
        margin-left: 0;
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        width: 24px;
        margin-right: 0;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    .hero {
        padding: 120px 24px 60px;
    }

    /* Mobile Hero Reordering */
    .hero .container {
        display: flex;
        flex-direction: column;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
    }

    /* Order elements on mobile: badge/title, then visual, then description/button */
    .hero-badge {
        order: 1;
    }

    .hero-title {
        order: 2;
        font-size: 40px;
    }

    /* Hide desktop hero visual on mobile */
    .hero-visual:not(.hero-visual-mobile) {
        display: none !important;
    }

    /* Show mobile hero visual */
    .hero-visual-mobile {
        display: block;
        order: 3;
        margin: 24px 0 16px 0;
        max-width: 100%;
    }

    .hero-visual-mobile .growth-visual {
        max-width: 100%;
    }

    .hero-visual-mobile svg {
        max-width: 100% !important;
        height: auto;
    }

    .hero-description {
        order: 4;
        font-size: 18px;
    }

    .hero-cta {
        order: 5;
        flex-direction: column;
    }

    .hero-stats {
        order: 6;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        max-width: 100%;
        margin-top: 24px;
    }

    .hero-content > p:last-of-type {
        order: 7;
    }

    /* Fix stats display on mobile - keep in one row but smaller */
    .stat-item {
        text-align: center;
        padding: 12px 8px;
        background: rgba(43, 57, 144, 0.05);
        border-radius: 10px;
    }

    .stat-number {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 10px;
        line-height: 1.3;
    }

    /* Hide investment advice disclaimer on mobile */
    .hero-disclaimer {
        display: none !important;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid,
    .workers-grid,
    .integrations-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

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

    .footer-logo {
        max-width: 180px;
    }

    .footer-logo-img {
        max-height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Keep stats in one row even on smallest screens */
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-item {
        padding: 10px 6px;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 9px;
    }
}

/* ==================
   ANIMATIONS
   ================== */

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
    transition-timing-function: ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="flip-left"] {
    transform: perspective(1000px) rotateY(-30deg);
}

[data-aos="flip-left"].aos-animate {
    transform: perspective(1000px) rotateY(0);
}

/* ==================
   UTILITY ANIMATIONS
   ================== */

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scale-up {
    animation: scaleUp 0.6s ease-out;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   PRICING HERO BANNER - NEW DESIGN
   ========================================== */

.pricing-hero {
    position: relative;
    padding: 120px 24px;
    background: linear-gradient(135deg, #FFF9F6 0%, #FFFFFF 50%, #FFF4F0 100%);
    overflow: hidden;
}

.pricing-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.pricing-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: floatShape 20s infinite ease-in-out;
}

.pricing-shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(43, 57, 144, 0.15) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.pricing-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(70, 90, 188, 0.12) 0%, transparent 70%);
    bottom: -50px;
    right: 10%;
    animation-delay: 7s;
}

.pricing-shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 42, 107, 0.1) 0%, transparent 70%);
    top: 50%;
    right: -80px;
    animation-delay: 14s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    75% {
        transform: translate(20px, 30px) scale(1.05);
    }
}

.pricing-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.pricing-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(43, 57, 144, 0.1);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    width: fit-content;
}

.pricing-hero-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.1;
    margin: 0;
}

.pricing-hero-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

.pricing-hero-price {
    margin: 16px 0;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.price-display .price-currency {
    font-size: 32px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-display .price-amount {
    font-size: 80px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.price-display .price-period {
    font-size: 24px;
    color: var(--text-gray);
    font-weight: 600;
}

.price-subtitle {
    font-size: 16px;
    color: var(--text-gray);
    margin: 0;
}

.pricing-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.btn-pricing-cta,
.btn-pricing-onetime {
    width: 100%;
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

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

.pricing-info-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.pricing-note {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.pricing-guarantee {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

.pricing-hero-right {
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.benefits-container {
    max-width: 100%;
}

.benefits-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-gray);
}

.benefits-list svg {
    flex-shrink: 0;
}

/* ==========================================
   TESTIMONIALS CAROUSEL - NEW DESIGN
   ========================================== */

.testimonials-carousel-wrapper {
    position: relative;
    margin-top: 48px;
}

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

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-md);
}

.carousel-btn:hover svg path {
    stroke: white;
}

.carousel-btn svg path {
    stroke: var(--text-dark);
    transition: all var(--transition-base);
}

.carousel-prev {
    left: -60px;
}

.carousel-next {
    right: -60px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-light);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-blue);
    width: 32px;
    border-radius: 5px;
}

.author-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* ==========================================
   WHITE BUTTON STYLE FOR CTA
   ========================================== */

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

.btn-white:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ==========================================
   PAYMENT METHODS SECTION
   ========================================== */

.payment-methods {
    margin-top: 28px;
    padding-top: 20px;
    padding-bottom: 0;
    border-top: 2px solid var(--border-light);
}

.payment-methods-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 12px;
}

.payment-icons {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    padding: 8px 0;
}

.payment-icon {
    width: auto;
    height: 45px;
    min-width: 45px;
    max-width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    transition: all var(--transition-base);
    cursor: pointer;
    overflow: visible;
}

.payment-icon img {
    width: auto;
    height: 100%;
    max-height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.payment-icon:hover {
    transform: scale(1.1);
}

.payment-icon:hover img {
    filter: drop-shadow(0 4px 8px rgba(43, 57, 144, 0.3));
}

.payment-security-note {
    font-size: 10px;
    color: var(--text-gray);
    text-align: center;
    margin: 0;
    padding-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

/* ==========================================
   RESPONSIVE - PRICING HERO & CAROUSEL
   ========================================== */

@media (max-width: 1024px) {
    .pricing-hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .pricing-hero-title {
        font-size: 42px;
    }
    
    .price-display .price-amount {
        font-size: 64px;
    }
    
    .pricing-hero-right {
        padding: 36px;
    }
    
    .testimonials-carousel {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .carousel-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 80px 24px;
    }

    /* Center and enlarge pricing badge */
    .pricing-badge {
        font-size: 16px;
        padding: 10px 24px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }

    /* Center and enlarge pricing title */
    .pricing-hero-title {
        font-size: 40px;
        text-align: center;
    }

    .pricing-hero-description {
        font-size: 16px;
        text-align: center;
    }

    /* Center and enlarge price display */
    .pricing-hero-price {
        text-align: center;
    }

    .price-display {
        justify-content: center;
        margin-bottom: 12px;
    }

    .price-display .price-amount {
        font-size: 72px;
    }

    .price-display .price-currency {
        font-size: 32px;
    }

    .price-display .price-period {
        font-size: 24px;
    }

    .price-subtitle {
        text-align: center;
        font-size: 15px;
    }

    .pricing-hero-right {
        padding: 28px;
    }

    .benefits-title {
        font-size: 20px;
    }

    .benefits-list li {
        font-size: 15px;
    }

    .pricing-hero-left {
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Keep pricing prominent on small mobile */
    .pricing-badge {
        font-size: 14px;
        padding: 8px 20px;
    }

    .pricing-hero-title {
        font-size: 32px;
        text-align: center;
    }

    .pricing-hero-description {
        font-size: 15px;
        text-align: center;
    }

    .price-display .price-amount {
        font-size: 64px;
    }

    .price-display .price-currency {
        font-size: 28px;
    }

    .price-display .price-period {
        font-size: 20px;
    }

    .price-subtitle {
        font-size: 14px;
    }

    .btn-pricing-cta {
        width: 100%;
    }
}


/* Smooth scroll indicator arrow */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    animation: bounceArrow 2s infinite;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    opacity: 0.6;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* Adjust section containers for snap scrolling */
.hero .container,
.features .container,
.ai-workers .container,
.how-it-works .container,
.integrations .container,
.pricing-hero .container,
.testimonials .container,
.cta-section .container {
    width: 100%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    section {
        padding: 100px 24px;
    }

    .hero {
        min-height: 100vh;
        padding: 140px 24px 60px;
    }


    .scroll-indicator {
        bottom: 60px;
    }

    /* Optimize content for mobile forced scrolling */
    .hero-content {
        max-height: none;
        overflow: visible;
    }

    .pricing-hero-grid {
        max-height: none;
        overflow-y: visible;
    }

    .testimonials-carousel {
        max-height: none;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    section {
        padding: 80px 24px;
    }
}

/* Smooth section transitions */
section > .container {
    animation: fadeInSection 0.8s ease-out;
}

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

/* Fix navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

/* Improve pricing hero for full-screen */
.pricing-hero {
    padding: 100px 24px;
}

.pricing-hero-grid {
    height: 100%;
    max-height: 80vh;
}

/* Optimize testimonials for section view */
.testimonials {
    padding: 100px 24px;
}

/* CTA section optimization */
.cta-section {
    padding: 100px 24px;
}

/* Features grid optimization for full height */
.features {
    padding: 100px 24px;
}

.features-grid {
    max-height: 70vh;
    overflow: visible;
}

/* AI Workers optimization */
.ai-workers {
    padding: 100px 24px;
}

/* How it works optimization */
.how-it-works {
    padding: 100px 24px;
}

/* Integrations optimization */
.integrations {
    padding: 100px 24px;
}

/* Logo cloud should not snap */
.logo-cloud {
    scroll-snap-align: none;
    min-height: auto;
    padding: 60px 24px;
}

/* ==========================================
   MOBILE OPTIMIZATIONS FOR SECTION SCROLLING
   ========================================== */

/* Small mobile devices */
@media (max-width: 480px) {
    section {
        padding: 80px 16px;
    }

    .hero {
        min-height: 100vh;
        padding: 120px 16px 40px;
    }
    
    /* Optimize hero content for mobile */
    .hero-content {
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    /* Pricing hero mobile optimization */
    .pricing-hero-grid {
        gap: 40px;
    }
    
    .pricing-hero-left,
    .pricing-hero-right {
        text-align: center;
    }
    
    /* CTA section mobile */
    .cta-title {
        font-size: 32px;
    }
    
    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Testimonials carousel mobile */
    .carousel-dots {
        gap: 6px;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
    section {
        padding: 60px 24px;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 24px 40px;
    }

    /* Allow scrolling within sections for landscape */
    .pricing-hero-grid,
    .features-grid,
    .testimonials-carousel {
        overflow-y: visible;
        max-height: none;
    }
}

/* iPad and tablet portrait */
@media (min-width: 768px) and (max-width: 1024px) {
    section {
        padding: 80px 32px;
    }
    
    .hero {
        padding: 120px 32px 60px;
    }
    
    .pricing-hero-grid {
        gap: 60px;
    }
    
    .section-nav {
        right: 20px;
    }
}

/* Ensure smooth transitions on all devices */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    
    .carousel-btn:hover {
        background: var(--white);
        border-color: var(--border-light);
    }
}

/* ==========================================
   SECTION CONTENT OPTIMIZATION FOR 100VH
   ========================================== */

/* Features Section - Fit perfectly in viewport */
.features {
    padding: 80px 24px 60px;
    overflow: hidden;
}

.features .section-header {
    margin-bottom: 32px;
}

.features .section-title {
    font-size: 36px;
    margin-bottom: 12px;
}

.features .section-description {
    font-size: 16px;
    margin-bottom: 0;
}

.features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-height: none;
    overflow: visible;
}

.feature-card {
    padding: 28px;
    min-height: auto;
}

.feature-icon {
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-description {
    font-size: 14px;
    line-height: 1.5;
}

/* AI Workers Section - Fit perfectly in viewport */
.ai-workers {
    padding: 80px 24px 60px;
    overflow: hidden;
}

.ai-workers .section-header {
    margin-bottom: 32px;
}

.ai-workers .section-title {
    font-size: 36px;
    margin-bottom: 12px;
}

.ai-workers .section-description {
    font-size: 16px;
    margin-bottom: 0;
}

.workers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-height: none;
    overflow: visible;
}

.worker-card {
    padding: 28px;
    min-height: auto;
}

.worker-avatar {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
}

.worker-name {
    font-size: 18px;
    margin-bottom: 6px;
}

.worker-title {
    font-size: 13px;
    margin-bottom: 12px;
}

.worker-description {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.worker-skills {
    gap: 6px;
}

.skill-tag {
    padding: 4px 10px;
    font-size: 11px;
}

/* Pricing Hero - Better vertical centering */
.pricing-hero {
    padding: 100px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.pricing-hero-grid {
    margin: 0 auto;
    align-items: center;
}

/* Mobile optimizations for content fitting */
@media (max-width: 1024px) {
    .features-grid,
    .workers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .feature-card,
    .worker-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .features {
        padding: 100px 24px 40px;
    }

    .ai-workers {
        padding: 100px 24px 40px;
    }

    .features .section-header,
    .ai-workers .section-header {
        margin-bottom: 24px;
    }

    .features .section-title,
    .ai-workers .section-title {
        font-size: 28px;
    }

    .features .section-description,
    .ai-workers .section-description {
        font-size: 14px;
    }

    .features-grid,
    .workers-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-height: none;
        overflow-y: visible;
    }

    .feature-card,
    .worker-card {
        padding: 20px;
    }

    .feature-title,
    .worker-name {
        font-size: 16px;
    }

    .feature-description,
    .worker-description {
        font-size: 13px;
    }

    .pricing-hero {
        padding: 80px 24px;
    }

    .pricing-hero-grid {
        max-height: none;
        overflow-y: visible;
    }

    /* Payment methods responsive */
    .payment-icons {
        gap: 10px;
        flex-wrap: nowrap;
        padding: 6px 0;
    }

    .payment-icon {
        height: 38px;
        min-width: 38px;
        max-width: 55px;
    }

    .payment-icon img {
        max-height: 38px;
    }
}

@media (max-width: 480px) {
    .features,
    .ai-workers {
        padding: 90px 16px 30px;
    }

    .features .section-title,
    .ai-workers .section-title {
        font-size: 24px;
    }

    .features-grid,
    .workers-grid {
        gap: 12px;
        max-height: none;
    }

    .feature-card,
    .worker-card {
        padding: 16px;
    }
}

/* How It Works - Fit in viewport */
.how-it-works {
    padding: 80px 24px 60px;
}

.how-it-works .section-header {
    margin-bottom: 40px;
}

.steps-container {
    max-height: none;
    overflow: visible;
}

.step-card {
    padding: 32px;
}

.step-number {
    width: 56px;
    height: 56px;
    font-size: 24px;
    margin-bottom: 20px;
}

.step-title {
    font-size: 20px;
    margin-bottom: 10px;
}

.step-description {
    font-size: 14px;
    line-height: 1.5;
}

/* Integrations - Fit in viewport */
.integrations {
    padding: 80px 24px 60px;
}

.integrations .section-header {
    margin-bottom: 32px;
}

.integrations-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-height: none;
    overflow: visible;
}

.integration-card {
    padding: 24px;
}

.integration-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
}

.integration-name {
    font-size: 16px;
    margin-bottom: 6px;
}

.integration-category {
    font-size: 12px;
}

/* Testimonials - Fit in viewport */
.testimonials {
    padding: 80px 24px 60px;
}

.testimonials .section-header {
    margin-bottom: 32px;
}

.testimonials-carousel-wrapper {
    max-height: none;
    overflow: visible;
}

.testimonial-card {
    padding: 28px;
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* CTA Section - Better centering */
.cta-section {
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 17px;
    margin-bottom: 28px;
}

/* Mobile optimizations for other sections */
@media (max-width: 768px) {
    .how-it-works {
        padding: 100px 24px 40px;
    }

    .steps-container {
        max-height: none;
        overflow-y: visible;
    }

    .step-card {
        padding: 24px;
    }

    .integrations {
        padding: 100px 24px 40px;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-height: none;
        overflow-y: visible;
    }

    .integration-card {
        padding: 20px;
    }

    .testimonials {
        padding: 100px 24px 40px;
    }

    .testimonials-carousel-wrapper {
        max-height: none;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .how-it-works,
    .integrations,
    .testimonials {
        padding: 90px 16px 30px;
    }

    .steps-container,
    .integrations-grid,
    .testimonials-carousel-wrapper {
        max-height: none;
    }

    .step-card,
    .integration-card,
    .testimonial-card {
        padding: 16px;
    }

    .integrations-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 28px;
    }

    /* Payment methods mobile */
    .payment-methods-label {
        font-size: 11px;
    }

    .payment-icons {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 4px 0;
    }

    .payment-icon {
        height: 32px;
        min-width: 32px;
        max-width: 48px;
    }

    .payment-icon img {
        max-height: 32px;
    }

    .payment-security-note {
        font-size: 11px;
        flex-direction: column;
        gap: 4px;
    }

    .nav-logo {
        height: 35px;
    }

    .footer-logo {
        max-width: 160px;
    }

    .footer-logo-img {
        max-height: 45px;
    }
}

/* ==================
   FAQ SECTION
   ================== */

.faq-section {
    padding: 120px 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(43, 57, 144, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-base);
}

.faq-question:hover {
    color: var(--primary-blue);
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--primary-blue);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 24px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ==================
   CONTACT SECTION
   ================== */

.contact-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #F8F9FD 0%, #FFFFFF 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--text-dark);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(43, 57, 144, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-info-item a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
}

.contact-info-item a:hover {
    color: var(--secondary-blue);
}

.contact-info-item p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 80px 24px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 60px 16px;
    }

    .contact-form {
        padding: 24px 16px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
    }

    .contact-info-item h4 {
        font-size: 16px;
    }
}
