:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-purple: #5b3df5;
    --accent-blue: #216ba5;
    --vibrant-purple: #7c3aed;
    --vibrant-blue: #3b82f6;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: initial;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 50% -20%, #20134d 0%, #050505 50%, #000000 100%);
    background-attachment: fixed;
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3%3Cfilter id='noiseFilter'%3%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3%3C/filter%3%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3%3C/svg%3");
    opacity: 0.05;
    pointer-events: none;
    z-index: 9999;
}

/* Radiant Blooms (Background Glows) */
.bloom {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Lenis smooth scrolling requirement */
html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(5, 5, 5, 0.6);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.logo span:first-of-type {
    font-weight: 800;
}

.logo span:last-of-type {
    font-weight: 300;
    opacity: 0.7;
}

.navbar-logo {
    height: 32px;
    width: auto;
}


.hero-logo {
    height: 140px;
    width: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(91, 61, 245, 0.4));
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo {
    height: 30px;
    width: auto;
}

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

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

.nav-links a:hover {
    opacity: 0.7;
}

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600 !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.gradient-text {
    background: linear-gradient(90deg, var(--vibrant-purple), var(--vibrant-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.image-text {
    background-image: url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(91, 61, 245, 0.3));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.btn-main {
    display: inline-block;
    background: var(--accent-purple);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 0 20px rgba(91, 61, 245, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(91, 61, 245, 0.6);
}

.hero-visual {
    margin-top: 4rem;
    width: 100%;
    max-width: 1200px;
    perspective: 1000px;
}

.mockup-container {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 0 50px rgba(91, 61, 245, 0.1);
    background: var(--glass-bg);
}

.hero-img {
    width: 100%;
    display: block;
}

/* Features Story (Pinned) */
.features-story {
    margin-top: 10rem;
    position: relative;
}

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

.story-text {
    flex: 1;
}

.step {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 4rem;
}

.step h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--vibrant-purple);
}

.step p {
    font-size: 1.3rem;
    opacity: 0.8;
    max-width: 400px;
}

.story-visual {
    flex: 1;
    height: 100vh;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.features-img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.overlay-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(91, 61, 245, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* CTA */
.cta {
    padding: 15rem 2rem;
    text-align: center;
    background: radial-gradient(circle at center, rgba(91, 61, 245, 0.1) 0%, transparent 70%);
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.btn-download {
    display: inline-block;
    background: white;
    color: black;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.3s;
}

.btn-download:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    opacity: 0.6;
    font-size: 0.9rem;
}

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

.social-links a {
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    .story-container {
        flex-direction: column;
    }

    .story-visual {
        display: none;
    }

    .step {
        height: auto;
        padding: 4rem 0;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 10rem 2rem 5rem;
    background: radial-gradient(circle at center, rgba(91, 61, 245, 0.1) 0%, transparent 70%);
}

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

.pricing-header h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: 3rem 2rem;
    position: relative;
    backdrop-filter: blur(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.pricing-card.pro {
    background: linear-gradient(135deg, rgba(91, 61, 245, 0.05), rgba(5, 5, 5, 0.1));
    border: 1px solid rgba(91, 61, 245, 0.2);
}

.pricing-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.pricing-card.pro:hover {
    border-color: var(--vibrant-purple);
    box-shadow: 0 30px 60px rgba(91, 61, 245, 0.2);
}

.pro-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--vibrant-purple), var(--vibrant-blue));
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card .price {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-card .price span {
    font-size: 4rem;
    font-weight: 800;
    color: white;
}

.pricing-card .price p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: "✓";
    color: var(--vibrant-purple);
    font-weight: bold;
}

.pricing-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.download-hint {
    font-size: 0.85rem;
    margin-top: 0.8rem;
    color: #ffffff;
    text-align: center;
}

.download-hint code {
    background: rgba(255, 255, 255, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    color: #ffffff;
}