/* ========================================
   Global Styles & Reset
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Core */
    --brand-primary: #1F3A8A;
    --brand-primary-soft: #3B5CCC;
    --brand-primary-dark: #162D6B;
    
    /* Accent (Links / Buttons / Tech Feel) */
    --accent-default: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-soft: #DBEAFE;
    
    /* CTA Highlight (Limited Use) */
    --cta-default: #38BDF8;
    --cta-hover: #0EA5E9;
    --cta-text: #FFFFFF;
    
    /* Legacy aliases for compatibility */
    --primary-color: #2563EB;
    --primary-dark: #162D6B;
    --primary-light: #3B5CCC;
    
    /* Neutral / Background */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --bg-accent: #DBEAFE;
    --neutral-0: #FFFFFF;
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-300: #D1D5DB;
    
    /* Text Colors */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #6B7280;
    --text-inverse: #FFFFFF;
    
    /* Border Colors */
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    
    /* Accent Colors */
    --accent-green: #10B981;
    --accent-purple: #8B5CF6;
    --accent-orange: #F59E0B;
    --accent-red: #EF4444;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-brand: 0 10px 30px rgba(31, 58, 138, 0.2);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-medium);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

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

.nav-brand .logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.nav-menu > .nav-item {
    position: relative;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
    display: block;
}

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

.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

.dropdown-toggle.active {
    color: var(--primary-color);
    position: relative;
}

.dropdown-toggle.active::before {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 220px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

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

.dropdown-menu a {
    padding: 12px 24px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 28px;
}

.btn-nav {
    background: var(--cta-default);
    color: var(--cta-text) !important;
    padding: 10px 24px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.4);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    padding: 160px 0 120px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

/* Compact hero for blog and customer stories pages */
.hero.hero-compact {
    padding: 120px 0 60px;
}

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

.hero.hero-compact .hero-subtitle {
    font-size: 18px;
    margin-bottom: 16px;
}

.hero.hero-compact .hero-description {
    font-size: 16px;
    margin-bottom: 24px;
}

/* Platform pages - light background for logo visibility */
.hero.hero-platform {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero.hero-platform .hero-badge {
    background: var(--accent-soft);
    color: var(--brand-primary);
    border: 1px solid rgba(31, 58, 138, 0.2);
}

.hero.hero-platform .hero-title {
    color: var(--text-primary);
}

.hero.hero-platform .hero-subtitle {
    color: var(--text-secondary);
}

.hero.hero-platform .hero-description {
    color: var(--text-muted);
}

.hero.hero-platform .feature-item {
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    backdrop-filter: none;
}

.hero.hero-platform .feature-item:hover {
    background: var(--bg-accent);
    border-color: rgba(31, 58, 138, 0.3);
    box-shadow: var(--shadow-md);
}

.hero.hero-platform .feature-item i {
    color: var(--accent-green);
}

.hero.hero-platform .feature-item span {
    color: var(--text-secondary);
}

.hero.hero-platform .btn-primary {
    background: var(--brand-primary);
    box-shadow: 0 10px 30px rgba(31, 58, 138, 0.3);
}

.hero.hero-platform .btn-primary:hover {
    background: var(--brand-primary-dark);
}

.hero.hero-platform .btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    backdrop-filter: none;
}

.hero.hero-platform .btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
}

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

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--text-inverse);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FFFFFF 0%, #94D8E8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    font-weight: 500;
}

.hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 48px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.feature-item i {
    color: var(--cta-default);
    font-size: 20px;
    margin-top: 2px;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

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

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--cta-default);
    color: white;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Secondary button for light backgrounds */
.btn-secondary-light {
    background: #FFFFFF;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary-light:hover {
    background: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-top: 16px;
}

.section-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 16px auto 0;
    line-height: 1.8;
}

/* ========================================
   When Needed Section
   ======================================== */
.when-needed {
    background: var(--bg-secondary);
}

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

.card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.card:hover {
    background: var(--bg-accent);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-soft));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.card-content h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.card-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   What We Automate Section
   ======================================== */
.what-we-automate {
    background: white;
}

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

.automation-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.automation-item:hover {
    background: var(--bg-accent);
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.automation-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-soft));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.automation-icon i {
    font-size: 32px;
    color: white;
}

.automation-item h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.automation-item p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   Use Cases Section
   ======================================== */
.use-cases {
    background: var(--bg-secondary);
}

.use-case-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 32px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-button:hover {
    background: var(--bg-accent);
    border-color: var(--primary-color);
}

.tab-button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.use-case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.use-case-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-green));
    transform: translateX(-4px);
    transition: var(--transition-base);
}

.use-case-card:hover::before {
    transform: translateX(0);
}

.use-case-card:hover {
    background: var(--bg-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.use-case-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.use-case-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
}

.use-case-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.use-case-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 48px;
    padding: 20px 24px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
}

