/* ==========================================================================
   TradeFlow AI Marketing Site - Main Stylesheet
   Version: 1.0
   ========================================================================== */

/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
:root {
    /* Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;

    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;

    --accent-400: #34d399;
    --accent-500: #10b981;
    --accent-600: #059669;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --red-500: #ef4444;
    --red-600: #dc2626;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --amber-500: #f59e0b;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1280px;
    --container-padding: 0 24px;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Border radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    overflow-x: hidden;
}

img, video {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-red {
    color: var(--red-500);
}

.text-green {
    color: var(--green-500);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(59, 130, 246, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.btn-ghost:hover {
    background: white;
    border-color: var(--primary-500);
    color: var(--primary-600);
}

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border: 2px solid var(--primary-500);
}

.btn-outline:hover {
    background: var(--primary-500);
    color: white;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 17px;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    color: var(--gray-900);
}

.navbar:not(.scrolled) .logo-text {
    color: white;
}

.logo-ai {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color var(--transition-fast);
}

.navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
    color: var(--primary-600);
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: white;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar:not(.scrolled) .btn-ghost {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.navbar:not(.scrolled) .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: var(--transition-base);
}

.navbar:not(.scrolled) .mobile-menu-btn span {
    background: white;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-500);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-500);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-500);
    top: 50%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* Dashboard Preview */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl), var(--shadow-glow);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.preview-dots span:first-child { background: #ff5f57; }
.preview-dots span:nth-child(2) { background: #ffbd2e; }
.preview-dots span:last-child { background: #28c840; }

.preview-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-500);
}

.preview-content {
    display: flex;
    min-height: 320px;
}

.preview-sidebar {
    width: 60px;
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.sidebar-item:hover,
.sidebar-item.active {
    background: var(--primary-100);
    color: var(--primary-600);
}

.preview-main {
    flex: 1;
    padding: 20px;
}

.kpi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.kpi-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
}

.kpi-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: white;
    font-size: 16px;
}

.kpi-info {
    display: flex;
    flex-direction: column;
}

.kpi-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.kpi-label {
    font-size: 11px;
    color: var(--gray-500);
}

.workflow-preview {
    display: flex;
    gap: 8px;
}

.workflow-stage {
    flex: 1;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    position: relative;
}

.workflow-stage.completed {
    background: var(--accent-100);
    color: var(--accent-600);
}

.workflow-stage.active {
    background: var(--primary-500);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

/* ==========================================================================
   Social Proof
   ========================================================================== */
.social-proof {
    padding: 48px 0;
    background: white;
    border-bottom: 1px solid var(--gray-200);
}

.social-proof-text {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-400);
    opacity: 0.7;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem-section {
    padding: var(--section-padding);
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.problem-card:hover {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 14px;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.6;
}

.problem-cost {
    display: inline-block;
    padding: 6px 12px;
    background: var(--gradient-primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   Solution Section
   ========================================================================== */
.solution-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    padding: 32px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition-base);
}

.solution-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.solution-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.solution-card > p {
    font-size: 15px;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
}

.solution-features i {
    color: var(--accent-500);
    font-size: 12px;
}

/* ==========================================================================
   Industries Section
   ========================================================================== */
.industries-section {
    padding: var(--section-padding);
    background: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.industry-card {
    padding: 28px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition-base);
}

.industry-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.industry-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.industry-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==========================================================================
   AI Features Section
   ========================================================================== */
.ai-section {
    padding: var(--section-padding);
    background: var(--gradient-hero);
    color: white;
}

.ai-section .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.ai-section .section-title {
    color: white;
}

.ai-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ai-feature-card {
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
    position: relative;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.ai-feature-card.featured {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-color: rgba(59, 130, 246, 0.3);
}

.ai-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    padding: 6px 12px;
    background: var(--gradient-primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
}

.ai-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 24px;
    margin-bottom: 20px;
}

.ai-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ai-feature-card > p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ai-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.ai-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.ai-benefits i {
    color: var(--accent-400);
}

.ai-stat {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-stat-value {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Comparison Section
   ========================================================================== */
.comparison-section {
    padding: var(--section-padding);
    background: white;
}

.comparison-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
}

.comparison-table td:nth-child(2) {
    color: var(--red-500);
    font-weight: 500;
}

.tradeflow-cell {
    background: var(--primary-50);
    text-align: center;
    vertical-align: middle;
}

.tradeflow-badge {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.tradeflow-badge .price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-600);
}

.tradeflow-badge .label {
    font-size: 14px;
    color: var(--gray-500);
}

.tradeflow-cell p {
    font-size: 13px;
    color: var(--gray-600);
}

.total-row {
    background: var(--gray-50);
}

.total-row td {
    font-weight: 600;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: var(--section-padding);
    background: var(--gray-50);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 15px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-badge {
    padding: 4px 8px;
    background: var(--accent-500);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
}

.slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: var(--transition-base);
}

.toggle-switch input:checked + .slider {
    background: var(--primary-500);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(24px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    padding: 28px 24px;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-200);
    position: relative;
    transition: var(--transition-base);
}

.pricing-card:hover {
    border-color: var(--primary-300);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-xl), 0 0 0 4px var(--primary-100);
}

.pricing-card.enterprise {
    background: var(--gray-900);
    color: white;
    border-color: var(--gray-900);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.pricing-header p {
    font-size: 14px;
    color: var(--gray-500);
}

.pricing-card.enterprise .pricing-header p {
    color: var(--gray-400);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 28px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-500);
}

.amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

.pricing-card.enterprise .amount {
    color: white;
}

.period {
    font-size: 16px;
    color: var(--gray-500);
}

.custom-price {
    font-size: 36px;
    font-weight: 800;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--gray-700);
}

.pricing-card.enterprise .pricing-features li {
    color: var(--gray-300);
}

.pricing-features li i {
    font-size: 12px;
    color: var(--accent-500);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled i {
    color: var(--gray-300);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
}

.cta-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.cta-form input,
.cta-form select {
    padding: 16px 20px;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition-fast);
}

.cta-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.cta-form input:focus,
.cta-form select:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.cta-form select {
    cursor: pointer;
}

.cta-form select option {
    background: var(--gray-800);
    color: white;
}

.cta-form .btn {
    margin-top: 8px;
    background: white;
    color: var(--primary-600);
}

.cta-form .btn:hover {
    background: var(--gray-100);
}

.cta-note {
    font-size: 13px;
    opacity: 0.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 80px 0 40px;
    background: var(--gray-900);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--gray-300);
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 12px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: none;
    }
}

@media (max-width: 992px) {
    .nav-links, .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .ai-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-feature-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .problem-grid,
    .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ai-features-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-feature-card.featured {
        grid-column: span 1;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .comparison-table th:first-child,
    .comparison-table td:first-child {
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
}

/* ==========================================================================
   Animation Classes
   ========================================================================== */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Add accent green for workflow completed states */
:root {
    --accent-100: #d1fae5;
}
