/* ============================================================
   FUTURE UNIVERSE — GLOBAL DESIGN SYSTEM
   Inspired by: joyalsiby.com animation style + FU mockup layout
   ============================================================ */

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

/* ── CSS Custom Properties ───────────────────────────────── */
:root {
  --color-primary:         #0a0f1d;
  --color-primary-light:   #1a2642;
  --color-primary-dark:    #03060c;
  --color-secondary:       #D4A017;
  --color-secondary-light: #fce18b;
  --color-secondary-dark:  #b88a10;
  --color-white:           #FFFFFF;
  --color-bg:              #050811;
  --color-bg-dark:         #020409;
  --color-dark-overlay:    rgba(5, 8, 17, 0.7);
  --color-text:            #e2e8f0;
  --color-text-muted:      #94a3b8;
  --color-text-light:      rgba(255,255,255,0.85);
  --color-border:          rgba(255, 255, 255, 0.08);
  --color-border-light:    rgba(255, 255, 255, 0.04);
  --color-card-bg:         rgba(10, 15, 29, 0.4);
  
  --glass-bg:              linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
  --glass-border:          1px solid rgba(255, 255, 255, 0.12);
  --glass-border-light:    1px solid rgba(255, 255, 255, 0.25);
  --glass-shadow:          0 16px 40px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 0 rgba(255,255,255,0.15);
  --glass-blur:            blur(24px) saturate(160%);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-xs:  12px;
  --radius-sm:  16px;
  --radius-md:  24px;
  --radius-lg:  32px;
  --radius-xl:  48px;
  --radius-pill: 999px;

  --shadow-sm:    0 4px 12px rgba(0,0,0,.15);
  --shadow-md:    0 12px 40px rgba(0,0,0,.25);
  --shadow-lg:    0 24px 80px rgba(0,0,0,.4);
  --shadow-gold:  0 8px 32px rgba(212,160,23,.25);
  --shadow-card:  var(--glass-shadow);
  --glow-gold:    0 0 40px rgba(212,160,23,.35), 0 4px 20px rgba(212,160,23,.25);
  --glow-navy:    0 0 60px rgba(10, 15, 29, 0.6);
  --glow-accent:  0 0 30px rgba(78, 143, 255, 0.3);

  --transition:       all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast:  all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow:  all 0.8s cubic-bezier(0.25, 1, 0.5, 1);

  --container: 1280px;
  --section-py: 120px;
}

