/* ====================================
   erector.pro Landing Page Styles
   AI-First Construction Project Management
   ==================================== */

/* CSS Variables */
:root {
    /* Brand Colors - Blue gradient matching logo */
    --primary: #3B82F6;
    --primary-dark: #1D4ED8;
    --primary-light: #60A5FA;
    --secondary: #06B6D4;
    --accent: #22D3EE;

    /* Neutrals */
    --black: #0A0A0A;
    --gray-900: #1A1A1A;
    --gray-800: #2D2D2D;
    --gray-700: #404040;
    --gray-600: #525252;
    --gray-500: #737373;
    --gray-400: #A3A3A3;
    --gray-300: #D4D4D4;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;

    /* Semantic Colors */
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;

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

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    background-color: var(--black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ====================================
   NAVIGATION
   ==================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-img {
    height: 36px;
    width: auto;
}

.footer-logo {
    height: 32px;
}

.auth-logo-img {
    height: 48px;
    width: auto;
    margin: 0 auto var(--space-md);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-actions {
    display: flex;
    gap: var(--space-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--gray-900);
    padding: var(--space-xl);
    flex-direction: column;
    gap: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-300);
    padding: var(--space-sm) 0;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-300);
}

.btn-ghost:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ====================================
   HERO SECTION
   ==================================== */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: var(--space-4xl);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(6, 182, 212, 0.1), transparent);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-orange {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 50%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-xl);
    align-items: center;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual (Dashboard Preview) */
.hero-visual {
    position: relative;
}

.dashboard-preview {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.preview-dots span:first-child { background: #FF5F57; }
.preview-dots span:nth-child(2) { background: #FFBD2E; }
.preview-dots span:last-child { background: #28CA41; }

.preview-title {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.preview-content {
    padding: var(--space-lg);
}

.ai-insight-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.ai-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.ai-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.ai-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    margin-bottom: var(--space-xs);
    display: block;
}

.ai-message {
    font-size: 0.9375rem;
    color: var(--gray-300);
    margin-bottom: var(--space-md);
}

.ai-actions {
    display: flex;
    gap: var(--space-sm);
}

.ai-btn {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    transition: var(--transition-fast);
}

.ai-btn.accept {
    background: var(--primary);
    color: var(--white);
}

.ai-btn.accept:hover {
    background: var(--primary-dark);
}

.ai-btn.dismiss {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
}

.ai-btn.dismiss:hover {
    background: rgba(255, 255, 255, 0.1);
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.preview-card {
    background: var(--gray-800);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.preview-card .card-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: var(--space-xs);
}

.preview-card .card-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.preview-card .card-trend {
    font-size: 0.75rem;
    font-weight: 600;
}

.preview-card .card-trend.positive {
    color: var(--success);
}

/* ====================================
   LOGOS SECTION
   ==================================== */
.logos-section {
    padding: var(--space-4xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logos-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: var(--space-xl);
}

.logos-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-xl);
    padding: 0 var(--space-xl);
}

.logo-item {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-600);
    letter-spacing: -0.01em;
}

/* ====================================
   PROBLEM SECTION
   ==================================== */
.problem-section {
    padding: var(--space-4xl) 0;
}

.problem-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.strikethrough {
    text-decoration: line-through;
    color: var(--gray-500);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.problem-card {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.problem-icon.red {
    background: rgba(239, 68, 68, 0.1);
}

.problem-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--error);
}

.problem-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.problem-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ====================================
   FEATURES SECTION
   ==================================== */
.features-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, transparent 0%, rgba(59, 130, 246, 0.02) 50%, transparent 100%);
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.feature-card.featured {
    grid-row: span 2;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, var(--gray-900) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--white);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-list li {
    font-size: 0.9375rem;
    color: var(--gray-300);
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ====================================
   AI ADVANTAGE SECTION
   ==================================== */
.ai-section {
    padding: var(--space-4xl) 0;
}

.ai-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.ai-text {
    max-width: 540px;
}

.ai-examples {
    margin: var(--space-xl) 0;
}

.ai-example {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

.ai-example.response {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.example-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    display: block;
    margin-bottom: var(--space-sm);
}

.ai-example.response .example-label {
    color: var(--primary-light);
}

.ai-example p {
    font-size: 0.9375rem;
    color: var(--gray-300);
}

.ai-capabilities {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.capability {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    color: var(--gray-300);
}

.capability svg {
    width: 20px;
    height: 20px;
    stroke: var(--success);
}

/* Chat Interface Visual */
.chat-interface {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--gray-800);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

.chat-header span:first-of-type {
    font-weight: 600;
}

.online-badge {
    font-size: 0.75rem;
    color: var(--success);
    margin-left: auto;
}

.online-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    margin-right: var(--space-xs);
}

.chat-messages {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    max-height: 400px;
    overflow-y: auto;
}

.message {
    max-width: 85%;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
}

.message.user {
    background: var(--gray-700);
    margin-left: auto;
    border-bottom-right-radius: var(--radius-sm);
}

.message.ai {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-bottom-left-radius: var(--radius-sm);
}

.message.ai ul {
    list-style: none;
    margin: var(--space-sm) 0;
}

.message.ai li {
    padding: var(--space-xs) 0;
    color: var(--gray-300);
}

.message.ai strong {
    color: var(--white);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: var(--space-md);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-sm);
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.chat-input {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-input input {
    flex: 1;
    padding: var(--space-md);
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    outline: none;
}

.chat-input input::placeholder {
    color: var(--gray-500);
}

.chat-input input:focus {
    border-color: var(--primary);
}

.chat-input button {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-input button svg {
    width: 20px;
    height: 20px;
    stroke: var(--white);
}

/* ====================================
   COMPARISON SECTION
   ==================================== */
.comparison-section {
    padding: var(--space-4xl) 0;
    background: var(--gray-900);
}

.comparison-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.vs {
    color: var(--gray-500);
    font-weight: 400;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-row.header {
    background: var(--gray-700);
}

.comparison-row > div {
    padding: var(--space-lg);
}

.comparison-feature {
    font-weight: 600;
}

.comparison-legacy {
    color: var(--gray-500);
    text-align: center;
}

.comparison-aux2 {
    color: var(--success);
    text-align: center;
    background: rgba(34, 197, 94, 0.05);
}

.comparison-row.header .comparison-legacy,
.comparison-row.header .comparison-aux2 {
    font-weight: 700;
    color: var(--gray-300);
    background: transparent;
}

/* ====================================
   TESTIMONIALS SECTION
   ==================================== */
.testimonials-section {
    padding: var(--space-4xl) 0;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.testimonial-card.featured {
    grid-row: span 2;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, var(--gray-900) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.testimonial-quote {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-300);
    margin-bottom: var(--space-xl);
}

.testimonial-card.featured .testimonial-quote {
    font-size: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.testimonial-metric {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--success);
}

.metric-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ====================================
   PRICING SECTION
   ==================================== */
.pricing-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--gray-900) 0%, var(--black) 100%);
}

.pricing-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.1) 0%, var(--gray-900) 100%);
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-tier {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.pricing-price {
    margin-bottom: var(--space-md);
}

.pricing-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.pricing-price .period {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.pricing-description {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-bottom: var(--space-xl);
}

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--gray-300);
    padding-left: var(--space-lg);
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 600;
}

/* ====================================
   CTA SECTION
   ==================================== */
.cta-section {
    padding: var(--space-4xl) 0;
    background:
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(59, 130, 246, 0.15), transparent);
}

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

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: var(--space-xl);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ====================================
   FOOTER
   ==================================== */
.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-4xl);
    margin-bottom: var(--space-3xl);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--gray-500);
    max-width: 280px;
    margin-top: var(--space-lg);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
}

