/* ===== SellerLegend Website Styles ===== */
/* Modern Dark Theme - Inspired by Helium10 */

/* === CSS Variables (Design System) === */
:root {
    /* Brand Colors - Dark Theme */
    --primary-orange: #FF9900;
    --primary-orange-hover: #FFB347;
    --primary-orange-dark: #E68A00;
    --accent-blue: #00D4FF;
    --accent-purple: #8B5CF6;
    --accent-green: #10B981;
    --accent-red: #EF4444;

    /* Dark Backgrounds */
    --bg-darkest: #0A0E17;
    --bg-darker: #0F1419;
    --bg-dark: #151C28;
    --bg-card: #1A2332;
    --bg-card-hover: #1F2937;
    --bg-elevated: #242F3F;

    /* Glass Effect Colors */
    --glass-bg: rgba(26, 35, 50, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.05);

    /* Text Colors */
    --text-white: #FFFFFF;
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dark: #1E293B;

    /* Legacy compatibility - Updated to use orange theme */
    --primary-blue: #FF9900;
    --secondary-blue: #FFB347;
    --dark-navy: #1A2332;
    --darker-navy: #0F1419;
    --light-blue: rgba(255, 153, 0, 0.1);
    --light-gray: #151C28;
    --white: #FFFFFF;
    --success-green: #10B981;

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

    /* Font Sizes */
    --font-h1: 3.75rem;
    --font-h2: 2.75rem;
    --font-h3: 1.5rem;
    --font-body: 1rem;
    --font-large: 1.25rem;
    --font-small: 0.875rem;

    /* Spacing */
    --section-padding: 6rem 2rem;
    --card-padding: 2rem;
    --gap: 2rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 24px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows - Dark Theme */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-orange: 0 0 40px rgba(255, 153, 0, 0.3);
    --shadow-glow-blue: 0 0 40px rgba(0, 212, 255, 0.3);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF9900 0%, #FFB347 100%);
    --gradient-dark: linear-gradient(180deg, #0A0E17 0%, #151C28 100%);
    --gradient-card: linear-gradient(180deg, rgba(26, 35, 50, 0.8) 0%, rgba(15, 20, 25, 0.9) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(255, 153, 0, 0.15) 0%, transparent 70%);

    /* Component-specific backgrounds */
    --topbar-bg: linear-gradient(135deg, #0d1117 0%, #151C28 100%);
    --navbar-bg: rgba(10, 14, 23, 0.85);
    --navbar-bg-scrolled: rgba(10, 14, 23, 0.95);
    --sticky-cta-bg: rgba(10, 14, 23, 0.95);
}

/* === Light Theme Overrides === */
[data-theme="light"] {
    /* Brand Colors - adjusted for contrast on light backgrounds */
    --primary-orange: #E08600;
    --primary-orange-hover: #CC7A00;
    --primary-orange-dark: #B86E00;
    --accent-blue: #0095B3;
    --accent-purple: #7C3AED;
    --accent-green: #059669;
    --accent-red: #DC2626;

    /* Light Backgrounds */
    --bg-darkest: #FFFFFF;
    --bg-darker: #F8FAFC;
    --bg-dark: #F1F5F9;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --bg-elevated: #F1F5F9;

    /* Glass Effect - Light */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-highlight: rgba(15, 23, 42, 0.03);

    /* Text Colors */
    --text-white: #0F172A;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-dark: #F8FAFC;

    /* Legacy compatibility */
    --primary-blue: #E08600;
    --secondary-blue: #CC7A00;
    --dark-navy: #FFFFFF;
    --darker-navy: #F8FAFC;
    --light-blue: rgba(224, 134, 0, 0.06);
    --light-gray: #F1F5F9;

    /* Shadows - softer for light theme */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.05);
    --shadow-glow-orange: 0 0 30px rgba(224, 134, 0, 0.12);
    --shadow-glow-blue: 0 0 30px rgba(0, 149, 179, 0.12);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #E08600 0%, #FF9900 100%);
    --gradient-dark: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(224, 134, 0, 0.05) 0%, transparent 70%);

    /* Component-specific backgrounds */
    --topbar-bg: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
    --navbar-bg: rgba(255, 255, 255, 0.85);
    --navbar-bg-scrolled: rgba(255, 255, 255, 0.95);
    --sticky-cta-bg: rgba(255, 255, 255, 0.95);
}

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

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-white);
}

h1 {
    font-size: var(--font-h1);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: var(--font-h2);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--font-h3);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-darkest);
    box-shadow: var(--shadow-md), var(--shadow-glow-orange);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(255, 153, 0, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--glass-highlight);
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

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

