/* ================================================
   LicitaTech - Modern Design System
   Premium styling with glassmorphism, gradients, and animations
   ================================================ */

/* === CSS Variables === */
/* === CSS Variables - PREMIUM THEME === */
:root {
    /* Primary Colors - Deep Tech Blue/Indigo */
    --primary-50: #eff4ff;
    --primary-100: #dbe6fe;
    --primary-200: #bfd3fe;
    --primary-300: #93bbfd;
    --primary-400: #609afa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    --primary-950: #172554;

    /* Accent Colors - High Contrast */
    --accent-cyan: #0891b2;
    --accent-purple: #7c3aed;
    --accent-pink: #db2777;
    --accent-emerald: #059669;
    --accent-amber: #d97706;

    /* Neutral Colors - Clean & Sharp */
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --gray-950: #020617;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Gradient Definitions - Premium */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-dark: linear-gradient(to bottom, #0f172a, #1e293b);

    /* Shadows - Deep & Soft */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.5);
    --shadow-glow-lg: 0 0 80px rgba(59, 130, 246, 0.4);

    /* Typography - Modern Stack */
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    --font-size-6xl: 4.5rem;

    /* 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 - Smoother */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* === Typography === */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md), 0 0 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary-500);
    color: var(--primary-600);
    background: var(--primary-50);
}

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

.btn-ghost:hover {
    color: var(--primary-600);
    background: var(--primary-50);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-base);
}

.btn-block {
    width: 100%;
}

/* === Navigation === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-4) 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    padding: var(--space-3) 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xl);
    font-weight: 800;
    color: white;
    transition: color var(--transition-fast);
}

.navbar.scrolled .nav-logo {
    color: var(--gray-900);
}

.logo-icon {
    font-size: var(--font-size-2xl);
}

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

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: white;
}

.navbar.scrolled .nav-link {
    color: var(--gray-600);
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-600);
}

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

.nav-actions .btn-ghost {
    color: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled .nav-actions .btn-ghost {
    color: var(--gray-600);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-2);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.navbar.scrolled .nav-toggle span {
    background: var(--gray-800);
}

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-24) 0 var(--space-16);
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-500);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-purple);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

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

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-6);
    backdrop-filter: blur(10px);
}

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

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

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

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-8);
    max-width: 500px;
    line-height: 1.7;
}

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

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

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

/* === Dashboard Preview === */
.hero-visual {
    perspective: 1000px;
}

/* === Premium Cards (Glassmorphism) === */
.dashboard-preview,
.licitacao-card,
.stat-card,
.feature-card {
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -2px rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.licitacao-card:hover,
.stat-card:hover,
.feature-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        var(--shadow-xl),
        0 0 0 2px rgba(59, 130, 246, 0.1);
    border-color: var(--primary-200);
}

/* === Animated Gradient Buttons === */
.btn-primary {
    position: relative;
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: white;
    border: none;
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s ease;
}

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

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: -1;
}

.btn-primary:hover::after {
    left: 150%;
    transition: 0.7s;
}

/* === Sidebar Premium Look === */
.sidebar {
    background: var(--gray-900);
    /* Dark sidebar for contrast */
    color: var(--gray-300);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-1);
    transition: all var(--transition-fast);
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.nav-item.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

@keyframes previewFloat {

    0%,
    100% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(0);
    }

    50% {
        transform: rotateY(-5deg) rotateX(5deg) translateY(-10px);
    }
}

.preview-header {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.preview-dots {
    display: flex;
    gap: var(--space-2);
}

.preview-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.preview-dots span:nth-child(1) {
    background: #ff5f56;
}

.preview-dots span:nth-child(2) {
    background: #ffbd2e;
}

.preview-dots span:nth-child(3) {
    background: #27ca40;
}

.preview-title {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
}

.preview-content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.preview-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-5);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    animation: slideIn 0.5s ease backwards;
}

.preview-card:nth-child(1) {
    animation-delay: 0.2s;
}

.preview-card:nth-child(2) {
    animation-delay: 0.4s;
}

.preview-card:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.preview-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.card-icon {
    font-size: var(--font-size-2xl);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
}

.card-info {
    flex: 1;
}

.card-title {
    display: block;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-1);
}

.card-meta {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.card-value {
    font-weight: 700;
    color: var(--accent-emerald);
    font-size: var(--font-size-lg);
}

/* === Trusted Section === */
.trusted-section {
    padding: var(--space-12) 0;
    background: white;
    border-bottom: 1px solid var(--gray-100);
}

.trusted-text {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--gray-500);
    margin-bottom: var(--space-8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    flex-wrap: wrap;
}

.logo-item {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.logo-item:hover {
    color: var(--gray-500);
}

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

.section-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--primary-50);
    color: var(--primary-600);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.section-title {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
}

/* === Features Section === */
.features-section {
    padding: var(--space-24) 0;
    background: white;
}

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

.feature-card {
    position: relative;
    padding: var(--space-8);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-2xl);
    transition: all var(--transition-base);
}

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

.feature-card.featured {
    background: var(--gradient-hero);
    border-color: transparent;
}

.feature-card.featured .feature-title,
.feature-card.featured .feature-desc {
    color: white;
}

.feature-card.featured .feature-desc {
    opacity: 0.8;
}

.feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.feature-badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    color: var(--primary-600);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-5);
}

