
/* --- Premium Design System --- */
:root {
  --midnight-black: #0B0B0B;
  --ivory-white: #F5F3EF;
  --champagne-gold: #C8A96A;
  --stone-grey: #B5B2AC;
  --graphite: #2D2D2D;
  --olive-bronze: #7B7254;
}

/* --- Global Styles --- */
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--midnight-black);
  color: var(--ivory-white);
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  line-height: 1.6;
}

/* --- Custom Editorials & Headings --- */
h1, h2, h3, h4, h5, h6, .heading {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.editorial {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.luxury-caption {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.75rem;
}

p, .body-text {
  font-family: 'Inter', sans-serif;
  color: var(--stone-grey);
  line-height: 1.8;
}

/* --- Floating Glass Navigation --- */
#navbar {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

#navbar.scrolled {
  top: 4px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

.nav-glass-btn {
  background: transparent;
  border: none;
  padding: 0.75rem 1.25rem;
  margin: 0;
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--stone-grey);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 9999px;
}

.nav-glass-btn::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--champagne-gold);
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.nav-glass-btn:hover {
  color: var(--ivory-white);
}

.nav-glass-btn.active-tab {
  color: var(--ivory-white);
}

.nav-glass-btn.active-tab::after {
  width: 50%;
}

/* --- Premium Buttons --- */
.premium-btn-inquiry {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  background: var(--ivory-white);
  color: var(--midnight-black);
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: none;
  cursor: pointer;
}

.premium-btn-inquiry:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(200, 169, 106, 0.45);
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.premium-btn-primary {
  background: var(--champagne-gold);
  color: var(--midnight-black);
  border: none;
}

.premium-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(245, 243, 239, 0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-btn-primary:hover::before {
  transform: translateX(100%);
}

.premium-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 40px rgba(200, 169, 106, 0.4);
}

.premium-btn-secondary {
  background: transparent;
  color: var(--ivory-white);
  border: 1px solid rgba(245, 243, 239, 0.2);
}

.premium-btn-secondary:hover {
  border-color: var(--champagne-gold);
  color: var(--champagne-gold);
  transform: translateY(-2px);
}

.premium-btn-inquiry {
  background: var(--ivory-white);
  color: var(--midnight-black);
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1);
  border-radius: 9999px;
}

.premium-btn-inquiry:hover {
  background: var(--champagne-gold);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(200, 169, 106, 0.45);
}

/* --- Hero & Cinematic Background --- */
#hero-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 12rem 1.5rem 6rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: -20px;
  z-index: -3;
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  filter: contrast(1.2) saturate(1.15) brightness(0.7);
}

.hero-cinematic-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: 
    radial-gradient(circle at 20% 20%, rgba(200, 169, 106, 0.1) 0%, transparent 55%),
    linear-gradient(to bottom, rgba(11, 11, 11, 0.88) 0%, rgba(11, 11, 11, 0.65) 45%, rgba(11, 11, 11, 0.95) 100%);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  box-shadow: inset 0 0 250px rgba(11, 11, 11, 0.95);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-radial-light {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 169, 106, 0.18) 0%, transparent 70%);
  z-index: 0;
}

/* --- Hero Typography --- */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, #C8A96A 0%, #F5F3EF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 0 2rem 0;
  color: rgba(245, 243, 239, 0.75);
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    position: relative;
    margin-top: 4rem; /* 64px spacing below CTA buttons */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

.scroll-indicator-line {
    width: 1px;
    height: 4rem;
    background: linear-gradient(to bottom, var(--champagne-gold), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-indicator-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--champagne-gold);
    animation: scrollLineMove 2s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes scrollLineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(350%); }
}

.scroll-indicator-arrow {
    color: rgba(245, 243, 239, 0.7);
}

/* --- Founder Image --- */
#founders-grid .relative {
  box-shadow: 0 0 30px rgba(200, 169, 106, 0.2);
}

