/* Custom Properties & Reset */
:root {
    --color-earth: #806854;
    --color-forest: #213025;
    --color-stone: #9ba49d;
    --color-stone-light: #f2f4f2;
    --color-white: #fdfdfc;
    --color-text: #2c2c2c;
    --color-text-light: #5a5a5a;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.35rem;
    color: var(--color-text);
    margin-bottom: 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.bg-light {
    background-color: var(--color-stone-light);
}

.bg-stone {
    background-color: var(--color-forest);
}

.text-light {
    color: var(--color-white);
}

.text-light h2,
.text-light .lead,
.text-light p {
    color: var(--color-white);
}

.text-light p {
    color: rgba(255, 255, 255, 0.8);
}

.text-light-opacity {
    color: rgba(255, 255, 255, 0.6);
}

.text-center {
    text-align: center;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 1rem;
}

.dual-col {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.dual-col.reverse {
    flex-direction: row-reverse;
}

.col-text,
.col-image,
.col-form {
    flex: 1;
}

.section-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-earth);
    margin-bottom: 1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(253, 253, 252, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s var(--transition);
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-forest);
    letter-spacing: -0.5px;
}

.navbar .nav-links {
    display: flex;
    gap: 2.5rem;
}

.navbar .nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
}

.navbar .nav-links a:hover {
    color: var(--color-earth);
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-forest);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #17241a;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(33, 48, 37, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-forest);
    border: 1px solid var(--color-stone);
}

.btn-secondary:hover {
    background-color: var(--color-stone-light);
    border-color: var(--color-forest);
}

.btn-primary-outline {
    border: 1px solid var(--color-forest);
    color: var(--color-forest);
    padding: 0.6rem 1.5rem;
}

.btn-primary-outline:hover {
    background-color: var(--color-forest);
    color: var(--color-white);
}

.btn-outline-light {
    border: 1px solid var(--color-white);
    color: var(--color-white);
}

.btn-outline-light:hover {
    background-color: var(--color-white);
    color: var(--color-forest);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Hero */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    background-image: url('assets/hero_bg_1772623194199.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(33, 48, 37, 0.4) 0%, rgba(33, 48, 37, 0.75) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 4rem auto 0;
    animation: fadeUp 1.2s var(--transition) forwards;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.scarcity-text {
    font-size: 0.95rem;
    color: var(--color-white);
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Image Wrappers */
.image-wrapper {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 550px;
    background-color: var(--color-stone-light);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-wrapper:hover img {
    transform: scale(1.06);
}

.shadow {
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1), 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.feature-card {
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

/* Scarcity Box */
.scarcity-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-stone-light);
    padding: 2rem;
    border-left: 4px solid var(--color-earth);
    margin: 2.5rem 0;
    border-radius: 0 6px 6px 0;
}

.scarcity-box .number {
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 600;
    color: var(--color-forest);
    font-family: var(--font-serif);
}

.scarcity-box .text {
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--color-text);
}

/* PDF Mockup Promo */
.mockup-banner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--color-stone-light);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s var(--transition), box-shadow 0.4s var(--transition);
}

.mockup-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.mockup-banner img {
    width: 90px;
    height: auto;
    border-radius: 4px;
    box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.15);
}

.mockup-banner .text-content h4 {
    font-size: 1.15rem;
    color: var(--color-forest);
    margin-bottom: 0.3rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.mockup-banner .text-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Form */
.waitlist-form {
    background: #fff;
    padding: 3.5rem;
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-stone-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-earth);
    box-shadow: 0 0 0 3px rgba(128, 104, 84, 0.1);
}

.waitlist-form .btn {
    margin-top: 2rem;
}

.waitlist-form .btn-secondary {
    margin-top: 1rem;
}

/* Footer */
.footer {
    padding: 5rem 0 3rem;
    background: #151a17;
    color: #888;
    border-top: 1px solid #1f2722;
}

.footer .logo {
    color: var(--color-stone-light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0;
    font-size: 0.95rem;
}

.footer-links a {
    color: #a0a0a0;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.85rem;
    border-top: 1px solid #1f2722;
    padding-top: 3rem;
    margin-top: 2rem;
}

/* Calculator Widget */
.widget-calculator {
    background-color: var(--color-stone-light);
    border-radius: 12px;
    padding: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.widget-calculator h3 {
    font-size: 2.2rem;
    color: var(--color-forest);
    margin-bottom: 2.5rem;
    font-family: var(--font-serif);
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group label {
    display: block;
    font-weight: 500;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.slider-wrapper input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #dcdedc;
    border-radius: 4px;
    outline: none;
}

.slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-forest);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    border: 2px solid var(--color-white);
}

.val-display {
    min-width: 90px;
    text-align: right;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-forest);
}

.calc-results {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.res-label {
    font-size: 1.1rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.res-total {
    font-size: 4.5rem;
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--color-forest);
    margin-bottom: 3.5rem;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.calc-chart {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 5rem;
    height: 180px;
    margin-bottom: 3rem;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    width: 120px;
}

.bar-val {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.bar-val.bold {
    font-weight: 700;
    color: var(--color-forest);
    font-size: 1.1rem;
}

.bar {
    width: 70px;
    border-radius: 6px 6px 0 0;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bar-market {
    background-color: #d8a299;
    box-shadow: 0 4px 10px rgba(216, 162, 153, 0.3);
}

.bar-founder {
    background-color: var(--color-forest);
    box-shadow: 0 4px 10px rgba(33, 48, 37, 0.3);
}

.bar-label {
    font-size: 0.95rem;
    margin-top: 1rem;
    color: var(--color-text-light);
}

.bar-label.bold {
    font-weight: 600;
    color: var(--color-forest);
}

.res-dynamic {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 3rem;
    color: var(--color-text-light);
}

.res-dynamic .bold {
    font-weight: 700;
    font-style: normal;
    color: var(--color-forest);
}

@media (max-width: 600px) {
    .widget-calculator {
        padding: 2rem 1.5rem;
    }

    .res-total {
        font-size: 3rem;
    }

    .calc-chart {
        gap: 2rem;
        height: 140px;
    }

    .bar {
        width: 50px;
    }

    .slider-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .val-display {
        text-align: left;
    }
}

/* Animations classes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s var(--transition);
}

.feature-card {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--transition);
}

.col-text {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 1s var(--transition);
}

.reverse .col-text {
    transform: translateX(40px);
}

.active {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Sequential features animation delay */
.features-grid .feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {

    .dual-col,
    .dual-col.reverse {
        gap: 4rem;
    }

    .features-grid {
        gap: 2rem;
    }
}

@media (max-width: 900px) {

    .dual-col,
    .dual-col.reverse {
        flex-direction: column;
        gap: 4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar .nav-links {
        display: none;
    }

    .section {
        padding: 5rem 0;
    }

    .image-wrapper {
        height: 400px;
        width: 100%;
    }

    .waitlist-form {
        padding: 2.5rem 2rem;
    }

    .col-text {
        transform: translateY(40px);
    }

    .reverse .col-text {
        transform: translateY(40px);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .scarcity-box {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.5rem;
    }
}