/* === IURY VIDEOMAKER — DESIGN SYSTEM === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy:    #07070E;
  --navy2:   #0D0D22;
  --surface: rgba(255,255,255,0.04);
  --border:  rgba(255,255,255,0.08);
  --border-a:rgba(88,85,255,0.2);
  --text:    #F0F0FC;
  --muted:   #7878A0;
  --accent:  #5855FF;
  --accent2: #7B78FF;
  --glow:    rgba(88,85,255,0.35);
  --white:   #FFFFFF;
  --light:   #FFFFFF;
  --light2:  #EDEDF2;
  --lt:      #111120;
  --lm:      #555568;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

body.light-page { background: var(--light); color: var(--lt); }

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; }

h1 { font-size: clamp(40px, 6vw, 82px); font-weight: 900; letter-spacing: -2px; }
h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; letter-spacing: -1.5px; }
h3 { font-size: clamp(20px, 2.5vw, 26px); font-weight: 700; letter-spacing: -0.5px; }

p { font-size: 17px; line-height: 1.75; color: var(--muted); }
p.light { color: var(--lm); }

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

/* === LAYOUT === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.section { padding: 100px 0; }
.section-light { background: var(--light); color: var(--lt); }
.section-dark { background: var(--navy); color: var(--text); }
.section-mid { background: var(--navy2); color: var(--text); }

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-label.dark { color: var(--accent); }
.section-label.light { color: var(--accent); }

.section-header { margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 560px; font-size: 18px; }

/* === NAVBAR === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(7,7,14,0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  transition: all .3s;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar-logo {
  display: flex; flex-direction: column; gap: 1px;
  text-decoration: none;
}
.navbar-logo .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1;
}
.navbar-logo .logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}
.navbar-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  letter-spacing: 0.3px;
}
.navbar-links a:hover, .navbar-links a.active { color: var(--white); }
.navbar-cta {
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all .2s;
  letter-spacing: 0.3px;
}
.navbar-cta:hover { background: var(--accent2); transform: translateY(-1px); box-shadow: 0 8px 30px var(--glow); }
.navbar-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.navbar-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .3s; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all .25s;
  letter-spacing: 0.3px;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 40px var(--glow);
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 0 60px var(--glow); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--surface); border-color: rgba(255,255,255,0.2); }
.btn-white {
  background: var(--white);
  color: var(--lt);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.btn-ghost-dark {
  background: transparent;
  color: var(--lt);
  border: 1.5px solid rgba(0,0,0,0.15);
}
.btn-ghost-dark:hover { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.25); }
.btn svg { width: 18px; height: 18px; }

/* === DIVIDER === */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}
.divider-light {
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.08), transparent);
}

/* === BADGE === */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
}
.badge-accent {
  background: rgba(88,85,255,0.12);
  border: 1px solid rgba(88,85,255,0.3);
  color: var(--accent2);
}
.badge-accent-dark {
  background: rgba(88,85,255,0.12);
  border: 1px solid rgba(88,85,255,0.25);
  color: #9895FF;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* === CARDS === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s;
}
.card:hover {
  border-color: var(--border-a);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.card-icon {
  width: 52px; height: 52px;
  background: rgba(88,85,255,0.12);
  border: 1px solid rgba(88,85,255,0.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; color: var(--accent2); }
.card h3 { color: var(--white); margin-bottom: 12px; font-size: 20px; }
.card p { font-size: 15px; }

.card-light {
  background: var(--white);
  border: 1px solid var(--light2);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s;
}
.card-light:hover {
  border-color: rgba(88,85,255,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(88,85,255,0.1);
}
.card-light h3 { color: var(--lt); margin-bottom: 12px; font-size: 20px; }
.card-light p { font-size: 15px; color: var(--lm); }

/* === GRID === */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-asym { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 24px; align-items: center; }

/* === STATS === */
.stats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--light2); border-radius: 16px; overflow: hidden; }
.stat-item {
  background: var(--white);
  padding: 48px 40px;
  text-align: center;
}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(44px,5vw,66px);
  font-weight: 900;
  color: var(--lt);
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--accent); }
.stat-label { font-size: 14px; font-weight: 600; color: var(--lm); letter-spacing: 0.5px; text-transform: uppercase; }

/* === PROCESS STEPS === */
.step { display: flex; gap: 24px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.step-num-dark {
  background: rgba(88,85,255,0.15);
  border: 1px solid rgba(88,85,255,0.3);
  color: var(--accent2);
}
.step-content h3 { font-size: 18px; margin-bottom: 8px; }
.step-content p { font-size: 15px; }

/* === ORB BACKGROUND === */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.orb-purple { background: rgba(88,85,255,0.18); }
.orb-navy  { background: rgba(0,10,60,0.4); }

/* === GRADIENT TEXT === */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent2), #B8B6FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === SCROLL ANIMATIONS === */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* === FOOTER === */
.footer { background: #04040A; padding: 72px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo-name { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 900; color: var(--white); letter-spacing: -0.5px; }
.footer-brand .logo-sub { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: 14px; color: var(--muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 32px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); transition: color .2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 12px; }
.footer-social-link {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: all .2s;
}
.footer-social-link:hover { border-color: var(--border-a); color: var(--accent2); background: rgba(88,85,255,0.08); }
.footer-social-link svg { width: 16px; height: 16px; }

/* === MOBILE === */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  h1 { font-size: clamp(36px,8vw,52px); }
  h2 { font-size: clamp(28px,6vw,40px); }
  .grid-3, .grid-2, .grid-asym { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .navbar-links, .navbar-cta { display: none; }
  .navbar-hamburger { display: flex; }
  .navbar-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy);
    align-items: center; justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .navbar-links.open a { font-size: 22px; color: var(--text); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .btn { padding: 13px 24px; font-size: 14px; }
}