.btn-outline:hover {
    background: var(--primary-orange);
    color: var(--bg-darkest);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: var(--font-large);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
}

.btn-ghost:hover {
    color: var(--text-white);
}

/* === Secondary Navigation (Topbar) === */
.topbar {
    background: var(--topbar-bg);
    border-bottom: 1px solid rgba(255, 153, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.topbar-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0.625rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.topbar-links {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.topbar-links li {
    display: flex;
    align-items: center;
}

.topbar-links li:not(:last-child)::after {
    content: '|';
    color: rgba(255, 255, 255, 0.4);
    margin: 0 1rem;
    font-size: 0.75rem;
}

.topbar-links li a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.topbar-links li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 36px; /* Height of topbar */
    left: 0;
    right: 0;
    background: var(--navbar-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--navbar-bg-scrolled);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.nav-logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.logo-text .highlight {
    color: var(--primary-orange);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-orange);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

/* Hide mobile CTA on desktop */
.mobile-cta-wrapper {
    display: none;
}

.nav-signin {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
    margin-right: 8px;
}

.nav-signin:hover {
    color: var(--primary-orange);
}

.nav-cta {
    background: var(--gradient-primary);
    color: var(--bg-darkest);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    padding: 12rem 0 6rem;
    background: var(--bg-darkest);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 153, 0, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 212, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: var(--font-h1);
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero-subtitle {
    font-size: var(--font-large);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-note {
    font-size: var(--font-small);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-note svg {
    color: var(--accent-green);
}

.hero-visual {
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.dashboard-mockup {
    background: var(--glass-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    position: relative;
}

.mockup-header {
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #EF4444; }
.mockup-dots span:nth-child(2) { background: #F59E0B; }
.mockup-dots span:nth-child(3) { background: #10B981; }

.mockup-title {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-small);
}

.mockup-content {
    padding: 1.5rem;
    background: var(--bg-dark);
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mockup-stat {
    background: var(--bg-card);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-change.positive {
    color: var(--success-green);
}

/* === Social Proof Stats Section === */
.social-proof-stats {
    background: var(--bg-dark);
    padding: 3rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.social-proof-title {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.social-proof-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.social-proof-item {
    text-align: center;
    padding: 1rem 1.5rem;
    min-width: 120px;
}

.social-proof-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.social-proof-number .star-icon {
    color: var(--amazon-orange);
    font-size: 1.5rem;
    vertical-align: middle;
}

.social-proof-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .social-proof-grid {
        gap: 1rem;
    }

    .social-proof-item {
        padding: 0.75rem 1rem;
        min-width: 100px;
    }

    .social-proof-number {
        font-size: 1.5rem;
    }
}

/* === Trust Badges Bar === */
.trust-badges {
    background: var(--bg-darker);
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-badges-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.trust-badge:hover {
    color: var(--text-white);
}

.trust-badge:hover svg {
    filter: brightness(1.3);
}

.trust-badge svg {
    flex-shrink: 0;
    transition: var(--transition);
}

/* === Video Demo Section === */
.video-demo {
    padding: var(--section-padding);
    background: var(--bg-dark);
    position: relative;
}

.video-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 2rem;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    cursor: pointer;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 2;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.15);
}

.play-button svg circle {
    transition: fill 0.3s ease;
    fill: var(--primary-orange);
}

.play-button:hover svg circle {
    fill: var(--primary-orange-hover);
}

.video-duration {
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 500;
    background: rgba(255, 153, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 153, 0, 0.3);
}

/* Video Preview Dashboard Mockup */
.video-preview-content {
    position: absolute;
    inset: 2rem;
    z-index: 1;
}

.preview-dashboard {
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.preview-header {
    background: var(--bg-elevated);
    padding: 0.75rem 1rem;
}

.preview-dots {
    display: flex;
    gap: 0.5rem;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:first-child { background: #EF4444; }
.preview-dots span:nth-child(2) { background: #F59E0B; }
.preview-dots span:last-child { background: #10B981; }

.preview-body {
    display: flex;
    height: calc(100% - 40px);
    background: var(--bg-dark);
}

.preview-sidebar {
    width: 60px;
    background: var(--bg-elevated);
}

.preview-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-chart {
    flex: 1;
    background: linear-gradient(to right, rgba(255, 153, 0, 0.1), rgba(0, 212, 255, 0.05));
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.preview-chart::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    right: 5%;
    height: 60%;
    background: linear-gradient(to top right, var(--primary-orange), transparent);
    opacity: 0.3;
    border-radius: var(--radius-sm);
}

.preview-stats {
    display: flex;
    gap: 1rem;
}

.preview-stat {
    flex: 1;
    height: 40px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
}

/* Video Container (when playing) */
.video-container {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-close:hover {
    background: var(--primary-orange);
}

/* Video Features */
.video-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.video-feature svg {
    color: var(--primary-orange);
}

/* === Stats Bar === */
.stats-bar {
    background: var(--bg-card);
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item {
    color: var(--text-white);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

/* === Section Header === */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: var(--font-large);
    color: var(--text-secondary);
}

/* === Features Section === */
.features {
    padding: var(--section-padding);
    background: var(--bg-darkest);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

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

.feature-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 153, 0, 0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow-orange);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--bg-darkest);
}

.feature-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* === ROI Calculator === */
.roi-calculator {
    padding: var(--section-padding);
    background: var(--bg-dark);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.roi-calculator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 153, 0, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.roi-calculator .section-header h2,
.roi-calculator .section-header p {
    color: var(--text-white);
}

.roi-calculator .section-header p {
    color: var(--text-secondary);
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.calculator-input-section {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.calculator-label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
}

.calculator-input-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.currency-symbol {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.calculator-input {
    background: transparent;
    border: none;
    border-bottom: 3px solid var(--primary-orange);
    color: var(--text-white);
    font-size: 2.5rem;
    font-weight: 700;
    width: 200px;
    text-align: center;
    padding: 0.5rem;
    outline: none;
}

.calculator-input:focus {
    border-bottom-color: var(--primary-orange-hover);
}

.calculator-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-elevated);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    border: 3px solid var(--bg-dark);
    box-shadow: var(--shadow-glow-orange);
    transition: transform 0.2s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-orange);
    cursor: pointer;
    border: 3px solid var(--bg-dark);
    box-shadow: var(--shadow-glow-orange);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.result-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 153, 0, 0.3);
}

.result-card.highlight {
    background: var(--gradient-primary);
    border-color: transparent;
}

.result-card.highlight .result-value,
.result-card.highlight .result-label {
    color: var(--bg-darkest);
}

.result-card.highlight:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-orange);
}

.result-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
}

.result-card.highlight .result-icon {
    color: var(--bg-darkest);
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.result-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

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

.calculator-cta .btn {
    margin-bottom: 1rem;
}

.calculator-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ROI Calculator Tooltips */
.result-card.has-tooltip {
    position: relative;
    cursor: pointer;
}

.result-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.result-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--glass-border);
}

.result-card.has-tooltip:hover .result-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--glass-border);
}

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

.tooltip-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.8rem;
}

.tooltip-list li span {
    color: var(--text-secondary);
}

.tooltip-list li strong {
    color: var(--text-white);
    font-weight: 600;
}

.tooltip-list li.tooltip-divider {
    border-top: 1px dashed var(--glass-border);
    margin: 0.25rem 0;
    padding: 0;
}

.result-card.highlight .result-tooltip {
    background: var(--bg-darkest);
}

.result-card.highlight .tooltip-list li strong {
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    .result-tooltip {
        min-width: 240px;
        padding: 0.75rem;
    }

    .result-tooltip::after {
        display: none;
    }

    .result-card.has-tooltip:hover .result-tooltip {
        bottom: auto;
        top: calc(100% + 8px);
    }
}

/* === Value Proposition === */
.value-proposition {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.value-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.value-content p {
    font-size: var(--font-large);
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.value-list {
    margin-bottom: 2rem;
}

.value-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.value-list svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--primary-orange);
}

.value-visual {
    position: relative;
}

.dashboard-preview {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
}

.preview-card {
    padding: 1.5rem;
}

.preview-title {
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.preview-chart {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 150px;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.chart-bar:hover {
    opacity: 0.9;
    transform: scaleY(1.05);
    transform-origin: bottom;
}

/* === Integrations Section === */
.integrations {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

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

.integration-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.integration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(255, 153, 0, 0.3);
    background: var(--bg-card-hover);
}

.integration-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
}

.integration-logo svg {
    width: 48px;
    height: 48px;
}

.integration-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.integration-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* === Testimonials === */
.testimonials {
    padding: var(--section-padding);
    background: var(--bg-darkest);
}

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

.testimonial-card {
    background: var(--bg-card);
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 4rem;
    color: var(--primary-orange);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 153, 0, 0.3);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote p {
    font-style: italic;
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-darkest);
    font-weight: 700;
}

.author-name {
    font-weight: 600;
    color: var(--text-white);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Rating Platforms Bar */
.rating-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.platform-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 153, 0, 0.3);
    background: var(--bg-card-hover);
}

.platform-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-white);
}

.platform-logo.capterra svg {
    color: #FF6D2C;
}

.platform-logo.g2 svg {
    color: #FF492C;
}

.platform-logo.trustpilot svg {
    color: #00B67A;
    fill: #00B67A;
}

.platform-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.rating-score {
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.875rem;
}

/* Testimonial Stars */
.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1rem;
}

.testimonial-stars .star {
    color: var(--primary-orange);
}

/* Enhanced Author Avatar */
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar span {
    color: var(--bg-darkest);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Testimonial Source */
.testimonial-source {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 500;
}

.verified-badge::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: var(--accent-green);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}

/* === As Seen In / Press Logos === */
.as-seen-in {
    padding: 3rem 0;
    background: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.as-seen-in-title {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.press-logo {
    opacity: 0.4;
    transition: var(--transition);
    color: var(--text-secondary);
}

.press-logo:hover {
    opacity: 0.8;
    color: var(--primary-orange);
}

.press-logo svg {
    height: 32px;
    width: auto;
}

/* === Competitor Comparison Table === */
.comparison-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.comparison-table th {
    background: var(--bg-elevated);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table th:first-child {
    text-align: left;
    border-top-left-radius: var(--radius-lg);
}

.comparison-table th:last-child {
    border-top-right-radius: var(--radius-lg);
}

.comparison-table .sellerlegend-col {
    background: rgba(255, 153, 0, 0.1);
}

.comparison-table th.sellerlegend-col {
    background: var(--primary-orange);
    color: var(--bg-darkest);
}

.brand-highlight {
    font-weight: 700;
    font-size: 1rem;
}

.comparison-table .feature-col {
    width: 30%;
    text-align: left;
}

.comparison-table .feature-name {
    text-align: left;
    font-weight: 500;
    color: var(--text-primary);
}

.comparison-table td {
    background: var(--bg-card);
    color: var(--text-secondary);
}

.comparison-table tbody tr:hover td {
    background: var(--bg-card-hover);
}

.comparison-table tbody tr:hover .sellerlegend-col {
    background: rgba(255, 153, 0, 0.15);
}

.comparison-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: var(--radius-lg);
}

.comparison-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: var(--radius-lg);
}

.check-icon,
.x-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.check-icon svg {
    color: var(--accent-green);
}

.x-icon svg {
    color: var(--accent-red);
    opacity: 0.5;
}

.check-icon.muted svg path {
    stroke: var(--text-muted);
}

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

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

.faq-container {
    max-width: 800px;
    margin: 0 auto 2rem;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--glass-border);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    transition: var(--transition);
}

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

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

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.faq-cta p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* === Pricing === */
.pricing-summary {
    padding: var(--section-padding);
    background: var(--bg-darkest);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-bottom: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 153, 0, 0.3);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--primary-orange);
    transform: scale(1.05);
    background: linear-gradient(180deg, var(--bg-card-hover) 0%, var(--bg-card) 100%);
}

.pricing-card.featured:hover {
    transform: scale(1.07) translateY(-4px);
    box-shadow: var(--shadow-glow-orange);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--bg-darkest);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.order-limit {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li,
.pricing-features-full li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before,
.pricing-features-full li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
}

.pricing-features-full {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* === Volume-Focused Pricing Section === */
.pricing-volume {
    padding: var(--section-padding);
    background: var(--bg-darkest);
}

.pricing-tagline {
    color: var(--text-secondary);
    text-align: center;
}

.pricing-grid-volume {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-card-volume {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card-volume:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
}

.pricing-card-volume.featured {
    border-color: var(--primary-orange);
    background: linear-gradient(135deg, rgba(17, 140, 228, 0.1) 0%, rgba(255, 153, 0, 0.05) 100%);
    padding-top: 2.5rem;
    margin-top: 0.5rem;
}

.pricing-card-volume .popular-tag {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #FF9900 0%, #FFB347 100%);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.4);
    z-index: 10;
}

.volume-highlight {
    margin-bottom: 1rem;
}

.volume-highlight .volume-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
}

.volume-highlight .volume-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.pricing-card-volume .plan-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.pricing-card-volume .plan-price {
    margin-bottom: 1.5rem;
}

.pricing-card-volume .plan-price .currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    vertical-align: top;
}

.pricing-card-volume .plan-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

.pricing-card-volume .plan-price .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pricing-card-volume .btn {
    width: 100%;
}

.pricing-auto-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 1rem 1.5rem;
    background: rgba(17, 140, 228, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(17, 140, 228, 0.2);
}

.pricing-auto-note svg {
    flex-shrink: 0;
    color: var(--accent-blue);
    margin-top: 2px;
}

.pricing-auto-note p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.features-included-section {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--glass-border);
}

.features-included-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.features-included-section .features-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.features-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.feature-pill:hover {
    border-color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
}

.feature-pill svg {
    flex-shrink: 0;
}

@media (max-width: 1024px) {
    .pricing-grid-volume {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid-volume {
        grid-template-columns: 1fr;
    }

    .features-columns {
        flex-direction: column;
        gap: 1rem;
    }
}

/* === Pricing Page === */
.pricing-page {
    padding: var(--section-padding);
    background: var(--bg-darkest);
}

.pricing-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    margin-bottom: 3rem;
}

.pricing-notes {
    text-align: center;
    margin-top: 2rem;
}

.pricing-notes .pricing-note {
    margin: 0.5rem 0;
}

/* === FAQ === */
.faq {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

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

.faq-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.faq-item h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === Page Hero === */
.page-hero {
    padding: 12rem 0 4rem;
    background: var(--bg-darkest);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 153, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    color: var(--text-white);
}

.page-hero p {
    color: var(--text-secondary);
}

/* === Features Detailed === */
.features-detailed {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.feature-detailed {
    margin-bottom: 3rem;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-orange);
    transition: var(--transition);
}

.feature-detailed:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-orange-hover);
}

.feature-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.feature-detailed h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.feature-detailed p {
    font-size: var(--font-large);
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-primary);
}

