/* ==========================================================
   Y HOLDING — Global Design System
   Inspired by Apple's minimalist aesthetic
   ========================================================== */

/* 1. DESIGN TOKENS
   ========================================================== */
:root {
  /* Colors */
  --white:         #FFFFFF;
  --bg-primary:    #FFFFFF;
  --bg-secondary:  #F5F5F7;
  --bg-dark:       #1D1D1F;
  --bg-black:      #000000;

  --text-primary:  #1D1D1F;
  --text-secondary:#6E6E73;
  --text-tertiary: #86868B;
  --text-light:    #F5F5F7;
  --text-white:    #FFFFFF;

  --border:        rgba(0,0,0,0.08);
  --border-light:  rgba(255,255,255,0.12);
  --border-mid:    rgba(0,0,0,0.12);

  /* Spacing */
  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  32px;
  --space-lg:  64px;
  --space-xl:  120px;
  --space-2xl: 180px;

  /* Radius */
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill:100px;

  /* Shadows */
  --shadow-xs:  0 1px 4px rgba(0,0,0,0.06);
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.14);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.18);

  /* Transitions */
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout: cubic-bezier(0.45, 0, 0.55, 1);

  --t-fast:   0.2s var(--ease-out);
  --t-med:    0.4s var(--ease-out);
  --t-slow:   0.7s var(--ease-out);
  --t-xslow:  1.0s var(--ease-out);

  /* Layout */
  --container: 1200px;
  --nav-h:     60px;
}

/* 2. RESET & BASE
   ========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
               'Helvetica Neue', 'Segoe UI', Arial, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }

/* 3. TYPOGRAPHY
   ========================================================== */
