/* ==========================================================================
   Aura | Cinematic Sanctuary Design System (Auralis Inspired)
   Theme Palette Implementation:
   Primary:        Soft Teal    (#4DB6AC)
   Secondary:      Sage Green   (#A8BBA3)
   Tertiary:       Powder Blue  (#CFE7F7)
   Background:     Warm Cream   (#F7F5F0)
   Surface:        White        (#FFFFFF)
   Text:           Deep Slate   (#2E3A3A)
   Secondary Text: Medium Slate (#6B7C85)
   Success:        Soft Green   (#78C48A)
   Warning:        Muted Amber  (#D9B66D)
   Error:          Soft Coral   (#D97A7A)
   ========================================================================== */

:root {
    /* Exact Palette Specifications */
    --primary: #4DB6AC;
    --primary-hover: #3E9D93;
    --primary-light: rgba(77, 182, 172, 0.15);
    
    --secondary: #A8BBA3;
    --secondary-light: rgba(168, 187, 163, 0.2);
    
    --tertiary: #CFE7F7;
    --tertiary-light: rgba(207, 231, 247, 0.35);
    
    --bg-main: #F7F5F0;
    --bg-surface: #FFFFFF;
    --bg-glass: rgba(247, 245, 240, 0.85);
    
    --text-main: #2E3A3A;
    --text-muted: #6B7C85;
    
    --success: #78C48A;
    --warning: #D9B66D;
    --error: #D97A7A;

    /* Architectural Radii & Borders */
    --border-subtle: rgba(46, 58, 58, 0.08);
    --border-active: rgba(77, 182, 172, 0.4);
    --radius-pill: 100px;
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;

    /* Peaceful Shadows & Glows */
    --shadow-subtle: 0 8px 30px rgba(46, 58, 58, 0.04);
    --shadow-elevated: 0 16px 48px rgba(46, 58, 58, 0.08);
    --shadow-primary: 0 10px 28px rgba(77, 182, 172, 0.32);
    --glow-ambient: 0 0 80px rgba(207, 231, 247, 0.5);
    
    /* Motion Kinetics */
    --spring-quick: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --spring-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Foundation */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

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

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography & Editorial Accents */
h1, h2, h3, h4 {
    color: var(--text-main);
    letter-spacing: -0.02em;
}

/* Auralis-style Serif & Sans-Serif Mixture for Headlines */
.headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.8rem;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text-main);
    max-width: 620px;
}

.subheadline {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Interactive Button Architecture */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-size: 0.96rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--spring-quick);
    user-select: none;
}

.arrow-icon {
    font-size: 1.1em;
    transition: transform var(--spring-quick);
    display: inline-block;
}

.btn:hover .arrow-icon {
    transform: translate(3px, -3px);
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-surface);
    box-shadow: 0 12px 32px rgba(46, 58, 58, 0.18);
}

