/* ================================================
   CLOUDER - Marketing Website Styles
   ================================================ */

:root {
    /* Cloudflare Brand Colors */
    --cf-orange: #f6821f;
    --cf-orange-dark: #e5750a;
    --cf-orange-light: #ff9d4d;
    --cf-dark: #0d0d0d;
    --cf-darker: #000000;
    --cf-gray-900: #1a1a1a;
    --cf-gray-800: #2d2d2d;
    --cf-gray-700: #404040;
    --cf-gray-600: #525252;
    --cf-gray-500: #6b6b6b;
    --cf-gray-400: #a3a3a3;
    --cf-gray-300: #d4d4d4;
    --cf-gray-200: #e5e5e5;
    --cf-gray-100: #f5f5f5;
    --cf-white: #ffffff;

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

    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

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

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

/* ================================================
   Reset & Base
   ================================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--cf-gray-300);
    background: var(--cf-dark);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

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

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

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

ul, ol {
    list-style: none;
}

/* ================================================
   Typography
   ================================================ */

h1, h2, h3, h4, h5, h6 {
    color: var(--cf-white);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--cf-gray-400);
}

.text-gradient {
    background: linear-gradient(135deg, var(--cf-orange) 0%, var(--cf-orange-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ================================================
   Layout
   ================================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-4xl) 0;
}

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

.section-header p {
    margin-top: var(--space-md);
    font-size: 1.125rem;
}

/* ================================================
   Navigation
   ================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cf-white);
}

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

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

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

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

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

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

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

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

/* ================================================
   Buttons
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--cf-orange);
    color: var(--cf-white);
}

.btn-primary:hover {
    background: var(--cf-orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--cf-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.btn-outline:hover {
    background: var(--cf-orange);
    color: var(--cf-white);
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.125rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ================================================
   Hero Section
   ================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(246, 130, 31, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

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

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h1 {
    margin-bottom: var(--space-lg);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--cf-gray-400);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat h4 {
    font-size: 2rem;
    color: var(--cf-white);
}

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

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    position: relative;
    width: 280px;
    z-index: 2;
}

.phone-frame {
    position: relative;
    background: var(--cf-gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow:
        0 50px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.phone-screen {
    position: relative;
    background: var(--cf-dark);
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 30px;
    background: var(--cf-gray-900);
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(246, 130, 31, 0.3) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 1;
}

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

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 0;
        margin-bottom: var(--space-xl);
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .phone-mockup {
        width: 240px;
    }
}

/* ================================================
   Features Section
   ================================================ */

.features {
    background: var(--cf-darker);
    position: relative;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-base);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(246, 130, 31, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(246, 130, 31, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--cf-orange);
}

.feature-card h4 {
    margin-bottom: var(--space-sm);
}

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

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

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

/* ================================================
   Services Section (What You Can Manage)
   ================================================ */

.services {
    position: relative;
}

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

.service-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.service-category h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cf-orange);
    margin-bottom: var(--space-md);
}

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

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

.service-item svg {
    width: 18px;
    height: 18px;
    color: var(--cf-gray-500);
    flex-shrink: 0;
}

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

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

/* ================================================
   Security Section
   ================================================ */

.security {
    background: var(--cf-darker);
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.security-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.security-content h2 {
    margin-bottom: var(--space-lg);
}

.security-content > p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.security-feature {
    display: flex;
    gap: var(--space-md);
}

.security-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.security-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--success);
}

.security-feature h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

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

.security-visual {
    position: relative;
}