.display-xl {
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.display-lg {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}
.display-md {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(40px, 5vw, 80px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.5vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
h4 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
p  { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }

.text-lead { font-size: clamp(19px, 2vw, 24px); font-weight: 400; line-height: 1.6; }
.text-small { font-size: 13px; line-height: 1.5; }
.text-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); }

/* 4. LAYOUT
   ========================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.section-header.centered {
  max-width: 700px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.section-label.light { color: rgba(255,255,255,0.5); }

.section-title {
  font-size: clamp(28px, 3.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 20px;
}
.section-title.light { color: var(--text-white); }

.section-subtitle {
  font-size: 19px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.section-subtitle.light { color: rgba(255,255,255,0.65); }

/* 5. BUTTONS
   ========================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: var(--text-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.btn-primary:hover {
  background: #3a3a3c;
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(0,0,0,0.2);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.btn-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(0,0,0,0.04);
  transform: scale(1.02);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-white);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.btn-light:hover {
  background: #F0F0F0;
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255,255,255,0.3);
  font-size: 15px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.btn-ghost-light:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  transform: scale(1.02);
}

/* 6. NAVIGATION
   ========================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--t-fast), backdrop-filter var(--t-fast), border-color var(--t-fast);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--border);
}
.navbar.dark-mode {
  background: transparent;
}
.navbar.dark-mode.scrolled {
  background: rgba(0,0,0,0.75);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: var(--border-light);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  color: var(--text-white);
  transition: opacity var(--t-fast);
}
.nav-logo:hover { opacity: 0.75; }
.navbar.scrolled .nav-logo { color: var(--text-primary); }

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border-radius: 8px;
  transition: background var(--t-fast);
}
.navbar.scrolled .logo-mark {
  background: transparent;
}

.logo-text {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-white);
  transition: color var(--t-fast);
}
.navbar.scrolled .logo-text { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--text-white); }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--text-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--text-white);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--t-fast);
}
.nav-cta:hover {
  background: #F0F0F0;
  transform: scale(1.03);
}
.navbar.scrolled .nav-cta {
  background: var(--text-primary);
  color: var(--text-white);
}
.navbar.scrolled .nav-cta:hover {
  background: #3a3a3c;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast), gap var(--t-fast);
}
.nav-back:hover { color: var(--text-white); gap: 10px; }
.navbar.scrolled .nav-back { color: var(--text-secondary); }
.navbar.scrolled .nav-back:hover { color: var(--text-primary); }
.nav-back svg { width: 16px; height: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--t-fast);
}
.navbar.scrolled .nav-toggle span { background: var(--text-primary); }

/* Mobile Drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 24px 24px;
  gap: 4px;
  border-top: 1px solid var(--border-light);
}
.nav-mobile a {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-light);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t-fast);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text-white); }
.nav-mobile .nav-cta-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 14px 28px;
  background: var(--text-white);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
}
.nav-mobile.open { display: flex; }

/* 7. HERO — HOMEPAGE
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(80,80,120,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(40,60,100,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 60%, rgba(60,40,80,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.hero-eyebrow.visible { opacity: 1; transform: translateY(0); }
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #34C759;
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(52px, 8vw, 110px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--text-white);
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.hero-title .line.visible { opacity: 1; transform: translateY(0); }
.hero-title .line:nth-child(1) { transition-delay: 0.1s; }
.hero-title .line:nth-child(2) { transition-delay: 0.22s; }
.hero-title .line:nth-child(3) { transition-delay: 0.34s; }

.hero-title .accent { color: rgba(255,255,255,0.35); }

.hero-sub {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) 0.5s, transform var(--t-slow) 0.5s;
}
.hero-sub.visible { opacity: 1; transform: translateY(0); }

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-slow) 0.65s, transform var(--t-slow) 0.65s;
}
.hero-actions.visible { opacity: 1; transform: translateY(0); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.8); }
}

/* 8. STATS
   ========================================================== */
.stats {
  background: var(--bg-secondary);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--bg-secondary);
  padding: 48px 32px;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* 9. ABOUT
   ========================================================== */
.about {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-text .section-header { margin-bottom: 32px; }
.about-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-text p:first-of-type {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 24px;
}
.about-values {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.value-card {
  background: var(--bg-secondary);
  padding: 32px;
  border-radius: 0;
  transition: background var(--t-fast);
}
.value-card:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.value-card:last-child  { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.value-card:hover { background: #EBEBED; }
.value-icon {
  font-size: 10px;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.value-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 10. PORTFOLIO
   ========================================================== */
.portfolio {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}

.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.filter-btn {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1.5px solid var(--border-mid);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}
.filter-btn.active {
  background: var(--text-primary);
  color: var(--text-white);
  border-color: var(--text-primary);
}
.filter-btn[data-filter="proptech"].active  { background: #007AFF; border-color: #007AFF; }
.filter-btn[data-filter="fintech"].active   { background: #30D158; border-color: #30D158; }
.filter-btn[data-filter="healthtech"].active{ background: #FF375F; border-color: #FF375F; }

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

.company-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: transform var(--t-med), box-shadow var(--t-med);
  cursor: pointer;
}
.company-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.card-accent {
  height: 6px;
  background: var(--card-color, #1D1D1F);
}

.card-body {
  padding: 32px;
  flex: 1;
}

.card-logo-wrap {
  width: 52px;
  height: 52px;
  background: var(--card-color, #1D1D1F);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius-pill);
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.card-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
}
.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast), opacity var(--t-fast);
}
.card-link:hover { gap: 8px; opacity: 0.7; }

/* 11. INVEST SECTION
   ========================================================== */
.invest {
  padding: var(--space-2xl) 0;
  background: var(--bg-black);
  position: relative;
  overflow: hidden;
}
.invest::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(80,80,180,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.invest-inner {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.invest-inner .section-label { margin-bottom: 20px; }
.invest-inner .section-title { font-size: clamp(36px, 4.5vw, 64px); margin-bottom: 24px; }

.invest-desc {
  font-size: 19px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 52px;
}

.invest-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 52px;
  text-align: left;
}
.invest-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: var(--radius-md);
  transition: background var(--t-fast);
}
.invest-feature:hover { background: rgba(255,255,255,0.08); }
.invest-feature .fi-icon {
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}
.invest-feature span {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.invest-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 12. CONTACT
   ========================================================== */
.contact {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.contact-info { padding-top: 12px; }
.contact-info p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-details-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-detail-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.contact-detail-value {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  position: relative;
}
.form-group label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 15px;
  color: var(--text-tertiary);
  pointer-events: none;
  transition: all var(--t-fast);
  transform-origin: left top;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 24px 16px 12px;
  background: var(--bg-secondary);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%2386868B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--text-primary);
  background: var(--bg-primary);
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:not([value=""]) ~ label {
  transform: translateY(-8px) scale(0.78);
  color: var(--text-tertiary);
}
.form-group select option { background: var(--bg-primary); }

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.full-width { grid-column: 1 / -1; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--text-primary);
  color: var(--text-white);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  align-self: flex-start;
  transition: all var(--t-fast);
  border: none;
  cursor: pointer;
}
.btn-submit:hover {
  background: #3a3a3c;
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}
.btn-submit .arrow { transition: transform var(--t-fast); }
.btn-submit:hover .arrow { transform: translateX(4px); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background: #F0FFF4;
  border: 1px solid #34C759;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: #1A7A2E;
}
.form-success.show { display: flex; }

/* 13. FOOTER
   ========================================================== */
.footer {
  background: var(--bg-dark);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 20px; }
.footer-brand .nav-logo .logo-mark { background: transparent; }
.footer-brand .nav-logo .logo-text { color: var(--text-white); }
.footer-brand p {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  padding: 5px 0;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--text-white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* 14. REVEAL ANIMATIONS
   ========================================================== */
.reveal-fade {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal-fade:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger .reveal-fade:nth-child(2) { transition-delay: 0.12s; }
.reveal-stagger .reveal-fade:nth-child(3) { transition-delay: 0.19s; }
.reveal-stagger .reveal-fade:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger .reveal-fade:nth-child(5) { transition-delay: 0.33s; }
.reveal-stagger .reveal-fade:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger .reveal-fade:nth-child(7) { transition-delay: 0.47s; }

/* 15. COMPANY DETAIL PAGES
   ========================================================== */
:root {
  --company-color: #1D1D1F;
  --company-color-rgb: 29,29,31;
}

/* Company hero */
.co-hero {
  min-height: 100vh;
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.co-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 40%,
    rgba(var(--company-color-rgb), 0.22) 0%, transparent 65%);
  pointer-events: none;
}
.co-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
  text-align: center;
}
.co-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 32px;
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.co-logo-badge {
  width: 22px;
  height: 22px;
  background: var(--company-color);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: white;
}
.co-hero-title {
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text-white);
  line-height: 1;
  margin-bottom: 24px;
}
.co-hero-title span { color: var(--company-color); }
.co-hero-tagline {
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 48px;
}
.co-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Company overview */
.co-overview {
  padding: var(--space-2xl) 0;
  background: var(--bg-primary);
}
.co-overview-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.co-overview-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}
.co-overview-text p:first-child {
  font-size: 21px;
  color: var(--text-primary);
  line-height: 1.55;
  font-weight: 400;
}
.co-overview-highlight {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.co-highlight-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}
.co-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.co-highlight-item:last-child { border-bottom: none; }
.co-hi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--company-color);
  margin-top: 6px;
  flex-shrink: 0;
}
.co-hi-text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
}

/* Features grid */
.co-features {
  padding: var(--space-2xl) 0;
  background: var(--bg-secondary);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: 36px;
  transition: transform var(--t-med), box-shadow var(--t-med);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--company-color);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin: 0; }

/* Market section */
.co-market {
  padding: var(--space-xl) 0;
  background: var(--bg-primary);
}
.co-market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.co-market-item {
  background: var(--bg-primary);
  padding: 40px 32px;
  text-align: center;
}
.co-market-value {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--company-color);
  display: block;
  margin-bottom: 8px;
}
.co-market-item p { font-size: 14px; color: var(--text-tertiary); margin: 0; }

/* Company CTA */
.co-cta {
  padding: var(--space-2xl) 0;
  background: var(--bg-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.co-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(var(--company-color-rgb), 0.2) 0%, transparent 65%);
  pointer-events: none;
}
.co-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}
.co-cta h2 { font-size: clamp(32px, 4vw, 52px); color: var(--text-white); margin-bottom: 20px; }
.co-cta p { font-size: 18px; color: rgba(255,255,255,0.55); margin-bottom: 40px; }
.co-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 16. RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .about-layout     { grid-template-columns: 1fr; gap: 48px; }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .invest-features  { grid-template-columns: 1fr; }
  .contact-layout   { grid-template-columns: 1fr; gap: 48px; }
  .footer-top       { grid-template-columns: 1fr; gap: 48px; }
  .co-overview-layout { grid-template-columns: 1fr; gap: 48px; }
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .co-market-grid   { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --space-xl: 80px; --space-2xl: 100px; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-filters { gap: 6px; }
  .filter-btn { font-size: 13px; padding: 6px 14px; }

  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }

  .features-grid  { grid-template-columns: 1fr; }
  .co-market-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(44px, 10vw, 64px); }
  .co-hero-title { font-size: clamp(52px, 12vw, 80px); }

  .invest-features { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .hero-actions, .co-hero-actions, .invest-actions, .co-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-secondary, .btn-light, .btn-ghost-light {
    justify-content: center;
  }
}

/* 17. UTILS
   ========================================================== */
.text-center { text-align: center; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.hidden { display: none; }

/* Cursor dot */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s var(--ease-out), opacity 0.15s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,0,0,0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.3s var(--ease-out), width 0.3s, height 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  border-color: rgba(0,0,0,0.15);
}
@media (max-width: 768px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* Smooth page load */
body { animation: pageFadeIn 0.4s ease both; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Selection */
::selection {
  background: rgba(0,0,0,0.12);
  color: var(--text-primary);
}
