/* =============================================================
   KOODOS - Design System
   Colors extracted from Adobe XD prototype
   ============================================================= */

/* Cal Sans Display Font */
@import url("https://cdn.jsdelivr.net/fontsource/fonts/cal-sans@latest/latin-400-normal.css");

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --brand-teal:       #31756E;
    --brand-teal-dark:  #265c57;
    --brand-teal-light: #4a9690;
    --brand-lavender:   #A2B8FF;
    --brand-lime:       #DFFF9D;
    --brand-lime-dark:  #c8f070;
    --brand-cream:      #F9F5E7;
    --brand-cream-dark: #EDE9D6;
    --brand-orange:     #FF8C42;

    /* Neutral Palette */
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #4a4a4a;
    --gray-600: #6b6b6b;
    --gray-500: #8c8c8c;
    --gray-400: #b0b0b0;
    --gray-300: #d4d4d4;
    --gray-200: #e8e8e8;
    --gray-100: #f4f4f4;
    --white:    #FFFFFF;

    /* Typography */
    --font-display: 'Cal Sans', 'Inter', -apple-system, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md:  0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg:  0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl:  0 24px 48px rgba(0, 0, 0, 0.16);

    /* Radii */
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  40px;
    --radius-pill: 100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--gray-900);
    background: var(--brand-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* 12-Column Grid */
.grid-12 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    width: 100%;
}
.grid-12 > * { min-width: 0; }

.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

/* =============================================================
   NAVIGATION
   ============================================================= */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(249, 245, 231, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
    z-index: 1000;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.nav.nav-hidden {
    transform: translateY(-100%);
}

.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    text-decoration: none;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 28px;
    width: auto;
}

.logo:hover { opacity: 0.75; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 38px;
}

.nav-links a {
    color: #005950;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s;
}

.nav-links a:not(.btn-nav):not(.btn):hover {
    color: #005950;
}

/* Nav CTA Button */
.btn-nav {
    background: var(--brand-cream) !important;
    color: #005950 !important;
    border: 1px solid #005950 !important;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s, transform 0.2s !important;
}

.btn-nav:hover {
    background: #005950 !important;
    color: var(--white) !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--brand-teal);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}

/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: #A2B8FF;
    color: #005950;
}

.btn-primary:hover {
    background: var(--brand-teal-dark);
    color: var(--brand-cream);
}

.btn-secondary {
    background: var(--white);
    color: #005950;
    border: 1px solid #005950;
}

.btn-secondary:hover {
    background: var(--brand-cream);
}

.btn-lime {
    background: var(--brand-lime);
    color: var(--brand-teal-dark);
    box-shadow: 0 4px 14px rgba(223, 255, 157, 0.5);
}

.btn-lime:hover {
    background: var(--brand-lime-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    display: flex;
}

/* =============================================================
   HERO SECTION
   ============================================================= */

.hero {
    padding: 120px 0 0;
    background: var(--brand-cream);
    overflow: visible;
    position: relative;
}

.hero-squiggly {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}


.hero-squiggly-img {
    width: 100%;
    height: auto;
    display: block;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    min-height: 520px;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    padding-top: 120px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(162, 184, 255, 0.2);
    color: var(--brand-teal);
    border: 1px solid rgba(49, 117, 110, 0.2);
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #005950;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: clamp(16px, 1.8vw, 20px);
    color: #005950;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-mascot-img {
    max-width: 320px;
    width: 100%;
    height: auto;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero illustration side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 480px;
}

.hero-mascot-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero-mascot {
    width: 70%;
    max-width: 340px;
    animation: mascot-float 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(49, 117, 110, 0.15));
}

@keyframes mascot-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

/* Wavy SVG decorations behind mascot */
.hero-waves {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    opacity: 0.3;
    overflow: hidden;
    pointer-events: none;
}

/* Bottom wave separator */
.wave-separator {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: 40px;
}

.wave-separator svg {
    display: block;
    width: 100%;
}

/* =============================================================
   FEATURE SECTIONS
   ============================================================= */

.scallop-transition {
    line-height: 0;
    margin-top: -1px;
    transform: scaleY(-1);
}

.scallop-transition-img {
    width: 100%;
    display: block;
}

.wave-transition {
    line-height: 0;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}

.wave-transition-bottom {
    transform: scaleY(-1);
    margin-bottom: 0;
    margin-top: -1px;
}

.wave-transition-img {
    width: 100%;
    display: block;
}

.features-section {
    background: #DAE3FF;
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.feature-row {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-row:last-child { margin-bottom: 0; }

/* Alternating layout */
.feature-row.reverse {
    direction: rtl;
}
.feature-row.reverse > * {
    direction: ltr;
}

.feature-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-teal);
    margin-bottom: 12px;
    opacity: 0.75;
}

.feature-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 44px);
    font-weight: 400;
    color: #005950;
    margin-bottom: 16px;
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.feature-desc {
    font-size: 17px;
    color: #005950;
    line-height: 1.75;
    max-width: 440px;
}

/* Phone mockup image */
.feature-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: visible;
}

.feature-mockup img {
    max-width: 800px;
    width: 100%;
}

#feature-habits-img-1,
#feature-multidevice-img {
    max-width: 100%;
}


/* Side-by-side mockup pair */
.feature-mockup-pair {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    justify-content: center;
}

.feature-mockup-pair img {
    width: calc(50% - 8px);
    max-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    transition: transform 0.4s ease;
}

.feature-mockup-pair img:first-child {
    transform: translateY(20px);
}

