/* style.css — VisionAtlas-inspired design */
:root {
    --clip-background: #020617;
    --clip-surface: rgba(15, 23, 42, 0.7);
    --clip-surface-solid: #0F172A;
    --clip-border: rgba(255, 255, 255, 0.08);
    --clip-border-hover: rgba(255, 255, 255, 0.15);
    --clip-primary: #6366F1;
    --clip-primary-light: #818CF8;
    --clip-secondary: #8B5CF6;
    --clip-accent-cyan: #06B6D4;
    --clip-text-light: #F8FAFC;
    --clip-text-secondary: #94A3B8;
    --clip-text-muted: #64748B;
    --clip-gradient-start: #6366F1;
    --clip-gradient-end: #8B5CF6;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--clip-background);
    background-image:
        radial-gradient(ellipse at 0% 0%, rgba(99, 102, 241, 0.20) 0px, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(139, 92, 246, 0.12) 0px, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--clip-text-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

::selection {
    background: rgba(99, 102, 241, 0.4);
    color: white;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.5);
}

a {
    color: var(--clip-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--clip-primary-light);
}

h1, h2, h3, h4 {
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

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

h2 {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Glassmorphism */
.glass {
    background: var(--clip-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clip-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Header & Nav */
header {
    padding: 1.25rem 0;
    background: rgba(2, 6, 23, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clip-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--clip-gradient-start), var(--clip-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    -webkit-text-fill-color: initial;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--clip-text-muted);
    transition: color 0.2s;
}

nav ul li a:hover {
    color: var(--clip-text-light);
}

nav ul li a.active {
    color: var(--clip-text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--clip-text-light);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    background: #e2e8f0;
    color: #000;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: var(--clip-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clip-border);
    color: var(--clip-text-light);
}

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

/* Sections */
section {
    padding: 5rem 0;
}

/* Hero */
.hero {
    text-align: center;
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--clip-text-muted);
    margin-bottom: 2rem;
}

.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--clip-gradient-start), var(--clip-gradient-end));
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.25);
}

.hero-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.hero h1 {
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--clip-text-secondary);
    font-weight: 500;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

.section-header p {
    color: var(--clip-text-muted);
    font-size: 1.1rem;
    max-width: 550px;
    margin: 0 auto;
}

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

.card {
    background: var(--clip-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clip-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--clip-border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon svg {
    width: 24px;
    height: 24px;
}

.card-icon.blue { background: rgba(99, 102, 241, 0.1); color: #818CF8; }
.card-icon.purple { background: rgba(139, 92, 246, 0.1); color: #A78BFA; }
.card-icon.cyan { background: rgba(6, 182, 212, 0.1); color: #22D3EE; }
.card-icon.emerald { background: rgba(16, 185, 129, 0.1); color: #34D399; }
.card-icon.amber { background: rgba(245, 158, 11, 0.1); color: #FBBF24; }
.card-icon.rose { background: rgba(244, 63, 94, 0.1); color: #FB7185; }

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

.card:hover h3 {
    color: var(--clip-primary-light);
}

.card p {
    color: var(--clip-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Steps / How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--clip-gradient-start), var(--clip-gradient-end));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: white;
    margin: 0 auto 1.25rem;
}

/* About cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Split layout (features detail) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-section .section-text h2 span {
    background: linear-gradient(to right, var(--clip-gradient-start), var(--clip-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    transition: all 0.3s;
}

.feature-list-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.feature-list-item .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.feature-list-item:hover .icon-box {
    transform: scale(1.1);
}

.feature-list-item .icon-box svg {
    width: 22px;
    height: 22px;
}

.feature-list-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transition: color 0.3s;
}

.feature-list-item:hover h3 {
    color: var(--clip-primary-light);
}

.feature-list-item p {
    font-size: 0.9rem;
    color: var(--clip-text-muted);
    margin-bottom: 0;
}

/* Typography helpers */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

.gradient-text {
    background: linear-gradient(to right, var(--clip-gradient-start), var(--clip-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
footer {
    background: rgba(2, 6, 23, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--clip-border);
    margin-top: 4rem;
}

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

.footer-links {
    display: flex;
    gap: 3rem;
    justify-content: flex-end;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    color: var(--clip-text-light);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: var(--clip-text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-column ul li a:hover {
    color: var(--clip-text-light);
}

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

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

/* Forms / Contact */
.contact-wrapper {
    max-width: 640px;
    margin: 0 auto;
}

.faq-item {
    background: var(--clip-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--clip-border);
    border-radius: 1rem;
    padding: 1.75rem;
    margin-bottom: 1rem;
    text-align: left;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--clip-border-hover);
    background: rgba(255, 255, 255, 0.03);
}

.faq-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--clip-text-light);
}

.faq-item p {
    margin-bottom: 0;
    color: var(--clip-text-muted);
}

/* Trust / Legal pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.legal-content > p:first-of-type {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--clip-text-muted);
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.legal-content p,
.legal-content li {
    color: var(--clip-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content a {
    color: var(--clip-primary-light);
}

.legal-content a:hover {
    text-decoration: underline;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 7rem 0 4rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-links {
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
}