@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --bg-color: #050308;
    --card-bg: rgba(22, 17, 36, 0.4);
    --card-bg-hover: rgba(30, 22, 48, 0.6);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(189, 69, 255, 0.3);

    --text-main: #FFFFFF;
    --text-muted: #A39DB3;

    --purple-main: #BD45FF;
    --purple-light: #DF8FFF;
    --pink-accent: #FF5A96;
    --cyan-accent: #00E5FF;

    --font-sans: 'Outfit', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Background Effects */
.bg-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb-1 {
    position: absolute;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(ellipse at bottom, rgba(140, 61, 242, 0.25) 0%, rgba(140, 61, 242, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.glow-orb-2 {
    position: absolute;
    bottom: -30vh;
    right: -10vw;
    width: 60vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(255, 90, 150, 0.1) 0%, rgba(255, 90, 150, 0) 70%);
    border-radius: 50%;
    filter: blur(100px);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Typography elements */
.text-gradient {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--purple-light) 60%, var(--pink-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--purple-main), var(--pink-accent));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(189, 69, 255, 0.4);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--purple-main) 0%, #8A2BE2 100%);
    color: #FFF;
    box-shadow: 0 4px 15px rgba(189, 69, 255, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(189, 69, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #CF6BFF 0%, #9F3EFA 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #FFF;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
}

.hero-pill .dot {
    width: 6px;
    height: 6px;
    background-color: var(--purple-main);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--purple-main);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.5;
    }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    max-width: 900px;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 1rem;
}

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

/* Glass Card / Bento Box */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    padding: 4rem 0;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%, rgba(189, 69, 255, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg-hover);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(189, 69, 255, 0.1);
}

.glass-card:hover::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 40%, rgba(189, 69, 255, 0.5) 100%);
}

.col-span-12 {
    grid-column: span 12;
}

.col-span-8 {
    grid-column: span 8;
}

.col-span-7 {
    grid-column: span 7;
}

.col-span-6 {
    grid-column: span 6;
}

.col-span-5 {
    grid-column: span 5;
}

.col-span-4 {
    grid-column: span 4;
}

/* Dashboard / Stats Layout inside Cards */
.stat-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    flex: 1;
    min-width: 150px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFF;
}

.card-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Feature icon */
.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(189, 69, 255, 0.1), rgba(255, 90, 150, 0.1));
    border: 1px solid rgba(189, 69, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--purple-light);
}

/* Legal Documents Styling */
.legal-container {
    max-width: 900px;
    margin: 6rem auto;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    backdrop-filter: blur(20px);
}

.legal-header {
    margin-bottom: 3rem;
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-header h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--text-muted);
}

.legal-content h2 {
    font-size: 1.5rem;
    color: #FFF;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: #E2D9F3;
    margin: 1.5rem 0 0.75rem;
    font-weight: 500;
}

.legal-content p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: #FFF;
}

.disclaimer-box {
    background: rgba(255, 90, 150, 0.05);
    border-left: 4px solid var(--pink-accent);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 12px 12px 0;
}

/* User Input / Bot Action Section */
.cta-box {
    background: linear-gradient(135deg, rgba(140, 61, 242, 0.1), rgba(0, 0, 0, 0.4));
    border: 1px solid rgba(189, 69, 255, 0.3);
    border-radius: 20px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 2rem auto 0;
}

.cta-input {
    background: transparent;
    border: none;
    color: #FFF;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 1rem 1.5rem;
    width: 100%;
    outline: none;
}

.cta-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.cta-button {
    background: var(--purple-main);
    color: #FFF;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cta-button:hover {
    background: #CF6BFF;
}

/* Big Image mockup placeholder / Graphics */
.mockup-container {
    width: 100%;
    margin: 4rem 0;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mockup-window {
    width: 80%;
    max-width: 900px;
    background: #0D0914;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 100px rgba(189, 69, 255, 0.15);
    transform: rotateX(5deg) scale(0.95);
    transition: transform 0.5s ease;
}

.mockup-window:hover {
    transform: rotateX(0deg) scale(1);
}

.mockup-header {
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 6px;
}

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot.r {
    background: #FF5A5A;
}

.mockup-dot.y {
    background: #FFC55A;
}

.mockup-dot.g {
    background: #58E268;
}

.mockup-body {
    padding: 2rem;
    min-height: 300px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

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

.footer-col h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #FFF;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--purple-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        display: flex;
        flex-direction: column;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 5rem 0 3rem;
    }

    .nav-links {
        display: none;
        /* simple mobile nav */
    }

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

    .mockup-window {
        width: 100%;
    }
}

/* Animations added for smooth reveals */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible,
.fade-in.visible,
.zoom-in.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}