.security-diagram-modern {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(25, 25, 25, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.diagram-device {
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
}

.diagram-device-label {
    position: absolute;
    top: -10px;
    left: 16px;
    background: #1a1a1a;
    padding: 0 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cf-gray-500);
    display: flex;
    align-items: center;
    gap: 6px;
}

.diagram-device-label svg {
    color: var(--cf-orange);
}

.diagram-token {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    width: 100%;
    justify-content: center;
}

.diagram-token span {
    font-weight: 600;
    color: var(--cf-white);
}

.diagram-token small {
    color: var(--cf-gray-500);
    font-size: 0.6875rem;
}

.diagram-token-root {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(99, 102, 241, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.diagram-token-root svg {
    color: #6366f1;
}

.diagram-token-app {
    background: linear-gradient(135deg, rgba(246, 130, 31, 0.15) 0%, rgba(246, 130, 31, 0.05) 100%);
    border: 1px solid rgba(246, 130, 31, 0.3);
}

.diagram-token-app svg {
    color: var(--cf-orange);
}

.diagram-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 4px 0;
}

.diagram-arrow-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, #6366f1, var(--cf-orange));
    border-radius: 1px;
    position: relative;
}

.diagram-arrow-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -3px;
    border: 4px solid transparent;
    border-top-color: var(--cf-orange);
}

.diagram-arrow span {
    font-size: 0.625rem;
    color: var(--cf-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diagram-connection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.diagram-connection-line {
    width: 2px;
    height: 24px;
    background: linear-gradient(180deg, var(--cf-orange), #22c55e);
    border-radius: 1px;
    position: relative;
}

.diagram-connection-line::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -3px;
    border: 4px solid transparent;
    border-top-color: #22c55e;
}

.diagram-data-pulse {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    left: -2px;
    box-shadow: 0 0 8px #22c55e;
    animation: dataPulse 1.5s ease-in-out infinite;
}

@keyframes dataPulse {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

.diagram-connection span {
    font-size: 0.625rem;
    color: var(--cf-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diagram-api {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 8px;
    font-size: 0.8125rem;
}

.diagram-api svg {
    color: #22c55e;
}

.diagram-api span {
    font-weight: 600;
    color: var(--cf-white);
}

.diagram-badges {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
}

.diagram-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.6875rem;
    color: var(--cf-gray-500);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 12px;
}

.diagram-badge svg {
    color: #22c55e;
}

@media (max-width: 968px) {
    .security-container {
        grid-template-columns: 1fr;
    }

    .security-visual {
        order: -1;
    }
}

/* ================================================
   Pricing Section
   ================================================ */

.pricing {
    position: relative;
}

.pricing-toggle {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

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

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

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

.pricing-card.featured {
    background: rgba(246, 130, 31, 0.05);
    border-color: rgba(246, 130, 31, 0.3);
}

.pricing-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cf-orange);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.pricing-badge {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--cf-orange);
    color: var(--cf-white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

.pricing-header {
    margin-bottom: var(--space-xl);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.pricing-header p {
    font-size: 0.9375rem;
}

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

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--cf-white);
}

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

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

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--cf-gray-300);
}

.pricing-features li svg {
    width: 20px;
    height: 20px;
    color: var(--success);
    flex-shrink: 0;
    margin-top: 2px;
}

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

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

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

/* ================================================
   FAQ Section
   ================================================ */

.faq {
    background: var(--cf-darker);
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.faq-item h4 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--cf-white);
}

.faq-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

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

/* ================================================
   CTA Section
   ================================================ */

.cta {
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(246, 130, 31, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.cta p {
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.app-store-badge {
    height: 54px;
    transition: var(--transition-base);
}

.app-store-badge:hover {
    transform: scale(1.05);
}

/* ================================================
   Footer
   ================================================ */

.footer {
    background: var(--cf-darker);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cf-white);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cf-white);
    margin-bottom: var(--space-lg);
}

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

.footer-links a {
    font-size: 0.875rem;
    color: var(--cf-gray-500);
    transition: var(--transition-fast);
}

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

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

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

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

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.footer-social a:hover {
    background: var(--cf-orange);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: var(--cf-gray-400);
}

.footer-social a:hover svg {
    color: var(--cf-white);
}

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

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

/* ================================================
   Utilities
   ================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.text-orange {
    color: var(--cf-orange);
}

/* ================================================
   Animations
   ================================================ */

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

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* ================================================
   Mobile Fixes
   ================================================ */

@media (max-width: 768px) {
    .scroll-indicator {
        display: none !important;
    }

    .hero-glow {
        width: 250px;
        height: 250px;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .container {
        padding: 0 var(--space-md);
    }
}
