/* ========================================
   Canvas Ninja Landing Page
   Design System Tokens & Styles
   ======================================== */

/* Design Tokens - Matching popup.css */
:root {
    /* Colors */
    --background: #fafafa;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-foreground: #0f172a;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Accent Colors */
    --accent: #0052ff;
    --accent-secondary: #4d7cff;
    --accent-foreground: #ffffff;
    --accent-gradient: linear-gradient(135deg, #0052ff, #4d7cff);
    --accent-gradient-horizontal: linear-gradient(to right, #0052ff, #4d7cff);
    --accent-gradient-vibrant: linear-gradient(135deg, #0052ff 0%, #4d7cff 50%, #9a88f9 100%);

    /* Status Colors */
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --error: #ef4444;
    --error-light: #fee2e2;

    /* Typography */
    --font-display: "Calistoga", serif;
    --font-body: "Poppins", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

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

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-accent: 0 4px 14px rgba(0, 82, 255, 0.25);
    --shadow-accent-lg: 0 8px 24px rgba(0, 82, 255, 0.3);

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 150ms;
    --duration-normal: 200ms;
    --duration-slow: 300ms;
    --transition-base: all var(--duration-normal) var(--ease-in-out);
    --transition-transform: transform var(--duration-normal) var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
}

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

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

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

.logo-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    color: var(--foreground);
}

.logo-text .accent {
    color: var(--accent);
}

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

.nav-links a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--muted-foreground);
    transition: var(--transition-base);
}

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

.nav-cta {
    padding: var(--space-2) var(--space-4) !important;
    font-size: var(--text-sm) !important;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-xl);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent-lg);
}

.btn-secondary {
    background: var(--card);
    color: var(--foreground);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: var(--card);
    color: var(--accent);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-2xl);
}

.full-width {
    width: 100%;
}

/* ========================================
   Section Styles
   ======================================== */
.section-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--space-24) var(--space-6);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--accent);
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.1), rgba(77, 124, 255, 0.1));
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    line-height: 1.6;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ========================================
   Hero Section
   ======================================== */
.hero {
    padding-top: 100px;
    background: linear-gradient(180deg, var(--card) 0%, var(--background) 100%);
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--success-light);
    color: var(--success);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-6);
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    line-height: 1.1;
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.hero-actions {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    flex-wrap: wrap;
}

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

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    color: var(--accent);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Placeholders */
.image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: linear-gradient(135deg, var(--muted) 0%, var(--border-light) 100%);
    border: 2px dashed var(--border);
    border-radius: var(--radius-xl);
    color: var(--muted-foreground);
    padding: var(--space-8);
    min-height: 200px;
}

.image-placeholder i {
    font-size: var(--text-3xl);
    opacity: 0.5;
}

.image-placeholder span {
    font-size: var(--text-sm);
    font-weight: 500;
}

.placeholder-size {
    font-size: var(--text-xs) !important;
    opacity: 0.7;
}

.hero-placeholder {
    width: 100%;
    max-width: 600px;
    min-height: 500px;
}

/* ========================================
   Activity Log Comparison (Hero)
   ======================================== */
.log-comparison {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 500px;
}

.log-card {
    position: absolute;
    width: 320px;
    background: var(--card);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    transition: transform 0.4s var(--ease-out), box-shadow 0.3s ease;
}

.log-card.bad {
    border-color: rgba(239, 68, 68, 0.3);
    top: 0;
    left: 0;
    transform: rotate(-3deg);
    z-index: 1;
}

.log-card.bad:hover {
    transform: rotate(-3deg) translateY(-5px);
    box-shadow: var(--shadow-2xl);
}

.log-card.good {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: var(--shadow-xl), 0 0 40px rgba(16, 185, 129, 0.2);
    bottom: 0;
    right: 0;
    transform: rotate(3deg);
    z-index: 2;
}

.log-card.good:hover {
    transform: rotate(3deg) translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-2xl), 0 0 50px rgba(16, 185, 129, 0.3);
}

.log-header {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
}

.log-header.bad {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: var(--error);
}

.log-header.good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: var(--success);
}

.log-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--foreground);
    border-bottom: 1px solid var(--border-light);
}

.log-title i {
    color: var(--muted-foreground);
}

.log-entries {
    padding: var(--space-3) var(--space-4);
}

.log-entry {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-2) 0;
    font-size: var(--text-xs);
    border-bottom: 1px solid var(--border-light);
}

.log-entry:last-child {
    border-bottom: none;
}

.log-time {
    color: var(--muted-foreground);
    font-family: var(--font-mono);
    min-width: 90px;
}

