/* ============================================
   TitanShield Landing Page - Modern Cybersecurity Design
   Dark Mode | Glassmorphism | Gradients | Animations
   ============================================ */

/* ==================== VARIABLES ==================== */
:root {
    /* Colors - Cybersecurity Palette */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a2e;
    --bg-glass: rgba(26, 26, 46, 0.7);

    /* Accent Colors */
    --accent-cyan: #00D4FF;
    --accent-purple: #7B61FF;
    --accent-pink: #FF006E;
    --accent-green: #00FF88;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00D4FF 0%, #7B61FF 100%);
    --gradient-secondary: linear-gradient(135deg, #7B61FF 0%, #FF006E 100%);
    --gradient-tertiary: linear-gradient(135deg, #00FF88 0%, #00D4FF 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a8a8b3;
    --text-tertiary: #6b6b7b;

    /* Border & Shadow */
    --border-glass: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.3);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
}

/* ==================== GLOBAL RESET ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: var(--font-weight-semibold);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #0099cc 0%, #6640cc 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00aadd 0%, #7B61FF 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-cyan);
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
    border-radius: 14px;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    border-radius: 10px;
}

.btn-block {
    width: 100%;
}

/* ==================== NAVIGATION ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
}

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

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    transition: color 0.3s ease;
}

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

.nav-login {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

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

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-xxl)) 0 var(--spacing-xxl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-cyan), transparent);
    top: -250px;
    left: -250px;
}

.gradient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-purple), transparent);
    top: 20%;
    right: -200px;
    animation-delay: 2s;
}

.gradient-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-pink), transparent);
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(5deg); }
    66% { transform: translateY(30px) rotate(-5deg); }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    backdrop-filter: blur(10px);
    width: fit-content;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding-top: var(--spacing-sm);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-item svg {
    flex-shrink: 0;
}

/* ==================== HERO VISUAL - 3D SCENE ==================== */
.hero-visual {
    position: relative;
    height: 700px;
    perspective: 1200px;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-3d-scene {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.dashboard-mockup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(0px);
    width: 90%;
    max-width: 550px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    backdrop-filter: blur(30px);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: float3D 8s ease-in-out infinite;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

@keyframes float3D {
    0%, 100% {
        transform: translate(-50%, -50%) translateZ(0px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translate(-50%, -55%) translateZ(20px) rotateX(2deg) rotateY(-2deg);
    }
    50% {
        transform: translate(-50%, -50%) translateZ(40px) rotateX(0deg) rotateY(2deg);
    }
    75% {
        transform: translate(-50%, -45%) translateZ(20px) rotateX(-2deg) rotateY(0deg);
    }
}

/* Floating Feature Cards - 3D positioned */
.feature-card {
    position: absolute;
    padding: var(--spacing-lg);
    background: rgba(26, 26, 46, 0.7);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(123, 97, 255, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateZ(30px) scale(1.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(123, 97, 255, 0.4);
}

.feature-card-1 {
    top: 10%;
    right: -10%;
    width: 160px;
    animation: floatCard1 10s ease-in-out infinite;
}

.feature-card-2 {
    bottom: 35%;
    right: -5%;
    width: 180px;
    animation: floatCard2 12s ease-in-out infinite;
    animation-delay: 1s;
}

.feature-card-3 {
    bottom: 10%;
    left: -10%;
    width: 160px;
    animation: floatCard3 11s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0) translateZ(0) rotateZ(0deg); }
    50% { transform: translateY(-20px) translateZ(30px) rotateZ(5deg); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0) translateZ(0) rotateZ(0deg); }
    50% { transform: translateY(-30px) translateZ(40px) rotateZ(-5deg); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0) translateZ(0) rotateZ(0deg); }
    50% { transform: translateY(-25px) translateZ(35px) rotateZ(3deg); }
}

.feature-card .feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.feature-card .feature-stat {
    font-size: 1.75rem;
    font-weight: var(--font-weight-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.feature-card .feature-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.2;
}

/* Card Active State - Click Behavior */
.card-active {
    transform: translateZ(80px) scale(1.15) !important;
    z-index: 1000 !important;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.4) !important;
    border-color: var(--accent-cyan) !important;
    animation: none !important; /* Stop float animation when clicked */
    cursor: pointer;
}

.feature-card.card-active {
    animation: none !important; /* Override floating animation */
}

/* 3D Button Effects */
.btn-3d {
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
}

.btn-3d:hover {
    transform: translateY(-4px) translateZ(10px);
}

.btn-3d:active {
    transform: translateY(-2px) translateZ(5px);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
}

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

.mockup-controls span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-tertiary);
}