.footer-column a {
    display: block;
    font-size: 0.9375rem;
    color: var(--gray-500);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--gray-700);
}

.social-links svg {
    width: 20px;
    height: 20px;
    stroke: var(--gray-400);
}

/* ====================================
   MODAL
   ==================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-500);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--white);
}

.auth-form.hidden {
    display: none;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-logo {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
}

.auth-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.auth-header p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--gray-300);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--white);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-label.terms {
    margin-bottom: var(--space-lg);
}

.checkbox-label.terms span {
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--primary-light);
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.forgot-link {
    font-size: 0.875rem;
    color: var(--primary-light);
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--gray-700);
    border-color: rgba(255, 255, 255, 0.2);
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.auth-switch {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.auth-switch a {
    color: var(--primary-light);
    font-weight: 500;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ====================================
   RESPONSIVE STYLES
   ==================================== */
@media (max-width: 1024px) {
    .hero-content {
        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 {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .ai-content-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .ai-text {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

    .ai-capabilities {
        align-items: center;
    }

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

    .testimonial-card.featured {
        grid-row: auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

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

@media (max-width: 768px) {
    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

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

    .problem-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.featured {
        grid-column: auto;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .comparison-feature {
        background: var(--gray-700);
        font-size: 0.9375rem;
    }

    .comparison-legacy,
    .comparison-aux2 {
        padding: var(--space-md);
    }

    .comparison-row.header {
        display: none;
    }

    .logos-grid {
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .modal {
        padding: var(--space-xl);
    }

    .form-row-2col {
        grid-template-columns: 1fr;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 1.5rem;
        --space-2xl: 2rem;
        --space-3xl: 3rem;
        --space-4xl: 4rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

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