/* ==========================================
   Maharaja Swarnalaya - Luxury Design System
   ========================================== */

/* Design Tokens & Variables */
:root {
    --color-bg-dark: #070708;
    --color-bg-charcoal: #121214;
    --color-bg-glass: rgba(18, 18, 20, 0.7);
    --color-bg-glass-heavy: rgba(10, 10, 11, 0.85);
    
    /* Luxury Gold Gradients & Solid Colors */
    --color-gold-light: #FBF5B7;
    --color-gold-mid: #D4AF37;
    --color-gold-dark: #AA771C;
    --gold-gradient: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%);
    --gold-gradient-hover: linear-gradient(135deg, #AA771C 0%, #FBF5B7 25%, #B38728 50%, #FCF6BA 75%, #BF953F 100%);
    --gold-text-gradient: linear-gradient(90deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    
    /* Text Colors */
    --color-text-primary: #F5F5F7;
    --color-text-secondary: #A0A0AA;
    --color-text-muted: #71717A;
    
    /* Typography */
    --font-serif: 'Cinzel', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* UI Decor & Transitions */
    --border-gold-glow: 1px solid rgba(191, 149, 63, 0.2);
    --border-gold-glow-bright: 1px solid rgba(191, 149, 63, 0.45);
    --box-shadow-gold: 0 8px 32px 0 rgba(170, 119, 28, 0.15);
    --box-shadow-gold-heavy: 0 12px 48px 0 rgba(170, 119, 28, 0.3);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Spacing */
    --container-max-width: 1200px;
}

/* Reset & Global Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

/* Background Atmosphere Decor */
.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.12;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10vw;
    right: -10vw;
    background: radial-gradient(circle, var(--color-gold-mid) 0%, transparent 70%);
}

.bg-glow-2 {
    bottom: 10vw;
    left: -20vw;
    background: radial-gradient(circle, var(--color-gold-dark) 0%, transparent 70%);
    opacity: 0.08;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(191, 149, 63, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(191, 149, 63, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -1;
    pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3, .logo-text {
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.gold-gradient-text {
    background: var(--gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.gold-text {
    color: var(--color-gold-mid);
}

.text-center {
    text-align: center;
}

.max-width-center {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Reusable Components: Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    background: var(--gold-gradient-hover);
    box-shadow: var(--box-shadow-gold);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold-mid);
    border: 1px solid rgba(191, 149, 63, 0.5);
}

.btn-outline:hover {
    background: rgba(191, 149, 63, 0.1);
    border-color: var(--color-gold-light);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

.btn-link {
    background: transparent;
    color: var(--color-gold-mid);
    border: none;
    padding: 0.85rem 1rem;
}

.btn-link:hover {
    color: var(--color-gold-light);
    transform: translateX(4px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Reusable Components: Section Headers & Dividers */
.section {
    padding: 8rem 2rem;
    position: relative;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(191, 149, 63, 0.08);
    border: var(--border-gold-glow);
    color: var(--color-gold-mid);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    display: block;
    color: var(--color-gold-mid);
    font-family: var(--font-serif);
    font-size: 1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.section-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem 0 3rem;
}

.divider::before, .divider::after {
    content: '';
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(191, 149, 63, 0.4), transparent);
}

.gold-dot {
    width: 6px;
    height: 6px;
    background: var(--color-gold-mid);
    border-radius: 50%;
    margin: 0 1rem;
    box-shadow: 0 0 8px var(--color-gold-mid);
}

/* ==========================================
   Header / Navigation Bar Styling
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 2rem;
    transition: var(--transition-smooth);
    background: transparent;
}

.header.scrolled {
    background: var(--color-bg-glass-heavy);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(191, 149, 63, 0.1);
    padding: 0.9rem 2rem;
}

.header-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 0 15px rgba(191, 149, 63, 0.3);
}

.logo-text {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold-gradient);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--color-gold-mid);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 20px;
    justify-content: space-between;
    z-index: 110;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-gold-mid);
    transition: var(--transition-fast);
    border-radius: 2px;
}

/* Mobile responsive menu button transform */
.mobile-menu-btn.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
    padding-top: 10rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-desc {
    color: var(--color-text-secondary);
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Countdown Widget */
.countdown-container {
    background: var(--color-bg-glass);
    backdrop-filter: blur(12px);
    border: var(--border-gold-glow);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--box-shadow-gold);
}

.countdown-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-mid);
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.countdown-val {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

/* Hero Image Visual Frame */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.frame-border {
    padding: 1.25rem;
    border: var(--border-gold-glow);
    background: linear-gradient(rgba(191, 149, 63, 0.05), rgba(0,0,0,0));
    border-radius: 8px;
    box-shadow: var(--box-shadow-gold);
    transition: var(--transition-smooth);
    width: 100%;
    max-width: 460px;
}

.frame-border:hover {
    border-color: rgba(191, 149, 63, 0.5);
    box-shadow: var(--box-shadow-gold-heavy);
}

.image-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--color-bg-charcoal);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    animation: slow-zoom 20s infinite alternate ease-in-out;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 7, 8, 0.8) 0%, rgba(7, 7, 8, 0) 50%);
}

.floating-badge {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--color-bg-charcoal);
    border: var(--border-gold-glow-bright);
    border-radius: 4px;
    padding: 1rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float-slow 4s infinite ease-in-out;
}

.badge-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge-number {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-gold-mid);
    line-height: 1;
}

.badge-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    margin-top: 0.25rem;
    white-space: nowrap;
}

