:root {
    --primary: #10b981;
    --primary-glow: rgba(16, 185, 129, 0.4);
    --secondary: #6366f1;
    --secondary-glow: rgba(99, 102, 241, 0.4);
    --accent: #facc15;
    --bg: #ffffff;
    --surface: rgba(255, 255, 255, 0.9);
    --text: #0f172a;
    --text-muted: #64748b;
    --gradient: linear-gradient(135deg, #10b981 0%, #6366f1 100%);
    --gradient-royal: linear-gradient(135deg, #6C5CE7 0%, #a29bfe 100%);
    --card-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Fredoka', sans-serif;
    letter-spacing: -0.02em;
}

.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: #ffffff;
}

.mesh-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.mesh-blob-2 {
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    width: 800px;
    height: 800px;
    right: -200px;
    top: -200px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.mesh-blob-3 {
    background: radial-gradient(circle, #facc1522 0%, transparent 70%);
    width: 500px;
    height: 500px;
    bottom: -100px;
    left: 10%;
    animation-duration: 30s;
}

@keyframes move {
    from {
        transform: translate(-10%, -10%) rotate(0deg);
    }

    to {
        transform: translate(10%, 10%) rotate(360deg);
    }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    height: 72px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 100px;
    z-index: 2000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    overflow: hidden;
    /* Prevent alt text bleeding before img loads */
}

.logo-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s;
    opacity: 0.7;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-1px);
}

.nav-cta .btn-nav {
    padding: 10px 24px;
    border-radius: 20px;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px var(--primary-glow);
    white-space: nowrap;
}

.nav-cta .btn-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content h1 {
    font-size: 72px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero-content .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 38px;
    /* Precision 1cm gap */
    margin-top: 48px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.btn {
    padding: 16px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    position: relative;
    overflow: hidden;
    height: 60px;
    /* Force match with btn-web */
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    transition: all 0.6s;
    animation: sheen 4s infinite;
}

@keyframes sheen {
    10% {
        left: -60%;
    }

    40% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px -10px var(--primary-glow);
}

.btn-secondary {
    background: var(--text);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.btn-web {
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    height: 60px;
    /* Match Google Play badge height */
    display: flex;
    align-items: center;
}

.btn-web .inner-btn {
    background: transparent;
    color: var(--primary);
    padding: 0 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    height: 100%;
}

.btn-web:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.2);
}

.btn-web:hover .inner-btn {
    background: transparent;
}

.play-store-badge {
    height: 44px;
    /* Slightly reduced for better fit inside 60px btn */
    display: block;
}

/* Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #000;
    border-radius: 54px;
    border: 12px solid #1a1f2c;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: float 6s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Home indicator / Notch area */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 30px;
    background: #1a1f2c;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.app-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.phone-mockup:hover .app-screen-img {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: white;
}

.section-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-image img {
    max-width: 200px;
    /* Consistent with feedback */
    height: auto;
}

.mascot-img {
    background: var(--gradient);
    padding: 32px;
    border-radius: 40px;
    box-shadow: var(--card-shadow);
    max-width: 240px !important;
    /* Slightly larger mascot */
    display: block;
    margin: 0 auto;
}

/* Responsiveness */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 60px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 20px !important;
        margin-top: 40px;
        width: 100%;
    }

    .btn-primary,
    .btn-web {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .section-image {
        order: -1;
        margin-bottom: 20px;
    }

    .mascot-img {
        max-width: 200px !important;
        padding: 24px;
    }

    .hero-content h1 {
        font-size: clamp(32px, 8vw, 42px) !important;
        text-align: center;
    }

    .hero-content p {
        text-align: center;
        margin: 0 auto 32px auto;
    }

    .section-header h2 {
        font-size: 32px;
        text-align: center;
    }

    .section-header p {
        text-align: center;
    }
}

/* Nav links are flex by default on desktop, hidden on mobile in next mq */

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .premium-card {
        padding: 32px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

.section-header h2 {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--text);
    line-height: 1.2;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 48px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--card-shadow);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    background: white;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 20px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Subscription */
.sub-container {
    display: flex;
    justify-content: center;
}

.sub-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px);
    padding: 80px 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.sub-card::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 30px;
    right: -40px;
    background: var(--accent);
    color: #422006;
    font-size: 11px;
    font-weight: 900;
    padding: 8px 50px;
    transform: rotate(45deg);
}

.price {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0;
    color: var(--primary);
}

.price span {
    font-size: 18px;
    color: var(--text-muted);
    font-weight: 400;
}

.sub-list {
    list-style: none;
    text-align: left;
    margin-bottom: 40px;
}

.sub-list li {
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
    color: var(--text-muted);
}

.sub-footer {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact {
    font-size: 14px;
    color: var(--text-muted);
}

.contact a {
    color: var(--primary);
    text-decoration: none;
}

.foot.hero-cta {
    display: flex;
    gap: 38px;
    /* Approx 1cm as requested */
    margin-top: 40px;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .nav-links a:not(.btn) {
        display: none;
    }

    .grid-features {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 48px;
    }
}