/* ── Reset & Base ────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; background: var(--color-bg); }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"),
    radial-gradient(circle at top right, rgba(212,160,23,0.1), transparent 50%),
    radial-gradient(circle at bottom left, rgba(78,143,255,0.1), transparent 50%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }

/* ── Custom Cursor ───────────────────────────────────────── */
#cursor-dot, #cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  will-change: transform;
}
#cursor-dot {
  width: 8px; height: 8px;
  background: var(--color-secondary);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid rgba(212,160,23,.5);
  transition: width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover #cursor-ring {
  width: 54px; height: 54px;
  border-color: var(--color-secondary);
}
@media (hover: none) { #cursor-dot, #cursor-ring { display: none; } }

/* ── Typography ──────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-heading); line-height: 1.22; color: var(--color-white); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.8rem,6vw,4.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem,4vw,3.2rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem,2.5vw,1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.85; font-weight: 300; }

/* ── Layout ──────────────────────────────────────────────── */
.container    { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section-py   { padding: var(--section-py) 0; }
.section-py-sm{ padding: 64px 0; }

/* ── Section Headers ─────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 12px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--color-secondary);
  flex-shrink: 0;
}
.section-label::before { width: 28px; }
.section-label::after  { width: 28px; }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-label { justify-content: center; }
.section-header p { max-width: 620px; margin: 18px auto 0; font-size: 1.05rem; }

.divider-gold        { width: 56px; height: 3px; background: linear-gradient(90deg,var(--color-secondary),var(--color-secondary-light)); border-radius: 2px; margin: 16px 0 28px; }
.divider-gold.center { margin: 16px auto 28px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 34px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-20deg);
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}
.btn:hover::before { left: 150%; }
.btn > * { position: relative; z-index: 2; }

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  background: var(--color-secondary-light);
  border-color: var(--color-secondary-light);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 48px rgba(212,160,23,.45), 0 0 20px rgba(212,160,23,.3);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 40px rgba(255,255,255,0.25);
}

.btn-dark {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-dark:hover {
  background: var(--color-primary-light);
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-md), 0 0 20px rgba(78, 143, 255, 0.2);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 17px 44px; font-size: 1rem; }

/* ── Grids ───────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.grid-6 { display: grid; grid-template-columns: repeat(6,1fr); gap: 24px; }

/* ── Page Hero (inner pages) ─────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 440px;
  padding-top: 80px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(7,15,29,.9) 0%,rgba(11,31,58,.75) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
}
.page-hero-content h1 { color: var(--color-white); margin-bottom: 16px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,.65);
}
.breadcrumb a { color: var(--color-secondary); transition: var(--transition-fast); }
.breadcrumb a:hover { color: var(--color-secondary-light); }
.breadcrumb i { font-size: 0.6rem; }

/* ── Card Base (Glassmorphic) ───────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-md);
  border: var(--glass-border);
  box-shadow: var(--glass-shadow);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}
.card:hover {
  border: var(--glass-border-light);
  box-shadow: var(--shadow-lg), var(--glow-accent);
}
.card:hover::before { opacity: 1; }

/* ── Back to Top ─────────────────────────────────────────── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px; height: 50px;
  background: var(--color-secondary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
  z-index: 900;
  box-shadow: var(--shadow-gold);
  border: none; cursor: pointer;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { background: var(--color-secondary-light); transform: translateY(-4px); }

/* ── Progress Bar ────────────────────────────────────────── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg,var(--color-secondary),var(--color-secondary-light));
  width: 0%;
  z-index: 10000;
  transition: width 0.1s linear;
}

/* ── Utilities ───────────────────────────────────────────── */
.text-gold   { color: var(--color-secondary); }
.text-white  { color: var(--color-white); }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.bg-primary  { background: var(--color-primary); }
.bg-dark     { background: var(--color-primary-dark); }
.bg-light    { background: var(--color-bg); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Hero Contact Info ───────────────────────────────────── */
.hero-contact-info {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  flex-wrap: wrap;
}
.hero-contact-info i {
  color: var(--color-secondary);
  margin-right: 8px;
}

/* ── Responsive ──────────────────────────────────────────── */

/* ── TV / 4K / Large Screens (1600px+) ─────────────────── */
@media (min-width: 1600px) {
  :root { --container: 1440px; --section-py: 140px; }
  html { font-size: 18px; }
  .hero h1 { font-size: 5rem; }
  .hero p { font-size: 1.25rem; }
  .navbar .container { height: 80px; }
  .hero-stat-num { font-size: 2.6rem; }
  .stat-num { font-size: 3.8rem; }
}

/* ── Large Desktop (1441px–1599px) ─────────────────────── */
@media (min-width: 1441px) and (max-width: 1599px) {
  :root { --container: 1360px; --section-py: 130px; }
  html { font-size: 17px; }
}

/* ── Standard Laptop (1025px–1440px) ——————————————————————— */
@media (max-width: 1440px) and (min-width: 1025px) {
  :root { --section-py: 100px; }
  html { font-size: 12.5px; } /* Scales entire layout down ~22% to fit without breaking */
}

/* ── Tablet Landscape / Small Laptop (769px–1024px) ────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-6 { grid-template-columns: repeat(3,1fr); }
  :root { --section-py: 72px; }
  html { font-size: 14px; }
  .btn-lg { padding: 15px 36px; font-size: 0.95rem; }
}

/* ── Tablet Portrait (601px–768px) ───────────────────────── */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-6 { grid-template-columns: repeat(2,1fr); }
  :root { --section-py: 58px; }
  html { font-size: 13.5px; }
  .container { padding: 0 18px; }
  .hero-contact-info { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; font-size: 0.88rem; }
  .btn-lg { padding: 14px 32px; font-size: 0.92rem; }
  .section-header { margin-bottom: 44px; }
  .section-header p { font-size: 0.95rem; }
}

/* ── Large Mobile (481px–600px) ──────────────────────────── */
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr 1fr; }
  :root { --section-py: 48px; }
  html { font-size: 13px; }
  .container { padding: 0 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.2rem; }
  p { font-size: 0.95rem; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }
  .btn-lg { padding: 13px 28px; font-size: 0.9rem; }
  .section-header { margin-bottom: 36px; }
}

/* ── Mobile (max 480px) ─────────────────────────────────── */
@media (max-width: 480px) {
  :root { --section-py: 40px; }
  html { font-size: 12px; }
  .container { padding: 0 14px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }
  p { font-size: 0.9rem; line-height: 1.7; }
  .btn { padding: 11px 20px; font-size: 0.85rem; gap: 7px; }
  .btn-lg { padding: 12px 24px; font-size: 0.88rem; }
  .btn-sm { padding: 9px 18px; font-size: 0.82rem; }
  .hero-contact-info { font-size: 0.82rem; gap: 8px; }
  .section-label { font-size: 0.7rem; letter-spacing: 0.18em; }
  .section-label::before,
  .section-label::after { width: 18px; }
  .section-header { margin-bottom: 32px; }
  .section-header p { font-size: 0.88rem; margin-top: 12px; }
  .divider-gold { width: 44px; margin: 12px 0 20px; }
}

/* ── Small Mobile (max 360px) ───────────────────────────── */
@media (max-width: 360px) {
  .container { padding: 0 12px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
  .btn { padding: 10px 18px; font-size: 0.82rem; }
  .hero-contact-info { font-size: 0.78rem; }
}