/* Animations */
@keyframes slow-zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

@keyframes float-slow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* ==========================================
   Heritage & Features Section
   ========================================== */
.heritage-section {
    background: var(--color-bg-charcoal);
    border-top: 1px solid rgba(191, 149, 63, 0.05);
    border-bottom: 1px solid rgba(191, 149, 63, 0.05);
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.heritage-card {
    background: var(--color-bg-glass);
    border: var(--border-gold-glow);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.heritage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.heritage-card:hover {
    transform: translateY(-8px);
    border-color: rgba(191, 149, 63, 0.35);
    box-shadow: var(--box-shadow-gold);
}

.heritage-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(191, 149, 63, 0.08);
    color: var(--color-gold-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 1px solid rgba(191, 149, 63, 0.15);
    transition: var(--transition-smooth);
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.heritage-card:hover .card-icon {
    background: var(--gold-gradient);
    color: #000;
    box-shadow: 0 0 20px rgba(191, 149, 63, 0.3);
}

.heritage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
}

.heritage-card p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
}

/* ==========================================
   Services Section
   ========================================== */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.divider-horizontal {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(191, 149, 63, 0.3), transparent);
    margin-left: 3rem;
    margin-bottom: 1.5rem;
}

.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr 180px;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(191, 149, 63, 0.1);
    align-items: center;
    transition: var(--transition-smooth);
}

.service-item:hover {
    padding-left: 1.5rem;
    background: rgba(191, 149, 63, 0.02);
}

.service-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: rgba(191, 149, 63, 0.25);
    font-weight: 700;
    transition: var(--transition-smooth);
}

.service-item:hover .service-number {
    color: var(--color-gold-mid);
    text-shadow: 0 0 10px rgba(191, 149, 63, 0.3);
}

.service-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-primary);
}

.service-info p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    max-width: 800px;
}

.service-tag {
    text-align: right;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold-mid);
    font-weight: 600;
    background: rgba(191, 149, 63, 0.08);
    border: var(--border-gold-glow);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    display: inline-block;
    justify-self: end;
}

/* ==========================================
   Interactive Gold Wealth Estimator
   ========================================== */
.calculator-section {
    background: var(--color-bg-charcoal);
    border-top: 1px solid rgba(191, 149, 63, 0.05);
    border-bottom: 1px solid rgba(191, 149, 63, 0.05);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.calc-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.gold-rate-ticker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 200, 83, 0.08);
    border: 1px solid rgba(0, 200, 83, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    margin-bottom: 2.5rem;
}

.ticker-pulse {
    width: 8px;
    height: 8px;
    background-color: #00E676;
    border-radius: 50%;
    animation: pulse-green 1.5s infinite;
}