.mockup-controls span:nth-child(1) { background: #FF5F56; }
.mockup-controls span:nth-child(2) { background: #FFBD2E; }
.mockup-controls span:nth-child(3) { background: #27C93F; }

.mockup-title {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.mockup-content {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.security-score-widget {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.score-circle {
    position: relative;
    width: 140px;
    height: 140px;
}

.score-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(0deg);
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-label {
    font-size: 1rem;
    color: var(--text-tertiary);
}

.score-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.score-details .score-label {
    font-size: 1rem;
    color: var(--text-tertiary);
}

.score-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trend-icon {
    color: var(--accent-green);
    font-size: 1.25rem;
}

.trend-value {
    color: var(--accent-green);
    font-weight: var(--font-weight-semibold);
}

.vulnerability-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.vuln-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 8px;
}

.vuln-item.vuln-high { border-left-color: #FF006E; }
.vuln-item.vuln-medium { border-left-color: #FFA500; }
.vuln-item.vuln-low { border-left-color: #00FF88; }

.vuln-severity {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    background: rgba(255, 255, 255, 0.1);
    min-width: 70px;
    text-align: center;
}

.vuln-high .vuln-severity {
    background: rgba(255, 0, 110, 0.2);
    color: #FF006E;
}

.vuln-medium .vuln-severity {
    background: rgba(255, 165, 0, 0.2);
    color: #FFA500;
}

.vuln-low .vuln-severity {
    background: rgba(0, 255, 136, 0.2);
    color: #00FF88;
}

.vuln-name {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.vuln-count {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* ==================== STATS BAR ==================== */
.stats-bar {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: var(--spacing-xl) 0;
}

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

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

/* ==================== PROBLEM-SOLUTION SECTION ==================== */
.problem-solution {
    padding: var(--spacing-xxl) 0;
}

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

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.problem-grid, .solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.problem-card, .solution-card {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.problem-card:hover, .solution-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.problem-icon, .solution-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.problem-card h3, .solution-card h3 {
    margin-bottom: var(--spacing-sm);
}

.problem-stat {
    color: var(--accent-cyan);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-sm);
}

.transition-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-xxl) 0;
    font-size: 1.25rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-cyan);
}

/* ==================== FEATURES SECTION ==================== */
.features {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.01);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
    margin-bottom: var(--spacing-xxl);
}

.feature-row-reverse {
    direction: rtl;
}

.feature-row-reverse > * {
    direction: ltr;
}

.feature-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-md);
}

.feature-content h3 {
    margin-bottom: var(--spacing-md);
}

.feature-content p {
    margin-bottom: var(--spacing-lg);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
}

.glass-card {
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.upload-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xxl);
    border: 2px dashed var(--border-glass);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.upload-animation:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.upload-icon {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

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

.upload-progress {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 100px;
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 75%; }
}

.score-trend-chart {
    padding: var(--spacing-lg);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.chart-title {
    font-weight: var(--font-weight-semibold);
}

.chart-period {
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

.chart-line {
    height: 200px;
    margin-bottom: var(--spacing-md);
}

.chart-scores {
    display: flex;
    justify-content: space-between;
}

.score-point {
    text-align: center;
}

.score-date {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.25rem;
}

.score-val {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
}

.ml-confidence {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.confidence-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.confidence-bar {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.confidence-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: var(--spacing-sm);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    transition: width 1s ease-out;
}

/* ==================== PRICING SECTION ==================== */
.pricing {
    padding: var(--spacing-xxl) 0;
    background: rgba(255, 255, 255, 0.01);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.pricing-card {
    position: relative;
    padding: var(--spacing-xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}

.pricing-card .btn-block {
    margin-top: auto;
}

.pricing-features {
    flex-grow: 1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.pricing-card-popular {
    border: 2px solid var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1.5rem;
    background: var(--gradient-primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: var(--spacing-lg);
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.price-amount {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1rem;
    color: var(--text-tertiary);
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    min-height: 300px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-feature svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pricing-note-bottom {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin-top: var(--spacing-md);
}

.enterprise-banner {
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-xl);
    text-align: center;
    background: rgba(123, 97, 255, 0.1);
    border: 1px solid rgba(123, 97, 255, 0.3);
    border-radius: 16px;
}

.enterprise-banner h3 {
    margin-bottom: var(--spacing-sm);
}

.enterprise-banner p {
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== CTA SECTION ==================== */
.cta {
    position: relative;
    padding: var(--spacing-xxl) 0;
    overflow: hidden;
}

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

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

.cta-content h2 {
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-trust {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */
.footer {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-glass);
    padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-md);
}

.footer-brand p {
    margin-bottom: var(--spacing-lg);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

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

.footer-social a:hover {
    background: rgba(0, 212, 255, 0.2);
    color: var(--accent-cyan);
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--accent-cyan);
}

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

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

.footer-badges {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-badges .badge {
    padding: 0.375rem 0.875rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-visual {
        height: 500px;
    }

    .feature-row {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

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

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

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

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