.btn-primary:hover {
    background-color: var(--primary);
    color: var(--bg-surface);
    box-shadow: var(--shadow-primary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
    border: 1px solid rgba(46, 58, 58, 0.15);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background-color: var(--bg-surface);
    border-color: var(--secondary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}


.btn-hero {
    padding: 16px 32px;
    font-size: 1.02rem;
}

.btn-block {
    width: 100%;
}

.btn-large {
    padding: 17px 34px;
    font-size: 1.05rem;
}

/* Cinematic Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
    padding: 20px 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(46, 58, 58, 0.04);
}

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

.logo-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(46, 58, 58, 0.1);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(12px);
    transition: all var(--spring-quick);
}

.logo-pill:hover {
    background: var(--bg-surface);
    border-color: var(--primary);
    transform: scale(1.02);
}

.logo-symbol {
    width: 28px;
    height: 28px;
    background: var(--tertiary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

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

.nav-item {
    font-size: 0.96rem;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.8;
    transition: all var(--spring-quick);
}

.nav-item:hover {
    opacity: 1;
    color: var(--primary);
}

/* Expansive Cinematic Hero (Auralis Inspired) */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 120px 0 80px;
    overflow: hidden;
    /* Soft Warm Cream background that blends into the imagery */
    background-color: var(--bg-main);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 240px;
    background: linear-gradient(0deg, var(--bg-main) 15%, rgba(247, 245, 240, 0.8) 50%, rgba(247, 245, 240, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
                rgba(247, 245, 240, 0.35) 0%, 
                rgba(247, 245, 240, 0.7) 50%, 
                rgba(247, 245, 240, 0.95) 75%, 
                rgba(247, 245, 240, 1) 85%,
                rgba(247, 245, 240, 1) 100%), 
                url('assets/forest_scenery.jpg') no-repeat center center / cover;
    z-index: 0;
    transform: scale(1.02);
}

.hero-ambient-glow {
    position: absolute;
    top: 30%;
    right: 15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(207, 231, 247, 0.6) 0%, rgba(168, 187, 163, 0.25) 50%, rgba(247, 245, 240, 0) 80%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    pointer-events: none;
    animation: pulse-glow 10s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    100% { transform: translate(-40px, -20px) scale(1.15); opacity: 0.9; }
}

.hero-container {
    position: relative;
    z-index: 5;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.hero-spacer {
    flex-grow: 1;
    min-height: 180px;
}

.hero-lower-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: flex-end;
}


.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.hero-micro-attributes {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(46, 58, 58, 0.1);
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.attr-bullet {
    color: var(--primary);
    font-weight: bold;
    margin-right: 4px;
}

/* How It Works Section */
.how-it-works {
    padding: 130px 0;
    position: relative;
    background-color: var(--bg-main);
}

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

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--tertiary-light);
    color: var(--text-main);
    border-radius: var(--radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.bullet-tag {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.bullet-tag.green {
    background: var(--success);
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.4rem;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 16px;
}

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

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

.step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 44px 38px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-subtle);
    transition: all var(--spring-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
    border-color: rgba(168, 187, 163, 0.6);
}

.step-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.step-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: -1px;
}

.step-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--spring-quick);
}

.step-card:hover .step-icon {
    transform: scale(1.1) rotate(6deg);
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 14px;
    font-weight: 600;
}

.step-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.65;
    flex-grow: 1;
}

.step-progress-indicator {
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    margin-top: 32px;
    transition: width var(--spring-smooth);
    opacity: 0.6;
}

.step-card:hover .step-progress-indicator {
    width: 100%;
    opacity: 1;
}

/* Trust Sanctuary Section */
.trust {
    padding: 60px 0 130px;
    background-color: var(--bg-main);
}

.trust-banner {
    background: linear-gradient(145deg, var(--bg-surface) 0%, rgba(207, 231, 247, 0.22) 100%);
    border: 1px solid rgba(168, 187, 163, 0.35);
    border-radius: var(--radius-xl);
    padding: 80px 72px;
    box-shadow: var(--shadow-subtle);
}

.trust-banner-header {
    max-width: 860px;
    margin-bottom: 0;
}

.trust-banner-header .section-title {
    font-size: 3.2rem;
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-icon-pill {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(46, 58, 58, 0.08);
    transition: transform var(--spring-quick);
}

.trust-item:hover .trust-icon-pill {
    transform: scale(1.08);
}

.security-pill { color: var(--success); }
.vetting-pill { color: var(--primary); }
.comfort-pill { color: var(--warning); }

.trust-item-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.trust-item-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

/* Calming CTA Section */
.cta-section {
    padding: 30px 0 130px;
    background-color: var(--bg-main);
}

.cta-card {
    background: var(--text-main);
    border-radius: var(--radius-xl);
    padding: 90px 70px;
    text-align: center;
    color: var(--bg-surface);
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(46, 58, 58, 0.25);
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin: 0 auto;
}

.cta-caption {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tertiary);
    margin-bottom: 16px;
}

