:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --secondary: #a855f7;
    --background: #ffffff;
    --card-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --text: #0f172a;
    --text-muted: #475569;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Background Timeline Pattern */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('assets/mockup.png');
    background-size: 800px;
    background-repeat: repeat;
    opacity: 0.03;
    transform: rotate(-15deg);
    z-index: -2;
    pointer-events: none;
}

.blob-bg,
.blob-bg-2 {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.blob-bg {
    top: -200px;
    right: -200px;
}

.blob-bg-2 {
    bottom: -200px;
    left: -200px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

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

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

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

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

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

.nav-links a {
    text-decoration: none;
    /* color: var(--text-muted); */
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 1.5rem;
    font-weight: 300;
}

.privacy-tagline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(124, 58, 237, 0.04);
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    margin: 0 auto 3rem;
    max-width: fit-content;
    border: 1px solid rgba(124, 58, 237, 0.1);
    font-weight: 500;
}

.privacy-tagline i {
    color: var(--primary);
    width: 18px;
    height: 18px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 5rem;
}

.btn {
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.glass-btn {
    backdrop-filter: blur(4px);
    background: rgba(124, 58, 237, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
    background: var(--primary-dark) !important;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--glass-border);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text);
}

.hero-mockup {
    position: relative;
    max-width: 1920px;
    /* Wider mockup area */
    margin: 10rem auto 0;
}

.mockup-slider-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.slider-btn {
    background: white;
    border: 1px solid var(--glass-border);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text);
    flex-shrink: 0;
    z-index: 20;
}

.slider-btn:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.mockup-frame {
    flex-grow: 1;
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 24px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    /* width: 100%; */
    aspect-ratio: 16 / 9;
    /* Common dashboard aspect ratio */
}

.slides {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Ensure full image is visible without cropping */
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active {
    opacity: 1;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

.glow-wrap::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    filter: blur(60px);
    opacity: 0.15;
    z-index: -1;
}

/* Features */
.features {
    padding: 100px 0;
}

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

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
}

.icon-wrap {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Tech Stack */
.tech-stack {
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.01);
}

.tech-stack h3 {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.stack-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
    /* Force one line */
}

.stack-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 140px;
}

.stack-item img {
    height: 32px;
    /* Standard height for all tech logos */
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.stack-item span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.stack-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.stack-item.sqlite-special {
    opacity: 1;
}

.sqlite-icon-wrap {
    width: 48px;
    height: 32px;
    /* Standard logo height */
    background: #003b57;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-shadow: 0 4px 10px rgba(0, 59, 87, 0.15);
    transition: transform 0.3s ease;
}

.sqlite-icon-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.stack-item.sqlite-special:hover .sqlite-icon-wrap {
    transform: translateY(-5px) scale(1.1);
}

/* Footer */
.glass-footer {
    padding: 100px 0 40px;
    background: #f8fafc;
    border-top: 1px solid var(--glass-border);
}

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

.footer-info p {
    margin: 1.5rem 0;
    color: var(--text-muted);
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s;
}

.socials a:hover {
    background: var(--primary);
    color: white;
}

.footer-links h4,
.footer-cta h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

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

.footer-cta p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.copy {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 3rem;
    }

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

    .nav-links {
        display: none;
    }
}