/* ==============================================================================
   ORFEAS — LUXURY DESIGN SYSTEM (Dark Roman Night & Imperial Gold)
   ============================================================================== */

:root {
  /* Color Tokens matching Orfeas Theme */
  --bg-dark: #12203A;
  --bg-surface: #182846;
  --bg-surface-raised: #1C2E50;
  --bg-surface-container: #22375F;
  --bg-surface-high: #2A4271;
  --bg-glass: rgba(24, 40, 70, 0.75);
  --bg-glass-card: rgba(28, 46, 80, 0.65);
  
  --gold-primary: #DFB15B;
  --gold-light: #F3D696;
  --gold-deep: #C59846;
  --gold-glow: rgba(223, 177, 91, 0.25);
  --gold-border: rgba(223, 177, 91, 0.35);

  --emerald-free: #10B981;
  --purple-live: #9D4EDD;
  --purple-glow: rgba(157, 78, 221, 0.25);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==============================================================================
   RESET & BASE STYLES
   ============================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

section, [id] {
  scroll-margin-top: 100px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Glows */
body::before {
  content: '';
  position: fixed;
  top: -15vw;
  left: 20vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(223, 177, 91, 0.12) 0%, rgba(18, 32, 58, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20vw;
  right: 10vw;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.08) 0%, rgba(18, 32, 58, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ==============================================================================
   LAYOUT & CONTAINER
   ============================================================================== */

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

section {
  padding: 90px 0;
  position: relative;
}

/* ==============================================================================
   TYPOGRAPHY & HEADINGS
   ============================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(223, 177, 91, 0.12);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 50px auto;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 50%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==============================================================================
   BUTTONS & CTAS
   ============================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-primary) 100%);
  color: #0F172A;
  box-shadow: 0 6px 20px rgba(223, 177, 91, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(223, 177, 91, 0.5);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 100%);
}

.btn-secondary {
  background: var(--bg-surface-raised);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-surface-container);
  border-color: var(--gold-border);
  transform: translateY(-2px);
  color: var(--gold-light);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* App Store Luxury Badges */
.btn-app-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: var(--bg-surface-raised);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-align: left;
  transition: all var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

.btn-app-store:hover {
  transform: translateY(-3px);
  border-color: var(--gold-light);
  background: var(--bg-surface-container);
  box-shadow: 0 12px 32px var(--gold-glow);
}

.btn-app-store .store-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.btn-app-store .store-text {
  display: flex;
  flex-direction: column;
}

.btn-app-store .store-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

.btn-app-store .store-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}

/* Toast notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--bg-surface-raised);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: var(--text-primary);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
  display: none;
  max-width: 360px;
  animation: slideUp 0.3s ease-out;
  backdrop-filter: blur(20px);
}

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

/* ==============================================================================
   NAVBAR
   ============================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(18, 32, 58, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(223, 177, 91, 0.15);
  transition: padding var(--transition-fast);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-raised);
  border: 1px solid var(--gold-border);
  padding: 4px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold-primary);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==============================================================================
   HERO SECTION
   ============================================================================== */

.hero {
  padding-top: 160px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  margin-bottom: 22px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge-item span {
  color: var(--gold-primary);
  font-weight: 600;
}

/* Hero Phone Mockup */
.mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 520px;
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(157, 78, 221, 0.15) 60%, transparent 80%);
  filter: blur(40px);
  z-index: 0;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 310px;
  height: 600px;
  background: #0B1323;
  border-radius: 44px;
  border: 10px solid #1C2E50;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--gold-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 22px;
  background: #1C2E50;
  margin: 0 auto;
  border-radius: 0 0 14px 14px;
}

.phone-screen {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-dark);
  overflow: hidden;
}

.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-header span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.screen-card {
  background: var(--bg-surface);
  border: 1px solid rgba(223, 177, 91, 0.2);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.screen-card-img {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--gold-primary), var(--purple-live));
  border-radius: 10px;
}

.screen-card-info h4 {
  font-size: 0.85rem;
  color: var(--text-primary);
}

.screen-card-info p {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.screen-badge {
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-free);
  font-weight: 600;
  display: inline-block;
  margin-top: 4px;
}

/* ==============================================================================
   FEATURES / ORGANIZERS SECTION
   ============================================================================== */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--bg-glass-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  backdrop-filter: blur(16px);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-surface-container);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
  color: var(--gold-light);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==============================================================================
   SPONSOR & STUDIO SECTION
   ============================================================================== */

.partner-box {
  background: linear-gradient(135deg, var(--bg-surface-raised) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.partner-item h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.partner-item p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 20px;
}

.partner-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-primary);
  background: rgba(223, 177, 91, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(223, 177, 91, 0.25);
}

/* ==============================================================================
   CONTACT / ONBOARDING FORM
   ============================================================================== */

.form-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background: var(--bg-glass-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(223, 177, 91, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-free);
  color: var(--text-primary);
  padding: 18px;
  border-radius: var(--radius-md);
  margin-top: 20px;
  text-align: center;
}

/* ==============================================================================
   FOOTER
   ============================================================================== */

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0D172A;
  padding: 60px 0 30px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.footer-links h5 {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==============================================================================
   RESPONSIVE MEDIA QUERIES
   ============================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions, .hero-badges {
    justify-content: center;
  }

  .mockup-wrapper {
    margin-top: 30px;
  }

  .partner-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: 24px;
    border-bottom: 1px solid var(--gold-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