.cta-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--bg-surface);
    font-size: 3.6rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.1;
}

.cta-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.18rem;
    line-height: 1.65;
    margin-bottom: 40px;
}

.btn-cta-large {
    background: var(--primary);
    color: var(--bg-surface);
    padding: 18px 38px;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-cta-large:hover {
    background: var(--bg-surface);
    color: var(--text-main);
    transform: translateY(-3px);
}

.cta-ambient-rings .ambient-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
}

.r1 {
    width: 500px;
    height: 500px;
    top: -200px;
    left: -150px;
}

.r2 {
    width: 600px;
    height: 600px;
    bottom: -250px;
    right: -150px;
    border-color: rgba(255, 255, 255, 0.07);
}

/* Footer */
footer {
    border-top: 1px solid rgba(46, 58, 58, 0.1);
    padding: 60px 0;
    background-color: #EFECE4;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.logo-symbol.small {
    width: 26px;
    height: 26px;
    background: var(--primary-light);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.94rem;
    font-weight: 500;
}

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

/* Sanctuary Modal Dialog */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(46, 58, 58, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--spring-quick);
    padding: 24px;
}

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

.modal-card {
    background: var(--bg-surface);
    border: 1px solid rgba(168, 187, 163, 0.35);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 530px;
    padding: 50px 46px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(24px) scale(0.96);
    transition: all var(--spring-smooth);
}

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

.close-modal {
    position: absolute;
    top: 26px;
    right: 26px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--spring-quick);
}

.close-modal:hover {
    background: var(--error);
    color: var(--bg-surface);
    border-color: var(--error);
    transform: rotate(90deg);
}

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

.modal-capsule {
    display: inline-block;
    padding: 6px 14px;
    background: var(--tertiary-light);
    color: var(--text-main);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-main);
}

input[type="email"], select {
    width: 100%;
    padding: 15px 18px;
    background: var(--bg-main);
    border: 1px solid rgba(168, 187, 163, 0.45);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--spring-quick);
}

input[type="email"]:focus, select:focus {
    outline: none;
    background: var(--bg-surface);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(77, 182, 172, 0.18);
}

.select-wrapper {
    position: relative;
}

select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}

/* Custom Radio Choice Cards */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.radio-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-main);
    border: 1px solid rgba(168, 187, 163, 0.35);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500 !important;
    transition: all var(--spring-quick);
}

.radio-card:hover {
    border-color: var(--primary);
    background: rgba(207, 231, 247, 0.18);
}

.radio-card input[type="radio"] {
    display: none;
}

.radio-circle {
    width: 22px;
    height: 22px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all var(--spring-quick);
    background: var(--bg-surface);
}

.radio-card input[type="radio"]:checked + .radio-circle {
    border-color: var(--primary);
    background: var(--primary);
}

.radio-card input[type="radio"]:checked + .radio-circle::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--bg-surface);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.success-message {
    text-align: center;
    padding: 20px 10px;
}

.success-badge-icon {
    width: 84px;
    height: 84px;
    background: var(--primary-light);
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid var(--success);
}

.success-message h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.success-message p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 34px;
    line-height: 1.6;
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
    .hero-lower-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .headline {
        font-size: 3.2rem;
        max-width: 100%;
    }

    .steps-grid, .trust-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-banner {
        padding: 56px 42px;
    }

    .cta-card {
        padding: 60px 40px;
    }
    
    .cta-title {
        font-size: 2.8rem;
    }
}

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

    .container {
        padding: 0 24px;
    }

    .headline {
        font-size: 2.6rem;
    }

    .subheadline {
        font-size: 1.12rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-micro-attributes {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .section-title {
        font-size: 2.6rem;
    }
    
    .trust-banner-header .section-title {
        font-size: 2.6rem;
    }

    .footer-container {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 2.2rem;
    }
    
    .modal-card {
        padding: 36px 24px;
    }
    
    .cta-title {
        font-size: 2.3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}
