:root {
    --primary: #1976D2;
    --primary-light: #64B5F6;
    --primary-dark: #0D47A1;
    --text-dark: #0f172a;
    --text-gray: #475569;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-premium: 0 20px 40px -10px rgba(25, 118, 210, 0.15);

    /* Footer Colors */
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --footer-title: #f1f5f9;
}

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

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

h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

p {
    color: var(--text-gray);
}

img {
    max-width: 100%;
    display: block;
}

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

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}

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

.btn-sm {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

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

.btn-google-play {
    display: inline-flex;
    align-items: center;
    /* Vertically center icon and text block */
    background: #000;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    gap: 12px;
    line-height: 1;
    min-width: 180px;
    /* Ensure minimum width */
}

.btn-google-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.play-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    filter: invert(1);
}

.text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align text */
    justify-content: center;
}

.text-col .label {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 2px;
}

.text-col .store {
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap;
}


.shadow-2xl {
    box-shadow: var(--shadow-premium);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* .mesh-gradient removed as it was empty */

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.logo img {
    width: 32px;
    border-radius: 8px;
}

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

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
    text-decoration: none;
}

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

.nav-btn {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Simplified mobile for this demo */
}

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 80px;
    background: radial-gradient(circle at 10% 20%, rgba(100, 181, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(25, 118, 210, 0.1) 0%, transparent 40%);
    overflow: hidden;
}

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

.hero-copy h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.subhead {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 500px;
}

.trust-badge {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
    background: rgba(25, 118, 210, 0.08);
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 100px;
}

.stars {
    display: flex;
    gap: 2px;
}

.fill-star {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* Masonry Fan Visual */
.masonry-fan {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.fan-card {
    position: absolute;
    width: 220px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.2);
    border: 4px solid white;
    transition: transform 0.5s ease;
}

.card-1 {
    transform: translateX(-140px) translateY(40px) rotate(-12deg);
    z-index: 1;
}

.card-2 {
    transform: translateY(-20px) rotate(0deg);
    z-index: 2;
    scale: 1.1;
}

.card-3 {
    transform: translateX(140px) translateY(40px) rotate(12deg);
    z-index: 1;
}

.floating-badge {
    position: absolute;
    bottom: 60px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

.check-circle {
    width: 32px;
    height: 32px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 0.85rem;
}

@keyframes float {

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

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

/* Real Results */
.section-results {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.comparison-wrapper {
    max-width: 800px;
    margin: 0 auto 60px;
    border-radius: 24px;
    overflow: hidden;
    border: 8px solid white;
}

.comparison-container {
    position: relative;
    aspect-ratio: 4/5;
    /* Mobile optimized portrait aspect */
    width: 100%;
    cursor: col-resize;
    user-select: none;
}

@media (min-width: 768px) {
    .comparison-container {
        aspect-ratio: 16/9;
    }
}

.img-wrapper {
    position: absolute;
    inset: 0;
}

.img-wrapper.original {
    width: 50%;
    overflow: hidden;
    border-right: 2px solid white;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Override original wrapper img width via JS to keep aspect correct */

/* Slider Label (Scoped) */
.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.label-left {
    left: 20px;
}

.label-right {
    right: 20px;
}

.handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.handle-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Examples Grid */
.examples-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.example-card {
    background: var(--bg-light);
    padding: 10px;
    border-radius: 20px;
}

.split-view {
    display: flex;
    gap: 4px;
    border-radius: 16px;
    overflow: hidden;
}

.split-item {
    position: relative;
    width: 50%;
}

.tiny-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.7rem;
    padding: 4px;
    backdrop-filter: blur(4px);
}

.brand {
    background: var(--primary);
    color: white;
}

/* Bento Grid */
.section-features {
    padding: 100px 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bento-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 400px;
    transition: transform 0.3s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: #f1f5f9;
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.bento-visual {
    flex-grow: 1;
    background: #F8FAFC;
    border-radius: 16px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Bento Visuals */
.mock-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 80%;
}

.mock-photo {
    aspect-ratio: 1;
    background: #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

.mock-photo.selected {
    border: 2px solid var(--primary);
    position: relative;
}

.mock-photo.selected img {
    opacity: 0.8;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.check-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(25, 118, 210, 0.4);
    z-index: 2;
}

.mock-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 60%;
}

.mock-tag {
    padding: 10px;
    background: white;
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

.mock-tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.download-circle {
    width: 60px;
    height: 60px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 10px;
}

.success-msg {
    font-weight: 600;
    color: #22c55e;
}


/* Trust Block */
.section-trust {
    padding: 60px 0;
}

.trust-box {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 40px;
    border-radius: 20px;
    background: rgba(25, 118, 210, 0.04);
    border: 1px solid rgba(25, 118, 210, 0.1);
}

.trust-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    text-align: center;
}

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

.trust-content ul {
    list-style: none;
    margin-top: 10px;
}

.trust-content li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--text-dark);
}

.tiny-icon {
    width: 18px;
    height: 18px;
    color: #22c55e;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    /* Mobile First: Bottom */
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #e2e8f0;
    padding: 16px 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-text {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.sticky-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}

@media (min-width: 768px) {
    .sticky-cta {
        bottom: auto;
        top: 0;
        border-bottom: 1px solid #e2e8f0;
        border-top: none;
        transform: translateY(-100%);
    }
}

/* FAQ */
.section-faq {
    padding: 80px 0;
    background: white;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content p {
    padding-bottom: 24px;
    color: var(--text-gray);
}

.faq-trigger.active i {
    transform: rotate(45deg);
    transition: transform 0.3s;
}

/* Footer Premium */
.footer-premium {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 80px 0 40px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand p {
    color: #64748b;
    margin: 16px 0 24px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
}

.footer-logo img {
    border-radius: 8px;
    width: 32px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.footer-nav h4 {
    color: var(--footer-title);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-nav .address {
    line-height: 1.6;
    color: #64748b;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #475569;
}

.icon-tiny {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    color: #ef4444;
    margin: 0 2px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

    .hero-copy h1 {
        font-size: 2.5rem;
    }

    .masonry-fan {
        height: 400px;
    }

    .card-1 {
        transform: translateX(-80px) translateY(30px) rotate(-12deg);
    }

    .card-3 {
        transform: translateX(80px) translateY(30px) rotate(12deg);
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .examples-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.hidden {
    display: none !important;
}

/* Language Switcher */
.lang-switch-container {
    position: relative;
    margin-left: 1rem;
    margin-right: 1rem;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.2s;
}

.lang-btn:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 120px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    padding: 4px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.lang-menu.hidden {
    display: none;
}

.lang-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-radius: 8px;
    transition: background 0.1s;
    text-align: left;
}

.lang-option:hover {
    background: #f1f5f9;
    color: var(--primary);
}