:root {
    --primary: #E5B75A;
    --primary-light: #FDF6E3;
    --primary-dark: #CFA043;
    --background: #FAFAFA;
    --surface: #FFFFFF;
    --text-primary: #4B5563;
    --text-secondary: #6B7280;
    --boy-bg: #E1EFF6;
    --girl-bg: #FCE4EC;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.06);
    --shadow-premium: 0 30px 60px rgba(229, 183, 90, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Work Sans', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #1F2937;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Utilities */
.bg-gold { background-color: var(--primary); color: white; }
.bg-gold-light { background-color: var(--primary-light); }
.text-gold { color: var(--primary-dark); }
.bg-blue { background-color: var(--boy-bg); color: #1E40AF; }
.bg-pink { background-color: var(--girl-bg); color: #BE185D; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: white !important;
    box-shadow: 0 8px 16px rgba(229, 183, 90, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(229, 183, 90, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--surface);
    color: var(--text-secondary);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 250, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
    color: #1F2937;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-secondary);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--boy-bg), transparent);
    animation: float 10s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--girl-bg), transparent);
    animation: float 12s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 12px;
    background-color: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatars {
    display: flex;
    margin-left: 10px;
}

.avatars img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--background);
    margin-left: -16px;
    box-shadow: var(--shadow-sm);
}

.rating {
    display: flex;
    flex-direction: column;
}

.stars {
    font-size: 16px;
    letter-spacing: 2px;
}

.rating p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

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

.phone-mockup {
    position: relative;
    width: 320px;
    border-radius: 40px;
    box-shadow: var(--shadow-premium);
    background-color: var(--surface);
    border: 8px solid white;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(-10px);
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 32px;
    display: block;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.5);
    z-index: 3;
    animation: float-card 6s ease-in-out infinite alternate;
}

.card-1 {
    top: 20%;
    left: -80px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 25%;
    right: -60px;
    animation-delay: -3s;
}

@keyframes float-card {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-15px); }
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-sm);
}

.text-wrap h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.text-wrap p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Brands Section */
.brands {
    padding: 60px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    background-color: var(--surface);
    text-align: center;
}

.brands p {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 32px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
}

.brand-logos:hover {
    opacity: 0.8;
}

.brand-item {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 24px;
}

/* Features Section */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 40px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.features {
    padding: 120px 0;
    background-color: var(--background);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Showcase Section */
.showcase {
    padding: 120px 0;
    background-color: var(--surface);
    overflow: hidden;
}

.showcase-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-content {
    flex: 1;
}

.showcase-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.showcase-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefit-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 500;
    color: #1F2937;
}

.benefit-list li svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.showcase-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.analytics-shot {
    width: 100%;
    max-width: 500px;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    border: 8px solid white;
    position: relative;
    z-index: 2;
}

.blob-1 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-light), transparent);
    filter: blur(60px);
    border-radius: 50%;
    z-index: 1;
    right: -10%;
    top: -20%;
}

/* CTA Section */
.cta-section {
    padding: 120px 24px;
    background-color: var(--background);
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    z-index: 0;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 24px;
}

.cta-card p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 500px;
    margin-inline: auto;
}

.cta-card .btn-primary {
    background-color: white !important;
    color: var(--primary-dark) !important;
    box-shadow: none;
}

.cta-card .btn-primary:hover {
    transform: scale(1.05);
}

.small-text {
    font-size: 14px !important;
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    opacity: 0.7 !important;
}

/* Story Section */
.story {
    padding: 120px 0;
    background-color: var(--surface);
}

.story-card {
    display: flex;
    align-items: center;
    gap: 80px;
    background-color: var(--background);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.story-content {
    flex: 1;
    padding: 80px;
}

.story-content h2 {
    font-size: 40px;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.story-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.founder-info {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.founder-info strong {
    font-family: var(--font-heading);
    font-size: 20px;
    color: #1F2937;
}

.founder-info span {
    color: var(--text-secondary);
    font-size: 14px;
}

.story-image {
    flex: 1;
    height: 100%;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .story-card {
        flex-direction: column;
    }
    .story-content {
        padding: 40px;
        text-align: center;
    }
    .story-image {
        height: 400px;
        width: 100%;
    }
}

/* Footer */
footer {
    background-color: var(--surface);
    padding: 80px 0 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
}

.grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-col h4 {
    font-size: 16px;
    margin-bottom: 24px;
    font-weight: 600;
}

.link-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}

.link-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--text-secondary);
    font-size: 14px;
}