.use-case-note i {
    color: var(--accent-green);
    font-size: 20px;
    margin-top: 2px;
}

.use-case-note p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   How We Work Section
   ======================================== */
.how-we-work {
    background: white;
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-primary-soft));
}

.process-step {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-soft));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    box-shadow: var(--shadow-brand);
    z-index: 1;
}

.step-content {
    flex: 1;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.step-content:hover {
    background: var(--bg-accent);
    border-color: rgba(0, 102, 255, 0.3);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.step-content h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.step-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.step-content ul {
    list-style: none;
    padding: 0;
}

.step-content li {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.step-content li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-color);
    font-size: 20px;
}

/* ========================================
   Deliverables Section
   ======================================== */
.deliverables {
    background: var(--bg-secondary);
}

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

.deliverable-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.deliverable-item:hover {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.deliverable-item i {
    font-size: 40px;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.deliverable-item h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.deliverable-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========================================
   Platforms Section
   ======================================== */
.platforms {
    background: white;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.platform-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.platform-card:hover {
    background: var(--bg-accent);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.platform-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f2ff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    padding: 20px;
    transition: all 0.3s;
}

.platform-card:hover .platform-logo {
    background: linear-gradient(135deg, #e8f2ff 0%, #dbeafe 100%);
    transform: scale(1.05);
}

.platform-logo i {
    font-size: 36px;
    color: #3b82f6;
}

.platform-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.platform-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

.platform-link {
    text-align: center;
    padding: 24px;
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    border-radius: 12px;
}

.platform-link p {
    color: var(--text-secondary);
    font-size: 15px;
}

.platform-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
}

.platform-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ========================================
   FAQ Section
   ======================================== */
.faq {
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: var(--shadow-md);
}

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

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

.faq-question i {
    transition: var(--transition-base);
    color: var(--text-muted);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 28px 24px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
}

/* ========================================
   Final CTA Section
   ======================================== */
.final-cta {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}

.final-cta .cta-content h2,
.final-cta .cta-content p {
    color: var(--text-inverse);
}

.final-cta .cta-content p {
    opacity: 0.9;
}

.cta-section {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

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

/* ========================================
   Industries Page Styles
   ======================================== */
.key-outcomes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 48px 0;
}

.outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition-base);
}

.outcome-item:hover {
    background: var(--bg-accent);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.outcome-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.outcome-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
}

.benefit-item i {
    font-size: 24px;
    color: var(--accent-green);
    margin-top: 4px;
    flex-shrink: 0;
}

.benefit-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

.solution-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition-base);
}

.solution-card:hover {
    background: var(--bg-accent);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-fast);
}

.link-arrow:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.link-arrow i {
    transition: var(--transition-fast);
}

.experience-items {
    display: grid;
    gap: 24px;
}

.experience-item {
    padding: 32px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition-base);
}

.experience-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.experience-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.experience-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.value-props {
    display: grid;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.value-prop-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: var(--transition-base);
}

.value-prop-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-prop-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-soft));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-prop-icon i {
    font-size: 24px;
    color: white;
}

.value-prop-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-prop-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   Platform Icon Cards (Industries Pages)
   ======================================== */
.platform-icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.platform-icon-card:hover img {
    transform: scale(1.1);
}

.platform-icon-card img {
    transition: transform 0.3s ease;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--brand-primary-dark);
    padding: 64px 0 32px;
    border-top: none;
}

.footer-brand h3,
.footer-column h4 {
    color: var(--text-inverse);
}

.footer-brand p,
.footer-column a,
.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column a:hover {
    color: var(--text-inverse);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: var(--cta-default);
}

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

.footer-brand h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-inverse);
}

.footer-brand p {
    color: #FFFFFF;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--cta-default);
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Nav menu handled by mobile-menu.js and mobile-responsive.css */

    .hero {
        padding: 120px 0 80px;
    }

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

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-features {
        max-width: 100%;
    }

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

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

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

    section {
        padding: 60px 0;
    }

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

    .automation-types {
        grid-template-columns: 1fr;
    }

    .use-case-tabs {
        flex-direction: column;
    }

    .tab-button {
        width: 100%;
    }

    .use-case-list {
        grid-template-columns: 1fr;
    }

    .process-timeline::before {
        display: none;
    }

    .process-step {
        flex-direction: column;
        gap: 16px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

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

    .platform-cards {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

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

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

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

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

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

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

/* ========================================
   Contact Form Section
   ======================================== */
.contact-section {
    background: white;
}

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

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

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

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

.form-consent {
    margin-top: 32px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* Form Messages */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease-out;
}

.form-message.success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.form-message.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.form-message i {
    font-size: 20px;
}

.form-message .close-message {
    margin-left: auto;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.form-message .close-message:hover {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 32px 24px;
    }
}