:root {
    /* Color Palette */
    --bg-dark: #0a0a0f;
    --bg-surface: #13131a;
    --primary: #00d2ff;
    --primary-glow: rgba(0, 210, 255, 0.4);
    --secondary: #3a7bd5;
    --accent: #ff007a;
    --text-main: #f0f0f5;
    --text-muted: #a0a0b0;
    --border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    overflow-x: hidden;
}

/* Typography utilities */
h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text {
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--primary);
    transition: var(--transition-smooth);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px var(--primary-glow);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 8rem 5% 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(135deg, rgba(10, 10, 15, 0.85) 0%, rgba(10, 10, 15, 0.2) 100%), url('assets/hero_background.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Scroll works best on all devices */
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: slideUp 1s ease forwards;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-end;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 300px;
    transform: translateX(100px);
    opacity: 0;
    animation: slideLeft 0.8s ease forwards;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    transform: translateY(-5px) !important;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.glass-card.delay-1 { animation-delay: 0.2s; }
.glass-card.delay-2 { animation-delay: 0.4s; }

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    display: inline-block;
}

.stat-symbol {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

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

/* How It Works */
.how-it-works {
    padding: 6rem 5%;
    position: relative;
    background: var(--bg-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    right: -10px;
    font-size: 8rem;
    font-weight: 800;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    z-index: 0;
}

.step-card > * {
    position: relative;
    z-index: 1;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 16px;
}

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

.step-card p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.microcopy {
    font-size: 0.85rem !important;
    color: var(--primary) !important;
    margin-bottom: 0 !important;
    margin-top: 1rem;
}

.note-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
    margin: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.reassurance-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.reassurance-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.support-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.support-icon {
    font-size: 1.5rem;
    background: rgba(0, 210, 255, 0.1);
    padding: 0.5rem;
    border-radius: 10px;
}

.support-item div {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.support-item strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.3rem;
}

@media (max-width: 968px) {
    .reassurance-panel {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .support-grid {
        grid-template-columns: 1fr;
    }
}

/* About */
.about {
    padding: 6rem 5%;
    background: linear-gradient(to bottom, var(--bg-dark), var(--bg-surface));
}

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

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.check-icon {
    color: var(--primary);
    font-weight: bold;
    background: rgba(0, 210, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 50%;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background: var(--bg-surface);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px var(--border);
    border-radius: 20px;
    pointer-events: none;
}

.glow-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .glow-image {
    transform: scale(1.05);
}

/* CTA Section */
.cta {
    padding: 6rem 5%;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
    opacity: 0.15;
    z-index: -1;
    filter: blur(60px);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary);
    background: rgba(0,0,0,0.4);
}

.form-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition-fast);
    pointer-events: none;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.8rem;
    background: var(--bg-surface);
    padding: 0 0.4rem;
    color: var(--primary);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #050508;
    padding: 4rem 5% 2rem;
    border-top: 1px solid var(--border);
}

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

.footer-brand p {
    margin-top: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 968px) {
    .hero {
        flex-direction: column;
        padding-top: 8rem;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        align-items: center;
        width: 100%;
    }
    
    .glass-card {
        transform: translateX(0) translateY(50px);
    }
    
    .about-grid, .glass-panel {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Animations */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* Brands Carousel */
.brands-carousel {
    padding: 3rem 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.brands-carousel::before,
.brands-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.brands-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-surface) 0%, transparent 100%);
}

.brands-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-surface) 0%, transparent 100%);
}

.carousel-track {
    display: inline-flex;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-items {
    display: inline-flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.carousel-items img {
    height: 40px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: var(--transition-fast);
}

.carousel-items img:hover {
    filter: grayscale(0%) opacity(1);
}

.fallback-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    cursor: default;
}

.fallback-logo:hover {
    color: var(--primary);
    opacity: 1;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
