:root {
    /* Color Palette - Light Mode */
    --bg-dark: #F8FAFC;
    --bg-card: rgba(255, 255, 255, 0.7);
    --border-glass: rgba(0, 0, 0, 0.08);
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --accent-primary: #0284C7;
    --accent-secondary: #7C3AED;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Fira Code', monospace;

    /* Layout */
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Glows */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
    filter: blur(80px);
}

.ambient-glow.secondary {
    top: auto;
    bottom: -20%;
    right: -10%;
    left: auto;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #007BFF);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo img {
    height: 32px;
    width: auto;
    border-radius: 8px;
    /* Assuming the logo might need slight rounding, adjust if it's already perfectly shaped */
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Sections */
.section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 120px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Panel */
.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 64px;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: var(--accent-secondary);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-container {
    position: relative;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.4) 100%);
    border: 1px solid var(--border-glass);
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(20px);
}

.glass-container.large {
    border-radius: 24px;
    padding: 10px;
}

.mockup-img {
    width: 320px;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    background: #111;
}

.mockup-img.full-width {
    width: 100%;
    height: auto;
    max-height: 400px;
    border-radius: 16px;
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    padding: 12px 20px;
    border-radius: 16px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    animation: float 6s ease-in-out infinite;
}

.floating-badge i {
    color: var(--accent-primary);
}

.fb-1 {
    top: 10%;
    left: -60px;
    animation-delay: 0s;
}

.fb-2 {
    bottom: 20%;
    right: -60px;
    animation-delay: -3s;
}

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    background: rgba(2, 132, 199, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--accent-primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Showcase */
.showcase {
    display: flex;
    align-items: center;
    gap: 64px;
}

.showcase.align-center {
    align-items: center;
}

.showcase-visual {
    flex: 1.2;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.showcase-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-list i {
    color: var(--accent-secondary);
    font-size: 1.5rem;
}

/* CTA Section */
.cta-panel {
    text-align: center;
    padding: 80px 40px;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0%, rgba(241, 245, 249, 0.95) 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.cta-panel h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-panel p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn.large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.footnote {
    margin-top: 24px;
    font-size: 0.9rem !important;
    opacity: 0.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 64px 24px 32px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.link-column h4 {
    margin-bottom: 20px;
}

.link-column a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.link-column a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations Core */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Responsive tweaks */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .floating-badge {
        display: none;
    }

    .showcase {
        flex-direction: column-reverse;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 3rem;
    }

    .cta-panel h2 {
        font-size: 2.5rem;
    }
}