/* ═══════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 60px;
        max-width: 100%;
    }

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

    .social-proof {
        justify-content: center;
    }

    .floating-card.card-1 {
        left: -20px;
    }

    .floating-card.card-2 {
        right: -20px;
    }

    .showcase-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .benefit-list {
        align-items: center;
    }

    .showcase-visual {
        justify-content: center;
        width: 100%;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
═══════════════════════════════════════ */
@media (max-width: 768px) {

    /* --- Navbar --- */
    .nav-container {
        height: 64px;
    }
    .logo-text {
        font-size: 20px;
    }
    .logo-img {
        height: 32px;
    }
    /* Hide Premium outline btn, keep only Get the App */
    .nav-links .btn-outline {
        display: none;
    }
    .nav-links .btn-primary {
        padding: 10px 18px;
        font-size: 15px;
    }

    /* --- Hero --- */
    .hero {
        padding: 104px 0 64px;  /* 64px navbar-height + 40px gap */
    }

    .hero-title {
        font-size: clamp(28px, 8vw, 40px);
        letter-spacing: -1px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 17px;
        margin-bottom: 28px;
    }

    .cta-group {
        flex-direction: column;
        align-items: center;
        margin-bottom: 32px;
    }

    .cta-group .btn {
        width: 100%;
        max-width: 340px;
    }

    .social-proof {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    /* Hide floating notification cards — they overflow on mobile */
    .floating-card {
        display: none;
    }

    /* Phone mockup: flat on mobile, no 3D tilt */
    .phone-mockup {
        width: 260px;
        transform: none;
    }
    .phone-mockup:hover {
        transform: translateY(-6px);
    }

    /* --- Sections --- */
    .features,
    .showcase,
    .story {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-header h2 {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: -0.5px;
    }

    .section-header p {
        font-size: 16px;
    }

    /* --- Feature cards --- */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .feature-card {
        padding: 28px 24px;
    }

    .feature-card h3 {
        font-size: 20px;
    }

    /* --- Brands --- */
    .brands {
        padding: 40px 0;
    }

    .brand-logos {
        gap: 24px;
    }

    .brand-item {
        font-size: 18px;
    }

    /* --- Showcase (Analytics) --- */
    .showcase-content h2 {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: -0.5px;
    }

    .showcase-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .analytics-shot {
        border-width: 4px;
    }

    .benefit-list li {
        font-size: 16px;
    }

    /* --- Story --- */
    .story-card {
        flex-direction: column;
    }

    .story-content {
        padding: 36px 24px;
        text-align: center;
    }

    .story-content h2 {
        font-size: clamp(24px, 7vw, 34px);
        letter-spacing: -0.5px;
    }

    .story-content p {
        font-size: 16px;
    }

    .story-image {
        height: 280px;
        width: 100%;
    }

    .founder-info {
        margin-top: 28px;
        align-items: center;
    }

    /* --- CTA Section --- */
    .cta-section {
        padding: 72px 16px;
    }

    .cta-card {
        padding: 48px 24px;
        border-radius: var(--radius-md);
    }

    .cta-card h2 {
        font-size: clamp(22px, 6vw, 32px);
        margin-bottom: 16px;
    }

    .cta-card p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .cta-card .btn-large {
        width: 100%;
        max-width: 320px;
        font-size: 16px;
        padding: 16px 24px;
    }

    /* --- Footer --- */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-brand p {
        margin: 16px auto 0;
        font-size: 15px;
    }

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

    footer {
        padding: 56px 0 24px;
    }
}

/* ═══════════════════════════════════════
   RESPONSIVE — SMALL PHONES (≤480px)
═══════════════════════════════════════ */
@media (max-width: 480px) {

    .container {
        padding: 0 16px;
    }

    /* Tighter hero */
    .hero {
        padding: 96px 0 48px;
    }

    .hero-title {
        font-size: clamp(26px, 9vw, 36px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    /* Phone mockup smaller so content breathes */
    .phone-mockup {
        width: 220px;
    }

    /* Hero content bottom margin smaller */
    .hero-content {
        margin-bottom: 40px;
    }

    /* Footer links stack to 2 cols */
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    /* Brand strip: wrap tighter */
    .brand-logos {
        gap: 16px;
    }

    .brand-item {
        font-size: 16px;
    }

    /* Feature cards: tighter padding */
    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
    }

    /* Story: tighter */
    .story-image {
        height: 220px;
    }
}
