:root {
    --primary: #f9a33f;
    --primary-gradient: linear-gradient(135deg, #f9a33f 0%, #fa8999 100%);
    --secondary: #5f8099;
    --accent-pink: #f9afba;
    --background: #fdf1e2;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --glass: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Liquid Background Effect */
.liquid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: rgba(95, 128, 153, 0.3);
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: rgba(249, 175, 186, 0.3);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.blob-3 {
    background: rgba(249, 163, 63, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.1);
    }
}

/* Glassmorphism */
.glass {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

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

nav {
    position: sticky;
    top: 0;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    margin: 0 -2rem;
    padding: 0 2rem;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    nav {
        top: 24px;
        margin: 24px 0;
        border-radius: 24px;
        border: 1px solid var(--glass-border);
        box-shadow: var(--shadow);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(249, 163, 63, 0.3);
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transform: translateY(-100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 999;
    border-bottom: 1px solid var(--glass-border);
    visibility: hidden;
}

.mobile-menu.active {
    transform: translateY(0);
    visibility: visible;
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-dark);
}

.mobile-menu .btn-primary {
    color: white;
    font-size: 1.1rem;
}

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

    .hamburger {
        display: flex;
    }
}

.hero {
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 18px 36px;
    background: var(--text-dark);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    gap: 12px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
}

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

.phone-frame {
    width: 300px;
    height: 600px;
    background: #111;
    border: 12px solid #222;
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    flex-direction: column;
    padding: 30px 15px;
    position: relative;
    text-align: center;
}

.mock-app-header h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.mock-app-header p {
    font-size: 0.6rem;
    opacity: 0.6;
    margin-bottom: 25px;
}

.mock-slider-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    padding: 0 10px;
}

.mock-scale,
.mock-emojis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 280px;
    font-size: 0.6rem;
    font-family: monospace;
    color: var(--text-light);
}

.mock-emojis {
    font-size: 1rem;
}

.mock-track {
    width: 60px;
    height: 280px;
    background: var(--glass);
    border-radius: 30px;
    position: relative;
    display: flex;
    justify-content: center;
}

.mock-handle {
    width: 70px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 24px;
    position: absolute;
    top: 20px;
    /* This will be animated */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(249, 163, 63, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mock-handle .score {
    font-size: 0.8rem;
    font-weight: bold;
}

.mock-handle .emoji {
    font-size: 1.2rem;
}

.mock-active {
    color: var(--text-dark);
    font-weight: bold;
    transform: scale(1.3);
    transition: all 0.3s ease;
}

#features {
    scroll-margin-top: 140px;
}

.features {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    padding: 40px;
    height: 100%;
}

.feature-card .icon {
    width: 60px;
    height: 60px;
    background: var(--glass);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.footer {
    padding: 60px 0;
    text-align: center;
    color: var(--text-light);
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes float {

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

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

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

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

.hero-image {
    animation: float 6s ease-in-out infinite;
}

.mock-slider {
    animation: pulse-ring 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
    transition: opacity 0.5s ease-in-out;
}

.mock-slider::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    background: var(--primary);
    border-radius: 40px;
    filter: blur(20px);
    opacity: 0.2;
    z-index: -1;
    animation: pulse-ring 4s ease-in-out infinite reverse;
}

/* Final CTA Card */
.final-cta {
    margin: 100px 0;
    padding: 80px 40px;
    text-align: center;
    background: var(--text-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.final-cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.final-cta .blob {
    width: 300px;
    height: 300px;
    filter: blur(50px);
    opacity: 0.4;
}

.final-cta .btn-primary {
    background: white;
    color: var(--text-dark);
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 60px 0;
    }

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

    .hero-content p {
        margin: 0 auto 40px;
    }

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

    .final-cta h2 {
        font-size: 2rem;
    }
}