@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,400&family=Inter:wght@300;400;500&display=swap');

:root {
    /* Color System - Dark Theme */
    --color-base: #1C211F;
    --color-surface: #2A312E;
    --color-text: #F7F3EE;
    --color-text-muted: rgba(247, 243, 238, 0.7);
    --color-primary: #9A6250;
    --color-primary-hover: #B99684;
    --color-secondary: #5A625E;
    --color-accent: #B99684;

    /* Typography */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --container-width: 1440px;
    --gutter: 24px;
    
    /* Animation Timings */
    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 768px) {
    :root {
        --gutter: 48px;
    }
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-base);
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, .font-display {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
}

.eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.hero-heading {
    font-size: clamp(2.5rem, 5vw + 1rem, 5.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-heading span {
    display: block;
}

.hero-heading .italic {
    font-style: italic;
    color: var(--color-primary);
}

.lead {
    font-size: clamp(1.125rem, 2vw, 1.35rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Layout */
.page-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Header */
.site-header {
    padding: 2rem var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
}

.brand-logo {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--color-text);
    text-transform: uppercase;
}

.header-action {
    display: none;
}
@media (min-width: 768px) {
    .header-action {
        display: block;
        font-size: 0.875rem;
        text-decoration: none;
        color: var(--color-text);
        transition: color var(--transition-fast);
    }
    .header-action:hover {
        color: var(--color-primary);
    }
}

/* Main Hero Section */
.hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding-top: 120px; /* offset for header */
    padding-bottom: 4rem;
    min-height: 100vh;
    position: relative;
}

@media (min-width: 1024px) {
    .hero-section {
        flex-direction: row;
        justify-content: space-between;
    }
}

.hero-content {
    position: relative;
    z-index: 20;
    max-width: 600px;
    width: 100%;
}

/* Animated Visual Right Side */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-visual {
        width: 45%;
        max-width: 500px;
    }
}

.abstract-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    animation: rotateRing 20s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top: 1px solid var(--color-primary);
    border-right: 1px solid rgba(185, 150, 132, 0.3);
    animation-duration: 25s;
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-bottom: 1px solid var(--color-accent);
    border-left: 1px solid rgba(154, 98, 80, 0.2);
    animation-duration: 18s;
    animation-direction: reverse;
}

.ring-3 {
    width: 50%;
    height: 50%;
    border-top: 1px solid rgba(247, 243, 238, 0.1);
    animation-duration: 35s;
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Buttons */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .cta-group {
        flex-direction: row;
        align-items: center;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(154, 98, 80, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(154, 98, 80, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    border-color: var(--color-text);
    background-color: rgba(28, 33, 31, 0.03);
}

.btn:focus-visible {
    outline: 2px solid var(--color-text);
    outline-offset: 4px;
}

/* Trust Message */
.trust-message {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
}

/* Secondary Section */
.secondary-section {
    padding: 6rem 0;
    background-color: var(--color-surface);
    text-align: center;
}

.statement {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    max-width: 700px;
    margin: 0 auto;
    color: var(--color-text);
}

/* Footer */
.site-footer {
    padding: 2rem var(--gutter);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-secondary);
}

@media (min-width: 768px) {
    .site-footer {
        flex-direction: row;
    }
}

/* Ambient Background Motion */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
    background-color: var(--color-base);
}

.ambient-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 25s infinite ease-in-out alternate;
}

.shape-1 {
    width: 60vw;
    height: 60vw;
    background-color: var(--color-surface);
    top: -10%;
    right: -10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(154, 98, 80, 0.25) 0%, rgba(28, 33, 31, 0) 70%);
    bottom: -20%;
    left: -10%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.shape-3 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, rgba(185, 150, 132, 0.2) 0%, rgba(28, 33, 31, 0) 70%);
    top: 30%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 35s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3%, 5%) scale(1.05); }
    66% { transform: translate(-2%, 2%) scale(0.95); }
    100% { transform: translate(5%, -2%) scale(1.02); }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }
.delay-6 { animation-delay: 1.2s; }

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
}

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

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Scroll reveal class (triggered by JS) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .ambient-shape {
        animation: none;
        transform: none;
    }
}