.feature-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: 700;
}

/* === Dashboard Types === */
.dashboard-types {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

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

.dashboard-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 153, 0, 0.3);
}

.dashboard-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.dashboard-card p {
    margin-bottom: 1.5rem;
}

.dashboard-features {
    list-style: none;
}

.dashboard-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

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

/* === Integration === */
.integration {
    padding: var(--section-padding);
}

.integration-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.integration-item {
    text-align: center;
    padding: 2rem;
}

.integration-item h3 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.integration-item p {
    font-size: 0.875rem;
}

/* === Support Options === */
.support-options {
    padding: var(--section-padding);
}

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

.support-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-orange);
    border-color: rgba(255, 153, 0, 0.3);
}

.support-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 0, 0.15);
    border-radius: 50%;
}

.support-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.support-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.support-link {
    color: var(--primary-orange);
    font-weight: 600;
    display: inline-block;
}

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

/* === Help Topics === */
.help-topics {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

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

.topic-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
}

.topic-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--glass-border);
}

.topic-list li {
    margin-bottom: 0.75rem;
}

.topic-list a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.topic-list a:hover {
    color: var(--primary-orange);
    padding-left: 0.5rem;
}

/* === Platform Stats === */
.platform-stats {
    padding: var(--section-padding);
}

.stats-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.stat-feature {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 153, 0, 0.15);
    border-radius: 50%;
}

