/* ══════════════════════════════════════════════
   NOOR AI — Premium Corporate Stylesheet
   Palette: Deep Navy (#07111f) + Pure Gold (#c9a84c)
   ══════════════════════════════════════════════ */

:root {
  --bg-base:        #07111f;
  --bg-surface:     #0c1a2e;
  --bg-card:        #0f2040;
  --bg-card-hover:  #122548;
  --gold:           #c9a84c;
  --gold-light:     #e2c47a;
  --gold-dim:       rgba(201, 168, 76, 0.18);
  --gold-border:    rgba(201, 168, 76, 0.35);
  --text-primary:   #eef2f7;
  --text-secondary: #8da0b8;
  --text-muted:     #4d6680;
  --white:          #ffffff;
  --font-serif:     'Cormorant Garamond', Georgia, serif;
  --font-sans:      'Inter', system-ui, sans-serif;
  --radius-sm:      6px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --shadow-card:    0 4px 32px rgba(0,0,0,0.45);
  --shadow-gold:    0 0 32px rgba(201, 168, 76, 0.12);
  --transition:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:          1160px;
}

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

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

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--gold-border); border-radius: 3px; }

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-base);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 40px rgba(0,0,0,0.6);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--gold); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-surface);
  border-top: 1px solid var(--gold-border);
  padding: 12px 32px 20px;
  gap: 4px;
}
.nav-link-mobile {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-link-mobile:hover { color: var(--gold); }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg-base);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--transition);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(201,168,76,0.35); }
.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold-border);
}
.btn-ghost:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 1rem; }

/* ══════════════════════════════════════
   SECTION SHARED
══════════════════════════════════════ */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px 32px;
}
.section-header {
  text-align: center;
  margin-bottom: 70px;
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg-glow {
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  background: radial-gradient(ellipse at center,
    rgba(201, 168, 76, 0.06) 0%,
    rgba(12, 35, 68, 0.3) 45%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 780px;
  padding: 40px 32px;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 36px;
  text-transform: uppercase;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 44px;
}
.br-desktop { display: block; }
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 28px;
  background: rgba(12, 26, 46, 0.75);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(201, 168, 76, 0.12);
  transition: all var(--transition);
}
.hero-stats:hover {
  border-color: rgba(201, 168, 76, 0.55);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 32px rgba(201, 168, 76, 0.22);
}
.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
}
.stat-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.hero-stats:hover .stat-icon-wrap {
  transform: scale(1.08);
}
.stat-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.stat-value {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--gold-light);
  background: linear-gradient(135deg, #ffffff 20%, #e2c47a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 2px;
}
.stat-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}
.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   FEATURES
══════════════════════════════════════ */
.features {
  background: var(--bg-surface);
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.feature-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}
.feature-card:hover::before { opacity: 1; }

.card-featured {
  background: linear-gradient(160deg, #122548 0%, #0c1e3d 100%);
  border-color: var(--gold-border);
}
.card-featured::before { opacity: 1; }
.card-featured-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--gold);
  color: var(--bg-base);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.card-icon-wrap {
  width: 52px; height: 52px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.card-icon {
  width: 26px; height: 26px;
  color: var(--gold);
}
.card-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}
.card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
}
.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.bullet {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.card-footer { margin-top: auto; }
.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 4px 14px;
}

/* ══════════════════════════════════════
   TEAM
══════════════════════════════════════ */
.team {
  background: var(--bg-base);
}
.team-card-wrap {
  display: flex;
  justify-content: center;
}
.team-card {
  display: flex;
  gap: 72px;
  align-items: center;
  max-width: 900px;
  width: 100%;
}
.team-portrait-frame {
  position: relative;
  flex-shrink: 0;
}
.portrait-border-outer {
  width: 280px; height: 340px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 8px;
  background: var(--bg-card);
}
.portrait-border-inner {
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
}
.ceo-portrait {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.team-card:hover .ceo-portrait { transform: scale(1.03); }

.portrait-corner {
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--gold);
  border-style: solid;
}
.portrait-corner.tl { top: -6px;    left: -6px;  border-width: 2px 0 0 2px; border-radius: 3px 0 0 0; }
.portrait-corner.tr { top: -6px;    right: -6px; border-width: 2px 2px 0 0; border-radius: 0 3px 0 0; }
.portrait-corner.bl { bottom: -6px; left: -6px;  border-width: 0 0 2px 2px; border-radius: 0 0 0 3px; }
.portrait-corner.br { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; border-radius: 0 0 3px 0; }

.team-info { flex: 1; }
.team-name-block { margin-bottom: 28px; }
.team-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 8px;
}
.team-role {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.team-quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold-light);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.team-bio {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}
.team-credentials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.credential {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(15, 32, 64, 0.6);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
}
.credential:hover {
  background: rgba(18, 37, 72, 0.85);
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(201, 168, 76, 0.18);
}
.cred-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.cred-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.cred-value {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 20%, #e2c47a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.02em;
}
.cred-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact {
  background: var(--bg-surface);
  border-top: 1px solid rgba(201,168,76,0.08);
}
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 80px 0;
  flex-wrap: wrap;
}
.contact-text { max-width: 520px; }
.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer {
  background: #050e1a;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(201,168,76,0.1);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}
.footer-logo { margin-bottom: 10px; }
.footer-tagline {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}
.footer-social-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.social-links {
  display: flex;
  gap: 14px;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.social-icon {
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: color var(--transition);
}
.footer-divider {
  max-width: var(--max-w);
  margin: 48px auto 24px;
  padding: 0 32px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.footer-legal { display: flex; gap: 8px; align-items: center; }
.footer-legal-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-legal-link:hover { color: var(--gold); }
.footer-dot { color: var(--text-muted); font-size: 0.7rem; }

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .team-card { flex-direction: column; text-align: center; gap: 40px; }
  .team-quote { text-align: left; }
  .team-credentials { justify-content: center; }
  .contact-inner { flex-direction: column; text-align: center; }
  .contact-text { max-width: 100%; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile.open { display: flex; }
  .nav-inner { padding: 0 20px; }
  .section-container { padding: 70px 20px; }
  .stat { padding: 4px 8px; }
  .hero-stats { padding: 14px 20px; flex-wrap: wrap; border-radius: var(--radius-lg); }
  .br-desktop { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .portrait-border-outer { width: 230px; height: 280px; }
  .team-credentials { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .credential { padding: 12px 14px; }
  .cred-value { font-size: 1.25rem; }
}
@media (max-width: 540px) {
  .hero-title { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; border-radius: var(--radius-lg); gap: 12px; }
  .stat-divider { width: 80%; height: 1px; background: linear-gradient(to right, transparent, var(--gold-border), transparent); }
  .team-credentials { grid-template-columns: 1fr; }
}