.feature-mockup-pair img:first-child:hover {
    transform: translateY(12px) rotate(-1deg);
}

.feature-mockup-pair img:last-child:hover {
    transform: translateY(-4px) rotate(1deg);
}

/* =============================================================
   SECTION WAVE + BACKGROUND COLORS
   ============================================================= */

.section-cream {
    background: var(--brand-cream);
}

.section-white {
    background: var(--white);
}

.section-teal {
    background: var(--brand-teal);
    color: var(--white);
}

.section-lime {
    background: var(--brand-lime);
}

/* =============================================================
   GET STARTED SECTION (Steps)
   ============================================================= */

.get-started {
    background: var(--brand-cream);
    padding: 100px 0 80px;
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.5vw, 52px);
    font-weight: 400;
    color: #005950;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 18px;
    color: #005950;
    margin-bottom: 64px;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.step-card {
    text-align: center;
    padding: 24px 16px;
}

.step-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: url('../Assets/FlowerShape_Setup.png') center / contain no-repeat;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    position: relative;
}

.step-num-label {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    color: #005950;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 15px;
    color: #005950;
    line-height: 1.65;
}

/* =============================================================
   WHY LIMITING SCREENTIME MATTERS
   ============================================================= */

.why-section {
    background: #DFFFA9;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-placeholder {
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
}

.why-content .section-title {
    color: #005950;
    text-align: left;
    margin-bottom: 20px;
    line-height: 1.05;
}

.why-content .feature-desc {
    color: #005950;
    max-width: 100%;
}

/* =============================================================
   PRICING
   ============================================================= */

.pricing {
    background: var(--brand-cream);
    padding: 100px 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--brand-cream);
    border: 1px solid #005950;
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.pricing-card:hover {
    transform: translateY(-6px);
}

/* Featured pricing card (lime) */
.pricing-card-featured {
    background: var(--brand-lime);
    border-color: #005950;
}

.pricing-card-featured:hover {
}

.pricing-plan-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: #005950;
    margin-bottom: 16px;
    height: 30px;
}

.pricing-price-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 6px;
    height: 64px;
}

.price-amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    color: #005950;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: #005950;
    font-weight: 500;
}

.pricing-note {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.pricing-divider {
    border: none;
    height: 0;
    margin-bottom: 24px;
}

.pricing-features-list {
    list-style: none;
    flex: 1;
    margin-bottom: 28px;
}

.pricing-features-list li {
    padding: 10px 0;
    font-size: 15px;
    color: #005950;
    display: flex;
    align-items: flex-start;
    gap: 10px;

}

.pricing-features-list li:last-child {
}

.pricing-features-list li::before {
    content: '✓';
    color: #005950;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .btn { margin-top: auto; }

.pricing-card .btn-secondary {
    background: var(--brand-cream);
    border-color: #005950;
}

.pricing-card .btn-secondary:hover {
    background: #005950;
    color: var(--white);
}

.pricing-card-featured .btn-secondary {
    background: #DFFFA9;
    border-color: #005950;
}

/* Pricing "Coming soon" empty state */
.pricing-coming-soon {
    font-size: 56px;
    font-family: var(--font-display);
    color: #005950;
    line-height: 1;
}

/* =============================================================
   FAQ
   ============================================================= */

.faq {
    background: var(--brand-cream);
    padding: 100px 0;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    border-top: 1px solid #005950;
}

.faq-item {
    border-bottom: 1px solid #005950;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 36px 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: var(--brand-teal);
    cursor: pointer;
    gap: 20px;
    font-family: var(--font-body);
    transition: color 0.2s;
}

.faq-question:hover { color: var(--brand-teal-dark); }

.faq-icon {
    font-size: 22px;
    font-weight: 300;
    color: var(--brand-teal);
    flex-shrink: 0;
    transition: transform 0.3s;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 15px;
    color: #005950;
    line-height: 1.75;
}

/* =============================================================
   CTA SECTION
   ============================================================= */

.cta-section {
    background: var(--brand-cream);
    padding: 100px 0;
    text-align: center;
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    color: #005950;
    margin-bottom: 16px;
    letter-spacing: -0.3px;
    line-height: 1.15;
}

.cta-desc {
    font-size: 18px;
    color: #005950;
    margin-bottom: 36px;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================================
   FOOTER
   ============================================================= */

.footer {
    background: #005950;
    color: rgba(255, 255, 255, 0.75);
    padding: 64px 48px 32px;
    border-radius: 60px;
    max-width: 1200px;
    margin: 0 auto 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    margin-bottom: 14px;
    display: block;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.footer-email {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.footer-col-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    border-top: none;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.footer-legal-links {
    display: flex;
    gap: 20px;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.footer-legal-links a:hover { color: var(--white); }

/* =============================================================
   RESPONSIVE DESIGN
   ============================================================= */

@media (max-width: 1024px) {
    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .hero {
        padding: 100px 0 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        min-height: auto;
    }

    .hero-content { padding-right: 0; }

    .hero-subtitle { margin: 0 auto 32px; }

    .hero-cta { justify-content: center; }

    .hero-visual { height: 320px; }

    .hero-mascot { width: 60%; }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
        margin-bottom: 60px;
    }

    .feature-desc { max-width: 100%; }

    .steps-row { grid-template-columns: repeat(2, 1fr); }

    .why-inner { grid-template-columns: 1fr; gap: 40px; }
    .why-content .section-title { text-align: center; }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .steps-row { grid-template-columns: 1fr; }
}