.stat-feature h3 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
}

.stat-feature p {
    font-size: 0.875rem;
}

/* === Final CTA === */
.final-cta {
    padding: 6rem 0;
    background: var(--bg-card);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(255, 153, 0, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: var(--font-large);
    margin-bottom: 2rem;
}

.cta-note {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Guarantee Badge */
.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 2rem;
    background: var(--bg-elevated);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
}

.guarantee-icon {
    color: var(--primary-orange);
    flex-shrink: 0;
}

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

.guarantee-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.guarantee-text strong {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.guarantee-text span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* === Blog Preview Section === */
.blog-preview {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 153, 0, 0.3);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
    background: var(--bg-dark);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-orange) 100%);
    color: var(--text-white);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.blog-date {
    color: var(--text-secondary);
}

.blog-category {
    background: rgba(255, 153, 0, 0.15);
    color: var(--primary-orange);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.75rem;
}

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-orange);
}

.blog-card-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

.blog-read-more svg {
    transition: transform 0.3s ease;
}

.blog-read-more:hover svg {
    transform: translateX(4px);
}

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

/* Blog Preview Responsive */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-card-image {
        height: 180px;
    }
}

/* === Footer === */
.footer {
    background: var(--bg-darkest);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-logo .highlight {
    color: var(--primary-orange);
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 1.25rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: rgba(255, 153, 0, 0.1);
    color: var(--primary-orange);
}

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

/* === Sticky CTA Bar === */
.sticky-cta-bar {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: var(--sticky-cta-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 0;
    z-index: 999;
    border-top: 1px solid var(--glass-border);
    transition: bottom 0.4s ease;
}

.sticky-cta-bar.visible {
    bottom: 0;
}

.sticky-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sticky-cta-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sticky-cta-highlight {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.95rem;
}

.sticky-cta-button {
    white-space: nowrap;
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
}

/* Hide sticky CTA on small screens */
@media (max-width: 640px) {
    .sticky-cta-container {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

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

/* === Responsive Design === */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-h1: 2.5rem;
        --font-h2: 2rem;
        --font-h3: 1.25rem;
        --section-padding: 4rem 1.5rem;
    }

    .hero-grid,
    .value-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

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

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

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

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

/* Mobile (<768px) */
@media (max-width: 768px) {
    :root {
        --font-h1: 2rem;
        --font-h2: 1.75rem;
        --font-h3: 1.125rem;
        --section-padding: 3rem 1rem;
        --card-padding: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    /* Hide topbar on mobile */
    .topbar {
        display: none;
    }

    .navbar {
        top: 0;
    }

    /* Navigation - Mobile Menu */
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
        gap: 0;
        overflow-y: auto;
        z-index: 100;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links > li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links > li:last-child {
        border-bottom: none;
    }

    .nav-links > li > a {
        display: block;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        text-decoration: none;
        transition: color 0.2s, padding-left 0.2s;
    }

    .nav-links > li > a:hover,
    .nav-links > li > a.active {
        color: var(--primary);
        padding-left: 1rem;
    }

    /* Hide mega menu in mobile nav */
    .nav-links .nav-item-mega .mega-menu-wrapper {
        width: 100%;
    }

    .nav-links .nav-item-mega .mega-menu-trigger {
        display: block;
        width: 100%;
        padding: 1rem 0.5rem;
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        text-align: left;
    }

    .nav-links .nav-item-mega .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        padding: 0;
        margin-top: 0.5rem;
    }

    .nav-links .nav-item-mega .mega-menu[aria-hidden="false"] {
        display: block;
    }

    .nav-links .nav-item-mega .mega-menu-inner {
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 12px;
        min-width: 0;
        width: 100%;
    }

    .nav-links .nav-item-mega .mega-menu-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .nav-links .nav-item-mega .menu-category {
        padding: 1rem;
    }

    .nav-links .nav-item-mega .mega-menu-footer {
        padding: 1rem;
    }

    .nav-links .nav-item-mega .view-all-btn {
        width: 100%;
        justify-content: center;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .nav-actions .nav-cta {
        display: none;
    }

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

    /* Mobile CTA Button */
    .mobile-cta-wrapper {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--border-color);
        border-bottom: none !important;
    }

    .mobile-cta {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
        background: var(--primary);
        color: var(--bg-dark) !important;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        border-radius: 8px;
        transition: background 0.2s, transform 0.2s;
    }

    .mobile-cta:hover {
        background: var(--primary-hover);
        transform: translateY(-2px);
    }

    /* Hero */
    .hero {
        padding: 8rem 0 4rem;
    }

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

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Grids */
    .features-grid,
    .pricing-grid,
    .pricing-grid-large,
    .testimonials-grid,
    .stats-grid,
    .dashboard-grid,
    .faq-grid,
    .support-grid,
    .topics-grid,
    .integration-features,
    .stats-features {
        grid-template-columns: 1fr;
    }

    /* Rating Platforms */
    .rating-platforms {
        gap: 1.5rem;
    }

    .platform-badge {
        padding: 0.75rem 1rem;
    }

    /* Press Logos */
    .press-logos {
        gap: 2rem;
    }

    .press-logo svg {
        height: 24px;
    }

    /* ROI Calculator */
    .calculator-results {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .calculator-input {
        font-size: 2rem;
        width: 150px;
    }

    .result-value {
        font-size: 2rem;
    }

    /* Integrations */
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    /* Feature List */
    .feature-list {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Mockup Stats */
    .mockup-stats {
        grid-template-columns: 1fr;
    }

    /* Stats */
    .stat-number {
        font-size: 2.5rem;
    }

    /* Price */
    .price {
        font-size: 2rem;
    }

    /* Hero Grid & Value Grid */
    .hero-visual,
    .value-visual {
        order: 1;
    }

    .hero-content,
    .value-content {
        order: 2;
    }
}

/* Small Mobile (<480px) */
@media (max-width: 480px) {
    :root {
        --font-h1: 1.75rem;
        --font-h2: 1.5rem;
    }

    .hero {
        padding: 7rem 0 3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .mockup-content {
        padding: 1rem;
    }

    .feature-detailed {
        padding: 1.5rem;
    }
}

/* === FEATURE PAGE STYLES === */

/* Feature Hero */
.feature-hero {
    padding: 10rem 0 4rem;
    background: radial-gradient(ellipse at top, rgba(255, 153, 0, 0.1) 0%, var(--bg-darker) 70%);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-orange);
}

.breadcrumb span:not(.badge) {
    color: var(--text-secondary);
}

.feature-hero-content {
    max-width: 800px;
}

.feature-hero h1 {
    font-size: 3rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.feature-tagline {
    font-size: var(--font-large);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.feature-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 153, 0, 0.15);
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Feature Screenshot */
.feature-screenshot {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.screenshot-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

.screenshot-image {
    width: 100%;
    height: auto;
    display: none;
}

.screenshot-placeholder {
    text-align: center;
    padding: 3rem;
}

.screenshot-placeholder svg {
    margin: 0 auto 1rem;
}

.screenshot-placeholder p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* When image exists, hide placeholder */
.screenshot-image[src]:not([src=""]) {
    display: block;
}

.screenshot-image[src]:not([src=""]) ~ .screenshot-placeholder {
    display: none;
}

/* Feature Overview */
.feature-overview {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.overview-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.overview-content h2 {
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.overview-content p {
    font-size: var(--font-large);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.overview-stats {
    display: grid;
    gap: 1.5rem;
}

.stat-box {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--glass-border);
    transition: var(--transition);
}

.stat-box:hover {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-glow-orange);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-box .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-box .stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Feature Benefits */
.feature-benefits {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.feature-benefits h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
}

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

.benefit-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 153, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.benefit-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.benefit-card p {
    line-height: 1.7;
}

/* How It Works */
.feature-how-it-works {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.feature-how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    border: 1px solid var(--glass-border);
}

.step-card::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -1.5rem;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--primary-orange);
}

.step-card:last-child::after {
    display: none;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--bg-darkest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.step-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Feature Widgets */
.feature-widgets {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.feature-widgets h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-intro {
    text-align: center;
    font-size: var(--font-large);
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.widgets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

.widget-category {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
}

.widget-category h3 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--glass-border);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

.widget-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: 700;
}

/* Use Cases */
.feature-use-cases {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.feature-use-cases h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.use-case-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-orange);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.use-case-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.use-case-card p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.use-case-card p strong {
    color: var(--text-white);
    font-weight: 600;
}

/* Feature Pricing Note */
.feature-pricing-note {
    padding: var(--section-padding);
    background: var(--bg-darker);
}

.pricing-note-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

.pricing-note-card h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.pricing-note-card p {
    font-size: var(--font-large);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Related Features */
.related-features {
    padding: var(--section-padding);
    background: var(--bg-dark);
}

.related-features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
}

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

.related-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
    display: block;
}

.related-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-orange);
}

.related-card h3 {
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.related-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.related-arrow {
    color: var(--primary-orange);
    font-size: 1.5rem;
    font-weight: 700;
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
}

/* === Responsive for Feature Pages === */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }

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

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

    .step-card::after {
        display: none;
    }

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

    .use-cases-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feature-hero h1 {
        font-size: 2rem;
    }

    .feature-badges {
        flex-direction: column;
    }

    .badge {
        text-align: center;
    }

    .screenshot-wrapper {
        min-height: 300px;
    }

    .steps-grid,
    .widgets-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        padding: 1.5rem;
    }
}

/* ===== RTL Support for Arabic ===== */

/* General RTL text alignment and direction */
[dir="rtl"] {
    text-align: right;
    direction: rtl;
}

/* Navigation RTL adjustments */
[dir="rtl"] .nav-logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links a.active::after {
    left: auto;
    right: 0;
}

/* Hero section RTL */
[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

/* Features and cards RTL */
[dir="rtl"] .feature-card,
[dir="rtl"] .benefit-card,
[dir="rtl"] .use-case-card {
    border-left: none;
    border-right: 4px solid var(--primary-orange);
}

[dir="rtl"] .feature-detailed {
    border-left: none;
    border-right: 4px solid var(--primary-orange);
}

/* Lists RTL adjustments */
[dir="rtl"] .value-list li {
    padding-left: 0;
    padding-right: 1rem;
}

[dir="rtl"] .feature-list li {
    padding-left: 0;
    padding-right: 1.5rem;
}

[dir="rtl"] .feature-list li::before,
[dir="rtl"] .dashboard-features li::before,
[dir="rtl"] .widget-list li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .pricing-features li {
    padding-left: 0;
    padding-right: 0;
}

/* Footer RTL */
[dir="rtl"] .footer-grid {
    direction: rtl;
}

/* Breadcrumb RTL */
[dir="rtl"] .breadcrumb {
    flex-direction: row-reverse;
}

/* Step card arrows RTL */
[dir="rtl"] .step-card::after {
    right: auto;
    left: -1.5rem;
    content: '←';
}

/* Testimonial author RTL */
[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

/* Mockup RTL */
[dir="rtl"] .mockup-dots {
    flex-direction: row-reverse;
}

/* Popular badge positioning for RTL */
[dir="rtl"] .popular-badge {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

/* Related arrow positioning RTL */
[dir="rtl"] .related-arrow {
    right: auto;
    left: 2rem;
}

/* Check icon RTL (already handled in language-switcher component) */
[dir="rtl"] .check-icon {
    margin-left: 0;
    margin-right: auto;
}

/* Topic list hover RTL */
[dir="rtl"] .topic-list a:hover {
    padding-left: 0;
    padding-right: 0.5rem;
}

/* Mobile RTL adjustments */
@media (max-width: 768px) {
    [dir="rtl"] .nav-links {
        flex-direction: column;
        text-align: right;
    }

    [dir="rtl"] .nav-actions {
        flex-direction: row-reverse;
    }
}

/* ===== Language-Specific Fonts ===== */

/* Arabic Font: Cairo */
html[lang="ar"] body,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
html[lang="ar"] p,
html[lang="ar"] a,
html[lang="ar"] li,
html[lang="ar"] span,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] textarea {
    font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Chinese Font: Noto Sans SC */
html[lang="zh"] body,
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh"] h4,
html[lang="zh"] h5,
html[lang="zh"] h6,
html[lang="zh"] p,
html[lang="zh"] a,
html[lang="zh"] li,
html[lang="zh"] span,
html[lang="zh"] button,
html[lang="zh"] input,
html[lang="zh"] textarea {
    font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Adjust line height for better readability in Arabic */
html[lang="ar"] body {
    line-height: 1.8;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
    line-height: 1.4;
}

/* Adjust letter spacing for Chinese */
html[lang="zh"] body {
    letter-spacing: 0.02em;
}

/* ===== Performance Optimizations ===== */

/* Lazy loading image placeholders */
img[data-src] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[data-src].loaded,
img.loaded {
    opacity: 1;
}

/* Background lazy loading */
[data-bg] {
    background-color: var(--bg-dark);
}

[data-bg].bg-loaded {
    transition: opacity 0.3s ease;
}

/* Font loading optimization */
.fonts-loaded body {
    font-display: swap;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Content-visibility for performance on long pages */
.feature-card,
.pricing-card,
.testimonial-card {
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}

/* GPU acceleration for animations */
.feature-card,
.pricing-card,
.testimonial-card,
.dashboard-card,
.support-card,
.btn {
    will-change: transform;
    transform: translateZ(0);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--bg-darkest);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: var(--shadow-glow-orange);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 153, 0, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* RTL scroll to top position */
[dir="rtl"] .scroll-to-top {
    right: auto;
    left: 30px;
}

/* Loading skeleton styles */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-text:last-child {
    width: 70%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
}

.skeleton-card {
    padding: var(--card-padding);
    border-radius: var(--radius-lg);
}

/* Critical CSS inline flag */
.above-fold {
    contain: layout style;
}

/* === Light Theme Component Overrides === */
/* For elements with hardcoded rgba values that CSS variables don't cover */
[data-theme="light"] .topbar {
    border-bottom-color: rgba(224, 134, 0, 0.15);
}

[data-theme="light"] .topbar-links li:not(:last-child)::after {
    color: rgba(15, 23, 42, 0.25);
}

[data-theme="light"] .topbar-links li a {
    color: rgba(15, 23, 42, 0.75);
}

[data-theme="light"] .topbar-links li a:hover {
    color: #0F172A;
    text-shadow: none;
}

[data-theme="light"] .navbar {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .nav-cta {
    color: #FFFFFF;
}

[data-theme="light"] .scroll-to-top {
    color: #FFFFFF;
}

[data-theme="light"] .step-number {
    color: #FFFFFF;
}

[data-theme="light"] .badge {
    background: rgba(224, 134, 0, 0.08);
}

[data-theme="light"] .benefit-icon {
    background: rgba(224, 134, 0, 0.08);
}

[data-theme="light"] .feature-hero {
    background: radial-gradient(ellipse at top, rgba(224, 134, 0, 0.06) 0%, var(--bg-darker) 70%);
}

[data-theme="light"] .widget-list li {
    color: var(--text-primary);
}

[data-theme="light"] .scroll-to-top:hover {
    box-shadow: 0 15px 30px rgba(224, 134, 0, 0.25);
}

[data-theme="light"] .sticky-cta-bar {
    border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .footer-social a {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.08);
}

/* Theme toggle button */
.theme-toggle {
    background: none;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    width: 36px;
    height: 36px;
}

.theme-toggle:hover {
    color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

/* Hide the inactive icon */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* Print styles */
@media print {
    .navbar,
    .footer,
    .scroll-to-top,
    .mobile-menu-toggle {
        display: none !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }
}