/* --- Cards --- */
.premium-card {
  background: var(--midnight-black);
  border: 1px solid rgba(245, 243, 239, 0.08);
  border-radius: 32px;
  padding: 2.5rem;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 169, 106, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.premium-card:hover {
  border-color: rgba(200, 169, 106, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.premium-card:hover::before {
  opacity: 1;
}

/* --- Form Elements --- */
.premium-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245, 243, 239, 0.2);
  padding: 1rem 0;
  color: var(--ivory-white);
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  width: 100%;
}

.premium-input:focus {
  outline: none;
  border-bottom-color: var(--champagne-gold);
}

.premium-input::placeholder {
  color: var(--stone-grey);
  opacity: 0.6;
}

/* --- Reveal Classes --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--midnight-black);
}

::-webkit-scrollbar-thumb {
  background: var(--graphite);
  border-radius: 3px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--champagne-gold);
}

/* --- Timeline --- */
#timeline-container {
  padding: 50px 0 150px 0;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-circle {
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 20;
}

.timeline-step {
  opacity: 1;
}

.timeline-card {
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 0.6;
  transform: translateY(10px);
  padding: 1.5rem 1rem;
}

.timeline-card h4 {
  color: #F5F3EF;
  font-weight: 700;
  font-size: 1.25rem;
}

.timeline-card p {
  color: #B5B2AC;
  font-size: 1rem;
}

.timeline-card h4, .timeline-card p {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Make timeline track thin (2-3px) */
#timeline-container .absolute.h-1 {
  height: 3px !important;
}

#timeline-progress-fill {
  box-shadow: 0 0 12px rgba(200, 169, 106, 0.4);
  transition: none; /* Let GSAP handle all transitions */
}

/* Timeline step styling improvements */
.timeline-card {
  transition: none !important; /* Let GSAP handle all animations */
}
.timeline-circle {
  transition: none !important; /* Let GSAP handle all animations */
}

/* --- Magnetic Button Effect --- */
.magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transform: translate3d(0, 0, 0);
  transition: transform 0.1s ease-out;
}

/* --- Image Container --- */
.luxury-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.luxury-image-container img,
.luxury-image-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.luxury-image-container:hover img,
.luxury-image-container:hover video {
  transform: scale(1.05);
}

.luxury-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.7), transparent);
  opacity: 0.8;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.luxury-image-container:hover .luxury-image-overlay {
  opacity: 1;
}

/* --- Footer --- */
.footer-logo {
  filter: drop-shadow(0 0 20px rgba(200, 169, 106, 0.15));
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .premium-card {
        padding: 1.75rem;
    }

    /* Timeline for tablet */
    #timeline-container .grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }

    #timeline-container .absolute {
        top: 70px !important;
    }
}

@media (max-width: 768px) {
    .premium-btn, .premium-btn-inquiry {
        padding: 0.875rem 1.75rem;
        font-size: 0.75rem;
        width: 100%;
    }

    h1, h2 {
        font-size: 2.5rem;
    }

    /* Hero responsive */
    #hero-section {
        min-height: 70vh;
        padding: 8rem 1rem 4rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }

    .hero-content .flex {
        width: 100%;
    }
    
    /* Timeline for mobile: 1 column (stacked) */
    #timeline-container {
        padding-bottom: 200px;
    }

    #timeline-container .grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    /* Hide horizontal line on mobile */
    #timeline-container .absolute.h-1 {
        display: none;
    }

    #timeline-progress-fill {
        display: none;
    }
}

/* --- Additional Premium Styles --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 243, 239, 0.1), transparent);
}

.icon-premium {
  color: var(--stone-grey);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.icon-premium:hover {
  color: var(--champagne-gold);
  transform: scale(1.1);
}

/* --- Easter Egg Gold Mode --- */
.gold-mode {
  filter: sepia(0.6) hue-rotate(-10deg) saturate(2);
}

/* --- Modal Overlay & Dialog System --- */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 301;
}

.modal-content {
  position: relative;
  z-index: 302;
  width: 100%;
  max-width: 56rem;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(15, 15, 20, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

