:root {
    --bg-primary: #1A1C19;
    /* Deep Forest Black */
    --bg-secondary: #232622;
    --sage: #2C3A2F;
    --lavender: #2A2833;
    --coral: #C5A992;
    /* Champagne Gold accent */
    --dark-text: #FDFCF8;
    /* Cream text */
    --muted-text: #A0A59F;
    --white: #111311;
    --card-bg: rgba(255, 255, 255, 0.05);
    /* Glassmorphism */
    --shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
    --border-radius-lg: 4rem;
    --border-radius-md: 2rem;
    --font-primary: 'Outfit', sans-serif;
    --font-accent: 'Reenie Beanie', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--dark-text);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 50;
    pointer-events: none;
    opacity: 0.35;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 600;
    letter-spacing: -0.025em;
    text-transform: lowercase;
    /* As per sentence-case/minimalist style request usually implies */
}

h1::first-letter,
h2::first-letter {
    text-transform: uppercase;
}

.accent-text {
    font-family: var(--font-accent);
    color: var(--coral);
    /* Champagne Gold boost */
    font-size: 1.2em;
    font-weight: 400;
    display: inline-block;
    transform: translateY(4px);
}

/* Navigation */
.floating-nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 800px;
    z-index: 100;
    background: rgba(43, 46, 42, 0.7);
    /* Darker glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    letter-spacing: -0.02em;
}

.logo-circle {
    width: 24px;
    height: 24px;
    background-color: var(--coral);
    border-radius: 50%;
    position: relative;
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
}

.nav-links-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--coral);
}

.nav-cta {
    background-color: var(--dark-text);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    transform: scale(1.05);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    transition: transform 0.3s;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: var(--bg-primary);
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 900;
    }

    .nav-links-wrapper.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-cta {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .floating-nav {
        max-width: none;
        width: calc(100% - 2rem);
    }
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 2rem;
    position: relative;
    text-align: center;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background-color: #2D4C3E;
    /* Glowing Emerald */
    top: 10%;
    left: 5%;
}

.blob-2 {
    width: 250px;
    height: 250px;
    background-color: #3B344A;
    /* Glowing Purple */
    bottom: 15%;
    right: 5%;
    animation-delay: -3s;
}

@media (max-width: 480px) {
    .blob {
        filter: blur(50px);
        opacity: 0.4;
    }

    .blob-1 {
        width: 150px;
        height: 150px;
    }

    .blob-2 {
        width: 120px;
        height: 120px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-content {
    max-width: 700px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 60px;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--muted-text);
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--coral);
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(255, 183, 178, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(255, 183, 178, 0.6);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark-text);
    border: 1px solid #e5e7eb;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    color: var(--dark-text);
}

/* About Section */
.about {
    padding: 8rem 1.5rem;
    background-color: var(--bg-secondary);
    /* Dark mode fix */
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 800px;
    text-align: center;
}

.about-bio {
    font-size: 1.25rem;
    color: var(--muted-text);
    margin-top: 1.5rem;
    line-height: 1.8;
}

@media (max-width: 480px) {
    .about-bio {
        font-size: 1.1rem;
    }
}

/* Horizontal Scenarios */
.scenarios {
    padding: 8rem 0;
    background-color: var(--bg-primary);
    /* Dark mode fix */
    overflow: hidden;
}

.section-header {
    padding: 0 1.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
}

.horizontal-scroll {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 1.5rem 3rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.scenario-card {
    min-width: 288px;
    width: 80vw;
    height: 160px;
    background: var(--bg-secondary);
    /* Darker cards */
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    scroll-snap-align: start;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.scenario-card:hover {
    transform: translateY(-5px);
    border-color: var(--coral);
}

.scenario-card:hover .card-text {
    color: var(--coral);
}

.timestamp {
    font-size: 14px;
    color: var(--muted-text);
    font-weight: 500;
}

.card-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    transition: color 0.3s;
}

/* App Preview */
.app-preview {
    padding: 6rem 1.5rem;
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.preview-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: -40px;
    /* Overlapping cards if possible, or just tight gap */
    position: relative;
    height: 700px;
}

@media (max-width: 768px) {
    .preview-container {
        height: auto;
        flex-direction: column;
        gap: 2rem;
        padding-top: 2rem;
    }

    .phone-side {
        display: none;
    }

    .phone-center {
        width: 260px;
        height: 540px;
    }
}

.phone {
    border-radius: 40px;
    background: #111;
    padding: 10px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.phone-center {
    width: 300px;
    height: 620px;
    z-index: 10;
}

.phone-side {
    width: 280px;
    height: 580px;
    opacity: 0.8;
}

.phone-left {
    transform: translateX(40px) translateY(48px);
    z-index: 5;
}

.phone-right {
    transform: translateX(-40px) translateY(96px);
    z-index: 2;
}

.screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.bg-sage {
    background-color: var(--sage);
}

.bg-lavender {
    background-color: var(--lavender);
}

.pulse-button {
    width: 120px;
    height: 120px;
    background: var(--coral);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 183, 178, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 183, 178, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 183, 178, 0);
    }
}

.screen-content {
    font-size: 2rem;
    font-family: var(--font-accent);
    color: var(--muted-text);
}

/* Testimonials */
.testimonials {
    padding: 6rem 1.5rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }
}

.rotate-neg {
    transform: rotate(-1deg);
}

.rotate-pos {
    transform: rotate(1deg);
}

.testimonial-card:hover {
    transform: rotate(0) translateY(-10px);
}

.testimonial-text {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--dark-text);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sig-line {
    width: 32px;
    height: 1px;
    background: var(--muted-text);
}

.sig-name {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--muted-text);
}

/* FAQ Accordion */
.faq {
    padding: 8rem 1.5rem;
    background-color: var(--bg-primary);
    /* Dark mode fix */
}

.faq-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.faq-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark-text);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.5s ease-in-out;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out, padding 0.5s;
    padding: 0 1.5rem;
}

.faq-item.active .faq-content {
    max-height: 200px;
    padding-bottom: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 8rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-icon {
    width: 64px;
    height: 64px;
    background: var(--dark-text);
    border-radius: 16px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-dot {
    width: 12px;
    height: 12px;
    background: var(--coral);
    border-radius: 50%;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    text-align: left;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg-secondary);
    padding: 1.25rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.contact-form textarea {
    border-radius: 2rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--coral);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 183, 178, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    background-color: var(--dark-text);
    /* Black/Stone submit button */
    padding: 1.25rem;
    font-size: 1.1rem;
    transition: transform 0.3s;
}

.submit-btn:hover {
    transform: scale(1.05);
    background-color: #000;
}

.form-status {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.5rem;
}

/* Footer */
.footer {
    padding: 4rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted-text);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--coral);
}

.copyright {
    color: #9ca3af;
    font-size: 14px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }
}