.log-event {
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.log-entry.warning .log-event {
    color: var(--error);
    font-weight: 500;
}

.log-entry.warning .log-event i {
    color: var(--warning);
}

.log-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-6) var(--space-4);
    color: var(--success);
    gap: var(--space-2);
}

.log-empty i {
    font-size: var(--text-2xl);
    opacity: 0.7;
}

.log-empty span {
    font-size: var(--text-sm);
    font-weight: 500;
}

.log-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 600;
}

.log-summary.bad {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: var(--error);
}

.log-summary.good {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: var(--success);
}

/* ========================================
   Problem Section
   ======================================== */
.problem-section {
    background: var(--card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.section-badge.warning {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    color: var(--error);
}

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

.problem-card {
    padding: var(--space-6);
    background: var(--background);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    text-align: center;
}

.problem-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--error);
    font-size: var(--text-xl);
}

.problem-card h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.problem-card p {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--background);
}

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

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

/* Video Container */
.video-container {
    max-width: 900px;
    margin: 0 auto var(--space-12);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    background: var(--foreground);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-2xl);
}

.video-caption {
    text-align: center;
    color: var(--muted-foreground);
    font-size: var(--text-sm);
    margin-top: var(--space-4);
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
}

.highlight {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.highlight:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.highlight-text p {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

.feature-card {
    background: var(--card);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border);
}

.feature-image {
    padding: var(--space-4);
    padding-bottom: 0;
}

.feature-image .image-placeholder {
    min-height: 180px;
    border-radius: var(--radius-xl);
}

.feature-content {
    padding: var(--space-6);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.feature-description {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    line-height: 1.6;
}

.feature-card.large {
    display: flex;
    flex-direction: column;
}

.feature-card.large .feature-image .image-placeholder {
    min-height: 220px;
}

.feature-card.large .feature-content {
    flex: 1;
}

.feature-card.large .feature-description {
    margin-bottom: var(--space-4);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--foreground);
    padding: var(--space-2) 0;
}

.feature-list li i {
    color: var(--success);
    font-size: var(--text-sm);
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works {
    background: var(--card);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-6);
}

.step {
    flex: 1;
    max-width: 400px;
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: white;
    font-family: var(--font-display);
    font-size: var(--text-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    box-shadow: var(--shadow-accent);
}

.step-image {
    margin-bottom: var(--space-6);
}

.step-image .image-placeholder {
    min-height: 180px;
}

.step-title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.step-description {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    color: var(--border);
    font-size: var(--text-2xl);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials {
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    align-items: start;
}

.testimonial-card {
    background: var(--card);
    border-radius: var(--radius-2xl);
    padding: var(--space-6);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

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

.testimonial-card.featured {
    border-color: var(--accent);
    box-shadow: var(--shadow-accent);
    transform: scale(1.02);
}

.testimonial-card.featured:hover {
    transform: scale(1.02) translateY(-2px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    display: block;
    font-weight: 600;
    font-size: var(--text-sm);
}

.testimonial-school {
    font-size: var(--text-xs);
    color: var(--muted-foreground);
}

.testimonial-rating {
    color: var(--warning);
    font-size: var(--text-sm);
}

.testimonial-text {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    line-height: 1.7;
    font-style: italic;
}

/* ========================================
   Pricing Section
   ======================================== */
.pricing {
    background: var(--card);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    align-items: start;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--background);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    border: 1px solid var(--border-light);
    position: relative;
    transition: var(--transition-base);
}

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

.pricing-card.featured {
    background: var(--card);
    border-color: var(--accent);
    box-shadow: var(--shadow-accent-lg);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-2) var(--space-4);
    background: var(--accent-gradient);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-light);
}

.pricing-name {
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-1);
    margin-bottom: var(--space-2);
}

.price-original {
    font-size: var(--text-lg);
    color: var(--muted-foreground);
    text-decoration: line-through;
}

.price-amount {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--foreground);
}

.price-period {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

.pricing-description {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

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

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: var(--foreground);
}

.pricing-features li i {
    width: 20px;
    text-align: center;
}

.pricing-features li .fa-check {
    color: var(--success);
}

.pricing-features li .fa-xmark {
    color: var(--muted-foreground);
}

.pricing-features li.disabled {
    color: var(--muted-foreground);
}

.pricing-note {
    text-align: center;
    font-size: var(--text-xs);
    color: var(--success);
    margin-top: var(--space-3);
    font-weight: 500;
}

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

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
}

.faq-item {
    background: var(--card);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

.faq-item h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--foreground);
}

