:root {
    --bg-color: #ffffff;
    --surface-color: rgba(255, 255, 255, 0.7);
    --surface-border: rgba(0, 0, 0, 0.06);
    --text-primary: #111111;
    --text-secondary: #666666;
    --primary-color: #7b61ff;
    --primary-hover: #6347ff;
    --secondary-color: rgba(0, 0, 0, 0.04);
    --secondary-hover: rgba(0, 0, 0, 0.08);
    --accent-1: #ff3366;
    --accent-2: #00d2ff;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Blobs Background - More subtle in light mode */
.blob {
    position: fixed;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
}

.blob-2 {
    top: 40%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-1) 0%, transparent 70%);
    animation-delay: -5s;
}

.blob-3 {
    bottom: -20%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Typography & Utils */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-2), var(--primary-color), var(--accent-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(123, 97, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(123, 97, 255, 0.5);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-primary);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-primary-small {
    background: transparent;
    color: var(--primary-color);
    padding: 0.5rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 800;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(123, 97, 255, 0.1);
}

.btn-primary-small:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(123, 97, 255, 0.3);
}

/* Dropdown Implementation */
.dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--primary-color);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 16px;
    padding: 0.6rem;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(123, 97, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
}

.dropdown-wrapper.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.8rem 1.2rem;
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(4px);
    color: white;
}

.btn-primary-small:hover,
.btn-primary:hover {
    cursor: pointer;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
}

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

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.25rem;
    text-decoration: none;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

.logo-img.small {
    width: 28px;
    height: 28px;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    display: flex;
    align-items: center;
    transform: translateY(-1px);
    /* Visual nudge for better optical centering */
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* App Mockup Animation - Updated to match screenshot */
.mock-app {
    width: 330px;
    height: 660px;
    background: #ffffff;
    border: 8px solid #333;
    /* Darker frame for contrast */
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
}

.mock-status-bar {
    padding: 0.5rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: #111;
}

.status-icons {
    display: flex;
    gap: 0.4rem;
}

.mock-header {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.header-center {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-open-app {
    background: #f0f4ff;
    color: #4f46e5;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mock-chat {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
    overflow-y: hidden;
}

.message {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    max-width: 85%;
}

.user-message {
    background: #f0f7ff;
    color: #111;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ai-response-card {
    background: #fff;
    align-self: flex-start;
}

.ai-response-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.ai-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    text-transform: none;
    letter-spacing: normal;
}

.ai-time {
    font-size: 0.65rem;
    color: #bbb;
}

.ai-content {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-content p {
    margin-bottom: 0.8rem;
}

.ai-warning {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 800;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.floating-ai-input {
    background: #fff;
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}

.ai-input-top {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.ai-input-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 0.85rem;
}

.ai-input-left {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.ai-input-right {
    display: flex;
    gap: 0.8rem;
    color: #888;
}

.mock-bottom-section {
    padding: 0.8rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.mock-input-area {
    background: #f1f3f9;
    padding: 0.6rem 1rem;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.mock-input {
    font-size: 0.78rem;
    /* Reduced to fit on one line */
    color: #666;
    background: transparent;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.input-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mock-send-btn {
    width: 32px;
    height: 32px;
    background: #4f46e5;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mock-tabs {
    display: flex;
    justify-content: space-between;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
}

.tab-item.active {
    color: #4f46e5;
    position: relative;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: #4f46e5;
    border-radius: 2px;
}

.mock-input {
    flex: 1;
    background: #f5f5f5;
    border-radius: 20px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mock-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

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

/* Features */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition-normal);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: #f8f9fa;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* Models Section */
.models-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.model-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 1.8rem 1rem;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.model-card:hover {
    background: white;
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 30px rgba(123, 97, 255, 0.15);
}

.model-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.model-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Download Section */
.download-section {
    padding: 8rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.download-card {
    background: linear-gradient(135deg, #ffffff, #f9f9f9);
    border: 1px solid var(--surface-border);
    border-radius: 40px;
    padding: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(123, 97, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.download-info h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.download-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.qr-code-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.qr-mock {
    width: 160px;
    height: 160px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-weight: bold;
    font-size: 2.5rem;
    padding: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 10px, #fafafa 10px, #fafafa 20px);
}

.qr-code-placeholder p {
    font-weight: 600;
    color: var(--text-secondary);
}

/* Footer */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 4rem 2rem;
    margin-top: 6rem;
    background: transparent;
}

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

.copyright {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 960px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding: 4rem 2rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-links a:not(.btn-primary-small) {
        display: none;
    }

    .models-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }

    .download-info h3 {
        font-size: 2rem;
    }
}