.ticker-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #A7F3D0;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.calc-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.info-item {
    background: var(--color-bg-dark);
    padding: 1.25rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.info-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.info-val {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.calculator-card {
    background: var(--color-bg-glass-heavy);
    border: var(--border-gold-glow-bright);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--box-shadow-gold);
}

.input-group {
    margin-bottom: 2.5rem;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slider-header label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.slider-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-gold-mid);
}

/* Luxury Range Slider Styling */
.luxury-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.luxury-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold-gradient);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(191, 149, 63, 0.5);
    transition: var(--transition-fast);
}

.luxury-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--color-gold-mid);
}

.slider-minmax {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* Calculator Results */
.results-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 2rem;
    margin-top: 1rem;
}

.result-box {
    text-align: center;
    padding: 1rem;
}

.result-box.highlighted {
    border-bottom: 1px solid rgba(191, 149, 63, 0.15);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.result-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.result-val {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
}

.result-val .unit {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--color-text-secondary);
}

.result-box-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.result-val-small {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
}

.calc-disclaimer {
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 1.5rem;
    line-height: 1.5;
}

/* ==========================================
   Waitlist / Privilege Club Section
   ========================================== */
.waitlist-section {
    position: relative;
    z-index: 1;
}

.waitlist-container {
    max-width: 900px;
}

.waitlist-card {
    background: var(--color-bg-glass-heavy);
    border: var(--border-gold-glow-bright);
    padding: 5rem 4rem;
    border-radius: 16px;
    box-shadow: var(--box-shadow-gold-heavy);
    position: relative;
    overflow: hidden;
}

.waitlist-card::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(191, 149, 63, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
}

.waitlist-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    font-weight: 600;
}

.form-group input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-primary);
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: var(--transition-fast);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold-mid);
    box-shadow: 0 0 10px rgba(191, 149, 63, 0.15);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
    accent-color: var(--color-gold-mid);
}

.form-checkbox label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    cursor: pointer;
    line-height: 1.5;
}

/* Success State Styles */
.waitlist-success {
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

.success-icon {
    width: 72px;
    height: 72px;
    color: var(--color-gold-mid);
    margin: 0 auto 2rem;
    background: rgba(191, 149, 63, 0.08);
    border-radius: 50%;
    padding: 1rem;
    border: var(--border-gold-glow-bright);
    box-shadow: 0 0 20px rgba(191, 149, 63, 0.2);
}

.success-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.success-desc {
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.success-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 1.5rem;
}

.cred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cred-item:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.cred-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.cred-val {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.25rem;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   Footer Styling
   ========================================== */
.footer {
    background: #040405;
    border-top: 1px solid rgba(191, 149, 63, 0.1);
    padding: 5rem 2rem 3rem;
}

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-moto {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    max-width: 450px;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-info a {
    color: var(--color-gold-mid);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-info a:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* ==========================================
   Responsive Media Queries
   ========================================== */

/* Tablet Breakpoint (Max 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-desc {
        max-width: 600px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .countdown-container {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .heritage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .gold-rate-ticker {
        margin-bottom: 1.5rem;
    }
}

/* Mobile Nav Menu (Max 768px) */
@media (max-width: 768px) {
    .section {
        padding: 5rem 1.5rem;
    }
    
    .header {
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-glass-heavy);
        backdrop-filter: blur(25px);
        border-left: 1px solid rgba(191, 149, 63, 0.15);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        z-index: 105;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .nav-actions .nav-btn {
        display: none; /* Hide top btn on mobile, keep waitlist visible at bottom */
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .heritage-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    
    .service-tag {
        justify-self: start;
        text-align: left;
        margin-top: 0.5rem;
    }
    
    .calculator-card {
        padding: 2rem;
    }
    
    .waitlist-card {
        padding: 3.5rem 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .footer-meta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .countdown-val {
        font-size: 1.4rem;
    }
    
    .result-val {
        font-size: 2rem;
    }
    
    .result-box-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .result-box:first-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 1rem;
    }
    
    .success-credentials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cred-item:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding-bottom: 1rem;
    }
}
