@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=Montserrat:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg-dark: #060607;
  --bg-darker: #020202;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #96722b;
  --gold-gradient: linear-gradient(135deg, #96722b 0%, #f3e5ab 50%, #96722b 100%);
  --gold-text-gradient: linear-gradient(90deg, #96722b 0%, #c5a85c 25%, #f3e5ab 50%, #c5a85c 75%, #96722b 100%);
  --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);
  --gold-glow-intense: 0 0 35px rgba(212, 175, 55, 0.45);
  --text-primary: #ffffff;
  --text-secondary: #a3a3a8;
  --text-muted: #6b6b72;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Montserrat', sans-serif;
  --card-bg: rgba(12, 12, 13, 0.5);
  --card-border: rgba(197, 168, 92, 0.12);
  --card-border-hover: rgba(197, 168, 92, 0.45);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-primary);
}

/* Background spotlight and pattern grid */
.bg-spotlight {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(197, 168, 92, 0.12) 0%, rgba(6, 6, 7, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(197, 168, 92, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 168, 92, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

/* Glassmorphism Panel styles */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.glass-panel:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 12px 40px 0 rgba(197, 168, 92, 0.08), var(--gold-glow);
}

/* Premium Typography */
.heading-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.text-gold {
  background: var(--gold-text-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Metallic Shine keyframe */
@keyframes shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.metallic-shine {
  animation: shine 8s linear infinite;
}

/* App Container Layout */
.app-container {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 60px;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Header & Logo styling */
.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  position: relative;
  z-index: 10;
  opacity: 0; /* Animated on load via GSAP */
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo-svg {
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.2));
}

.logo-polygon-outer {
  stroke: url(#gold-grad-emblem);
  stroke-width: 2.5;
  stroke-linejoin: round;
  fill: rgba(6, 6, 7, 0.3);
}

.logo-polygon-mid {
  stroke: url(#gold-grad-emblem);
  stroke-width: 1.25;
  stroke-dasharray: 4 2;
}

.logo-polygon-inner {
  stroke: url(#gold-grad-emblem);
  stroke-width: 2;
  fill: rgba(197, 168, 92, 0.05);
}

.logo-line {
  stroke: url(#gold-grad-emblem);
  stroke-width: 0.75;
  stroke-dasharray: 2 4;
}

.logo-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  margin-right: -0.28em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  margin-right: -0.55em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 6px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin: 60px auto 40px;
  max-width: 800px;
  position: relative;
  z-index: 10;
}

.coming-soon-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 16px;
  display: inline-block;
  text-shadow: var(--gold-glow);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
  font-weight: 300;
}

/* Countdown units */
.countdown-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
}

.countdown-unit {
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
}

.countdown-digits {
  font-size: 2.25rem;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1;
}

.countdown-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  margin-right: -0.15em;
  margin-top: 6px;
}

.countdown-divider {
  font-size: 2rem;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  opacity: 0.6;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}

/* Products Section */
.products-section {
  margin: 100px auto 60px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  font-weight: 500;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 50px;
  font-weight: 300;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.product-card {
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover {
  transform: translateY(-8px);
}

.card-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--bg-darker);
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  border-bottom: 1px solid var(--card-border);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card:hover .card-image {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(6, 6, 7, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(197, 168, 92, 0.25);
  color: var(--gold-light);
  font-size: 0.65rem;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 2;
}

.card-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(6, 6, 7, 0.4) 0%, transparent 60%);
  pointer-events: none;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.card-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.2));
}

.card-title {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  font-weight: 500;
}

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

/* Newsletter Section styling */
.newsletter-section {
  max-width: 650px;
  margin: 60px auto 40px;
  padding: 40px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.newsletter-title {
  font-size: 1.75rem;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.newsletter-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 28px;
  font-weight: 300;
}

.newsletter-form {
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  gap: 12px;
  width: 100%;
}

.input-field {
  background: rgba(20, 20, 22, 0.6);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  border-radius: 6px;
  outline: none;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.email-input {
  flex-grow: 1;
  padding: 16px 20px;
  font-size: 0.95rem;
}

.email-input::placeholder {
  color: var(--text-muted);
}

.gold-button {
  background: var(--gold-gradient);
  color: var(--bg-darker);
  border: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--gold-glow);
}

.gold-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-intense);
  filter: brightness(1.1);
}

.gold-button:active {
  transform: translateY(1px);
}

.submit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
}

.submit-text {
  font-size: 0.85rem;
}

.send-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}

.submit-button:hover .send-icon {
  transform: translate(3px, -2px);
}

.error-text {
  color: #ff6b6b;
  font-size: 0.85rem;
  text-align: left;
  margin-top: 8px;
  margin-left: 4px;
}

.newsletter-notice {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* Success View states */
.hidden {
  display: none !important;
}

.newsletter-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.success-icon-wrapper {
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.3));
  animation: successPulse 2s infinite ease-in-out;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.success-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.success-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  font-weight: 300;
}

/* Footer Section */
.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 0 20px;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(197, 168, 92, 0.05);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  background: rgba(20, 20, 22, 0.4);
  border: 1px solid rgba(197, 168, 92, 0.08);
}

.social-icon:hover {
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
  transform: translateY(-2px);
}

.copyright-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.footer-link {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
  text-shadow: var(--gold-glow);
}

/* Floating Elements Background */
.floating-elements-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.floating-svg {
  position: absolute;
  color: rgba(197, 168, 92, 0.08);
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

/* Position Floating Items */
.item-1 { top: 15%; left: 8%; }
.item-2 { top: 55%; right: 6%; }
.item-3 { top: 20%; right: 10%; }
.item-4 { top: 70%; left: 12%; }

/* Scroll reveal initial states */
.reveal-item, .reveal-scroll, .reveal-fade {
  opacity: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .item-1 { left: 4%; top: 12%; }
  .item-2 { right: 3%; top: 58%; }
  .item-3 { right: 4%; top: 22%; }
  .item-4 { left: 4%; top: 72%; }
}

@media (max-width: 768px) {
  .header-container {
    padding: 30px 0;
  }

  .hero-section {
    margin: 40px auto 30px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .countdown-wrapper {
    gap: 10px;
  }

  .countdown-unit {
    width: 75px;
    height: 75px;
  }

  .countdown-digits {
    font-size: 1.65rem;
  }

  .countdown-tag {
    font-size: 0.6rem;
  }

  .countdown-divider {
    font-size: 1.5rem;
  }

  .products-section {
    margin: 70px auto 40px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .newsletter-section {
    padding: 24px;
    margin: 40px auto;
  }

  .newsletter-title {
    font-size: 1.4rem;
  }

  .input-group {
    flex-direction: column;
    gap: 10px;
  }

  .submit-button {
    padding: 16px;
    width: 100%;
  }

  .floating-svg {
    opacity: 0.5;
  }
}
