/* Fonts */
:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Colors */
    --primary: #13DAEC;
    --primary-dark: #0EBAC9;
    --primary-light: #E0F9FB;

    --dark: #1A1E23;
    --text-main: #343A40;
    --text-muted: #6C757D;
    --bg-body: #FFFFFF;
    --bg-light: #F8F9FA;
    --card-bg: rgba(255, 255, 255, 0.8);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --container-width: 1200px;
}

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

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(19, 218, 236, 0.4);
}

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

.btn-secondary {
    background-color: transparent;
    color: var(--dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin-left: 10px;
}

.btn-secondary:hover {
    border-color: var(--dark);
    background-color: #fff;
}

.btn-dark {
    background-color: var(--dark);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    transition: padding 0.3s ease;
}

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

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

.logo-img {
    height: 32px;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: -0.5px;
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--dark);
    font-size: 0.95rem;
}

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

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

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(19, 218, 236, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 24px;
}

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

/* SVG underline could be added here via pseudo-element */
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--primary);
    opacity: 0.2;
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 480px;
}

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

.phone-mockup-wrapper {
    position: relative;
    z-index: 2;
    width: 480px;
    /* Increased size */
    max-width: 100%;
    height: auto;
}

.phone-mockup {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
    border-radius: 40px;
    /* Adjust based on mockup image */
    transform-origin: center center;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    min-width: 200px;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

.card-text strong {
    font-size: 0.85rem;
    color: var(--dark);
}

.card-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.card-1 {
    top: 20%;
    left: -40px;
    transform: rotate(-5deg);
}

.card-2 {
    bottom: 20%;
    right: -40px;
    transform: rotate(5deg);
}

/* Section Common */
section {
    padding: 100px 0;
}

.section-header {
    max-width: 600px;
    margin: 0 auto 80px auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Pain Points */
.pain-points {
    background-color: #fff;
}

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

.problem-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.problem-card:hover {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: #eee;
}

.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.icon-box.warning {
    background: #FFF4E5;
    color: #FD7E14;
}

.icon-box.danger {
    background: #FFE5E5;
    color: #FA5252;
}

.icon-box.info {
    background: #E7F5FF;
    color: #228BE6;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Features */
.features {
    background-color: var(--bg-body);
}

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

/* Alternate Grid for fun layout */
.feature-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.feature-item:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.feature-icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--bg-light);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-muted);
}

/* Trust Section */
.trust {
    padding: 60px 0;
}

.trust-box {
    background: #0B132B;
    /* Dark Blue Contrast */
    color: white;
    border-radius: var(--radius-lg);
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Background gradient for trust box */
.trust-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(19, 218, 236, 0.2), transparent 50%);
    pointer-events: none;
}

.trust-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.icon-shield {
    color: var(--primary);
    width: 64px;
    margin: 0 auto 24px auto;
}

.trust-box h2 {
    color: white;
    font-size: 2.5rem;
}

.trust-box p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Closing CTA */
.closing-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #0EBAC9 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Removed clip-path to allow images to sit nicely on bottom or sides */
    border-radius: var(--radius-lg);
    margin: 0 24px 60px 24px;
    /* Float it like a card */
    text-align: center;
}

.relative-z {
    position: relative;
    z-index: 5;
}

.cta-img {
    position: absolute;
    bottom: -20px;
    height: 350px;
    /* Adjust based on image ratio */
    width: auto;
    object-fit: contain;
    z-index: 1;
    transition: transform 0.5s ease;
}

.cta-mother {
    left: 5%;
    transform: rotate(-5deg);
}

.cta-father {
    right: 5%;
    transform: rotate(5deg);
}

.closing-cta:hover .cta-mother {
    transform: rotate(0deg) scale(1.05);
}

.closing-cta:hover .cta-father {
    transform: rotate(0deg) scale(1.05);
}

.closing-cta h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.handwritten {
    font-style: italic;
    font-family: serif;
    /* Fallback or load another font */
    font-weight: 400;
}

.closing-cta p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.waitlist-container {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.waitlist-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.waitlist-input {
    padding: 14px 20px;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    flex-grow: 1;
    font-family: var(--font-body);
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.waitlist-success {
    color: white;
    font-weight: 600;
    margin-top: 20px;
    font-size: 1.2rem;
    animation: fadeIn 0.5s ease;
}

.waitlist-error {
    color: #FFCDD2;
    margin-top: 10px;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .waitlist-form {
        flex-direction: column;
    }

    .waitlist-input {
        width: 100%;
        text-align: center;
    }

    .waitlist-btn {
        width: 100%;
    }
}

/* Footer */
footer {
    background: #fff;
    padding-top: 80px;
    padding-bottom: 40px;
    font-size: 0.9rem;
}

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

.footer-logo {
    height: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--dark);
}

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

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

.footer-col ul li a {
    color: var(--text-muted);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
    color: #999;
    font-size: 0.8rem;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }

    .phone-mockup-wrapper {
        width: 320px;
        /* Smaller on mobile */
        margin: 0 auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 30px auto;
    }

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

    .cta-img {
        opacity: 0.3;
        /* Fade them out on mobile so text is readable if they overlap, or hide them */
        height: 200px;
        bottom: 0;
    }

}

/* Modal Base */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 19, 43, 0.6);
    /* Darker backdrop */
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Glassmorphism subtle inner glow */
.modal-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #F8F9FA;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #E9ECEF;
    color: var(--dark);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    margin-left: 4px;
}

.support-form input,
.support-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 2px solid #E9ECEF;
    background: #F8F9FA;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s ease;
    outline: none;
}

.support-form input:focus,
.support-form textarea:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-light);
}

.support-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-block {
    width: 100%;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* Animations form inputs */
.form-group {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s forwards;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

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

@media (max-width: 992px) {
    .cta-mother {
        left: -50px;
    }

    .cta-father {
        right: -50px;
    }

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

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

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