:root {
    --primary: #1976D2;
    --primary-light: #42A5F5;
    --primary-dark: #1565C0;
    --accent: #00B8D4;
    --bg: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border: #E2E8F0;

    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body.menu-open {
    overflow: hidden;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Background Gradients */
.bg-blur {
    position: absolute;
    /* width: 600px; */
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
}

.bg-blur.top-left {
    top: -200px;
    left: -200px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 90%);
}

.bg-blur.bottom-right {
    bottom: 15%;
    right: -200px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

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

/* Utilities */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(25, 118, 210, 0.2), 0 2px 4px -1px rgba(25, 118, 210, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(25, 118, 210, 0.3), 0 4px 6px -2px rgba(25, 118, 210, 0.1);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-light);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    transition: padding 0.3s;
}

.navbar.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.logo-img {
    height: 32px;
    width: auto;
    color: black;
}

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

.nav-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a.get-app {
    color: white;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    cursor: pointer;
    transition: var(--transition);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text-main);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.lang-switch {
    display: flex;
    background: var(--bg-card-hover);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.lang-switch button {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.lang-switch button.active {
    background: var(--primary);
    color: white;
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(25, 118, 210, 0.05);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(25, 118, 210, 0.1);
    font-weight: 600;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-main);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

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

/* Phone Mockup */
.phone-mockup {
    width: min(340px, 80vw);
    aspect-ratio: 300 / 610;
    border-radius: 40px;
    border: 12px solid #1e293b;
    background: #000;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 10;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: #1e293b;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    z-index: 20;
}

.phone-mockup img.screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Floating Cards (Frosted Glass) */
.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0);
    /* Dark frost for premium look */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.75rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: black;
    /* White text for contrast on dark glass */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 20;
    animation: float 6s ease-in-out infinite;
    white-space: nowrap;
}

.floating-card.top-right {
    top: 75px;
    left: -80px;
    /* Positioned near the camera button at the top */
    animation-delay: 1s;
}

.floating-card.bottom-left {
    bottom: 110px;
    right: -40px;
    /* Positioned near the voice button at the bottom right */
    animation-delay: 0s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
}

/* Features Block */
.features {
    padding: 8rem 0;
    background-color: #F1F5F9;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: rgba(25, 118, 210, 0.05);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
}

/* Showcase / Analytics */
.showcase {
    padding: 6rem 0;
}

.showcase-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.showcase-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-main);
}

.showcase-text p {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    color: var(--text-main);
}

.check-list li::before {
    content: '✓';
    color: white;
    font-weight: bold;
    background: var(--primary);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Gallery */
.gallery {
    padding: 6rem 0;
    background-color: #F1F5F9;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.phone-mockup.md {
    width: 250px;
    height: 520px;
    border-width: 10px;
}

/* CTA */
.cta-section {
    padding: 6rem 0;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 5rem 3rem;
    border-radius: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 25px -5px rgba(25, 118, 210, 0.2);
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.store-btn {
    background: #000;
    color: white;
    border: 1px solid #333;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.store-btn:hover {
    background: #1e293b;
    transform: scale(1.05);
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

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

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

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

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Responsive */
@media (max-width: 992px) {

    .navbar .container {
        align-items: flex-start;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 1rem);
        right: 2rem;
        left: 2rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 24px;
        background: rgba(248, 250, 252, 0.95);
        border: 1px solid var(--border);
        box-shadow: 0 30px 50px -20px rgba(15, 23, 42, 0.35);
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }

    .nav-links.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.05rem;
        color: var(--text-main);
    }

    .nav-links .lang-switch,
    .nav-links .btn-primary,
    .nav-links .feedback-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-content,
    .showcase-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

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

    .hero-cta {
        flex-wrap: wrap;
    }

    .floating-card.top-right {
        right: auto;
        left: 10px;
        /* top: 20px; */
    }

    .floating-card.bottom-left {
        left: auto;
        right: 10px;
        bottom: 40px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .check-list li {
        justify-content: center;
    }

    .gallery-row {
        gap: 2rem;
    }

    .cta-banner {
        padding: 4rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero {
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2.4rem;
    }

    .hero-text p {
        font-size: 1.05rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .phone-mockup {
        width: min(300px, 85vw);
    }

    .gallery-row {
        flex-direction: column;
    }

    .cta-banner h2 {
        font-size: 2.2rem;
    }

    .cta-banner {
        padding: 3rem 1.75rem;
    }
}