.feature-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.feature-desc {
    font-size: var(--font-size-base);
    color: var(--gray-500);
    line-height: 1.7;
}

/* === How it Works Section === */
.how-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

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

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: var(--space-8);
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    background: var(--gradient-primary);
    color: white;
    font-size: var(--font-size-2xl);
    font-weight: 800;
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
}

.step-content h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.step-content p {
    color: var(--gray-500);
    line-height: 1.7;
}

.step-connector {
    flex: 0 0 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-300), var(--primary-500));
    margin-top: 56px;
}

/* === Pricing Section === */
.pricing-section {
    padding: var(--space-24) 0;
    background: white;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.toggle-label {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.toggle-label.active {
    color: var(--gray-900);
}

.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-fast);
}

.toggle-switch.active {
    background: var(--primary-500);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: transform var(--transition-fast);
    box-shadow: var(--shadow-md);
}

.toggle-switch.active .toggle-slider {
    transform: translateX(28px);
}

.discount-badge {
    padding: var(--space-1) var(--space-2);
    background: var(--accent-emerald);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 700;
    border-radius: var(--radius-sm);
}

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

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

.pricing-card:hover {
    border-color: var(--primary-200);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.popular {
    border-color: var(--primary-500);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

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

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

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

.plan-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.plan-desc {
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

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

.price-currency {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-600);
}

.price-value {
    font-size: var(--font-size-5xl);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.price-period {
    font-size: var(--font-size-base);
    color: var(--gray-400);
}

.pricing-features {
    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(--font-size-sm);
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--accent-emerald);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-features li.disabled svg {
    color: var(--gray-300);
}

/* === FAQ Section === */
.faq-section {
    padding: var(--space-24) 0;
    background: var(--gray-50);
}

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

.faq-item {
    margin-bottom: var(--space-4);
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--gray-400);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

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

.faq-answer p {
    padding: 0 var(--space-6) var(--space-6);
    color: var(--gray-600);
    line-height: 1.7;
}

/* === CTA Section === */
.cta-section {
    padding: var(--space-24) 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

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

.cta-title {
    font-size: clamp(var(--font-size-3xl), 4vw, var(--font-size-5xl));
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-8);
}

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

/* === Footer === */
.footer {
    padding: var(--space-16) 0 var(--space-8);
    background: var(--gray-900);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid var(--gray-700);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
}

.footer-desc {
    color: var(--gray-400);
    margin-bottom: var(--space-6);
    max-width: 300px;
    line-height: 1.7;
}

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

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

.footer-social a:hover {
    background: var(--primary-600);
    color: white;
}

.footer-links h4 {
    font-size: var(--font-size-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
    color: var(--gray-300);
}

.footer-links ul li {
    margin-bottom: var(--space-3);
}

.footer-links a {
    color: var(--gray-400);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-8);
    font-size: var(--font-size-sm);
    color: var(--gray-500);
}

.footer-location {
    color: var(--gray-400);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.popular {
        transform: none;
        order: -1;
    }

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

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-8);
    }

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

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

    .hero-visual {
        display: none;
    }

    .nav-menu,
    .nav-actions {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

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

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

    .footer-desc {
        margin: 0 auto var(--space-6);
    }

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

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .stat-divider {
        display: none;
    }

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

    .btn-lg {
        width: 100%;
    }
}

/* === DARK PREMIUM THEME (Restored & Optimized) === */

/* 1. Global Atmosphere */
body.premium-dark {
    background-color: #0B0E14;
    /* Deep Tech Blue/Black */
    background-image:
        radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.15) 0, transparent 50%),
        radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0, transparent 50%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

/* 2. Typography */
.hero-title-premium {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff 40%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. Glass Cards (High Performance) */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    /* Moderate blur is fine */
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* CSS Shadow is cheap */
}

/* 4. Buttons */
.btn-premium {
    background: white;
    color: #0f172a;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-premium-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 99px;
    font-weight: 600;
}

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

/* 5. Grid Layouts */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 4rem 0;
}

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

/* 6. Animations (GPU Accelerated) */
.fade-up {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* 7. New Badge */
.new-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 99px;
    font-size: 0.9rem;
    color: #60a5fa;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 10px #60a5fa;
    animation: pulser 2s infinite;
}

@keyframes pulser {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}
/* === RICH ANIMATIONS & MOCKUP STYLES === */

/* 1. Stagger Delays */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* 2. Mockup Interactions */
/* Hover on list items inside mockup (simulated via inline styles but enhanced here if classes were used, 
   since inline styles are hard to target, we rely on the main glass-card hover for now 
   or add a specific hover class if we edit HTML again. 
   For now, adding a global rule for mockup items if possible or just enjoy the glass effect). */

/* 3. Pulse Animation for Status Dots */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.status-dot-pulse {
    animation: pulse-green 2s infinite;
}

/* 4. Smooth Reveal for Sections */
.fade-up.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.fade-up {
    opacity: 0;
    transform: translate3d(0, 40px, 0) scale(0.98);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                filter 0.8s ease;
    filter: blur(4px); /* Subtle blur on entry */
    will-change: opacity, transform;
}

/* 5. Rich Hover for Glass Cards */
.glass-card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5), 
                0 0 0 1px rgba(255,255,255,0.2) inset;
    background: rgba(255,255,255,0.05);
}

/* 6. Logo Marquee Smoothness */
.marquee-content {
    animation-timing-function: linear; /* Ensure constant speed */
}