.faq-item p {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: var(--accent-gradient-vibrant);
    color: white;
    overflow: hidden;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-20) var(--space-6);
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-lg);
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

.cta-actions {
    margin-bottom: var(--space-8);
    display: flex;
    justify-content: center;
}

.cta-trust {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    opacity: 0.9;
}


/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--foreground);
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-6);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-16);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo .logo-text {
    color: white;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-6);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

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

.footer-column h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: white;
}

.footer-column a {
    display: block;
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-2) 0;
    transition: var(--transition-base);
}

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

.footer-bottom {
    padding-top: var(--space-8);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-container,
    .cta-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .log-comparison {
        max-width: 650px;
        height: 340px;
        margin: 0 auto;
    }

    .log-card {
        width: 300px;
    }

    .log-card.bad {
        top: 20px;
        left: 0;
    }

    .log-card.good {
        top: 40px;
        right: 0;
        bottom: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .cta-trust {
        justify-content: center;
    }

    .cta-actions {
        display: flex;
        justify-content: center;
    }

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

    .features-grid.two-col {
        grid-template-columns: 1fr;
    }

    .feature-highlights {
        flex-direction: column;
        align-items: center;
    }

    .highlight {
        width: 100%;
        max-width: 350px;
    }

    .problem-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        padding: var(--space-4) 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
}

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

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .log-comparison {
        height: 580px;
        max-width: 300px;
        margin: 0 auto;
    }

    .log-card {
        width: 280px;
        left: 50%;
        transform: translateX(-50%) rotate(-2deg);
    }

    .log-card.bad {
        top: 0;
    }

    .log-card.good {
        top: auto;
        bottom: 0;
        transform: translateX(-50%) rotate(2deg);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .cta-title {
        font-size: var(--text-3xl);
    }

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

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

    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }

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

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

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

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

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

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }

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

    .btn-lg {
        width: 100%;
    }

    .cta-trust {
        flex-direction: column;
        align-items: center;
    }
}

/* ========================================
   Legal Pages (Privacy & Terms)
   ======================================== */
.legal-section {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--background);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-16) var(--space-6);
}

.legal-header {
    text-align: center;
    margin-bottom: var(--space-12);
    padding-bottom: var(--space-8);
    border-bottom: 1px solid var(--border-light);
}

.legal-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    color: var(--foreground);
    margin-bottom: var(--space-4);
}

.legal-updated {
    font-size: var(--text-sm);
    color: var(--muted-foreground);
}

.legal-content {
    color: var(--foreground);
}

.legal-block {
    margin-bottom: var(--space-10);
}

.legal-block h2 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.legal-block h3 {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--foreground);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.legal-block p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--muted-foreground);
    margin-bottom: var(--space-4);
}

.legal-block ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.legal-block ul li {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--muted-foreground);
    margin-bottom: var(--space-2);
}

.legal-block a {
    color: var(--accent);
    text-decoration: underline;
    transition: var(--transition-base);
}

.legal-block a:hover {
    color: var(--accent-secondary);
}

.permissions-table {
    overflow-x: auto;
    margin: var(--space-4) 0;
}

.permissions-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-sm);
    background: var(--card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.permissions-table th,
.permissions-table td {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.permissions-table th {
    background: var(--muted);
    font-weight: 600;
    color: var(--foreground);
}

.permissions-table td {
    color: var(--muted-foreground);
}

.permissions-table tr:last-child td {
    border-bottom: none;
}

.permissions-table code {
    background: var(--muted);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--accent);
}

.summary-block {
    background: linear-gradient(135deg, rgba(0, 82, 255, 0.05), rgba(77, 124, 255, 0.05));
    border: 1px solid rgba(0, 82, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
}

.summary-block h2 {
    border-bottom-color: var(--accent);
}

.warning-block {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-5);
    margin: var(--space-4) 0;
}

.warning-block p {
    color: var(--error);
    margin-bottom: var(--space-3);
}

.warning-block ul {
    margin: 0;
}

.warning-block ul li {
    color: var(--foreground);
}

.acceptance-block {
    background: var(--muted);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    text-align: center;
    margin-top: var(--space-8);
}

.acceptance-block p {
    color: var(--foreground);
    margin: 0;
    font-size: var(--text-sm);
}

@media (max-width: 768px) {
    .legal-title {
        font-size: var(--text-3xl);
    }

    .legal-container {
        padding: var(--space-12) var(--space-4);
    }

    .permissions-table {
        margin: var(--space-4) calc(-1 * var(--space-4));
        padding: 0 var(--space-4);
    }
}
