/* ============================================================
   GTA Companies — Style
   Brand purple: #8B80D4  |  Dark: #0D0B1A  |  Light: #F8F7FC
   ============================================================ */

:root {
  --purple: #8B80D4;
  --purple-dark: #6B5FC7;
  --purple-light: #A89DE0;
  --purple-bg: #F0EEFB;
  --dark: #0D0B1A;
  --dark-surface: #16132B;
  --dark-card: #1E1A38;
  --light: #F8F7FC;
  --gray-100: #F3F2F8;
  --gray-200: #E8E6F0;
  --gray-400: #9B97AE;
  --gray-600: #6B6780;
  --white: #FFFFFF;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(13, 11, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { border-radius: 8px; transition: transform 0.3s var(--ease); }
.nav-logo:hover img { transform: scale(1.05); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.75);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--purple-light); transition: width 0.3s var(--ease);
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }
.nav-link--cta {
  background: var(--purple); color: #fff !important; padding: 10px 24px;
  border-radius: 8px; font-weight: 600; transition: background 0.3s, transform 0.2s;
}
.nav-link--cta::after { display: none; }
.nav-link--cta:hover { background: var(--purple-dark); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 28px; height: 20px; position: relative; z-index: 101; }
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px;
  position: absolute; left: 0; transition: 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }
.nav-toggle.active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 360px; height: 100vh;
    background: var(--dark); flex-direction: column; justify-content: center;
    gap: 24px; padding: 40px; transition: right 0.5s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.2rem; color: rgba(255,255,255,0.8); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 0.95rem;
  transition: all 0.3s var(--ease); cursor: pointer; border: none;
}
.btn-primary {
  background: var(--purple); color: #fff;
  box-shadow: 0 4px 20px rgba(139, 128, 212, 0.3);
}
.btn-primary:hover {
  background: var(--purple-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 128, 212, 0.4);
}
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--purple-light); color: var(--purple-light); }
.btn-full { width: 100%; }

/* ── Hero ── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  overflow: hidden; background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(139,128,212,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(107,95,199,0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-surface) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; padding: 140px 0 100px; }
.hero-badge {
  display: inline-block; padding: 8px 20px; border-radius: 100px;
  background: rgba(139,128,212,0.12); border: 1px solid rgba(139,128,212,0.2);
  color: var(--purple-light); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 28px;
}
.hero-title-line { display: block; }
.hero-title-accent {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.15rem; color: var(--gray-400); max-width: 580px;
  line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.hero-stat-label { display: block; font-size: 0.75rem; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.hero-stat-value { font-family: var(--font-serif); font-size: 1.5rem; color: #fff; font-weight: 600; }
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
}
.hero-scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--purple-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Sections ── */
.section { padding: 120px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: #fff; }
.section--accent { background: var(--dark-surface); color: #fff; }

.section-header { text-align: center; margin-bottom: 72px; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--purple);
  margin-bottom: 16px;
}
.section-tag--light { color: var(--purple-light); }
.section-title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; line-height: 1.15;
}
.section-title--light { color: #fff; }
.section-subtitle { font-size: 1.1rem; color: var(--gray-600); max-width: 560px; margin: 16px auto 0; line-height: 1.7; }
.section-subtitle--light { color: var(--gray-400); }

/* ── About Cards ── */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-card {
  padding: 40px 32px; border-radius: 16px; background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(139,128,212,0.1);
}
.about-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--purple-bg); color: var(--purple);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.about-card-icon svg { width: 24px; height: 24px; }
.about-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.about-card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.7; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  padding: 44px 36px; border-radius: 16px;
  background: var(--dark-card); border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,128,212,0.3);
}
.service-number {
  font-family: var(--font-serif); font-size: 3rem; font-weight: 700;
  color: rgba(139,128,212,0.15); line-height: 1; margin-bottom: 20px;
}
.service-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.service-desc { color: var(--gray-400); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-list li {
  color: var(--gray-400); font-size: 0.9rem; padding-left: 20px;
  position: relative;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--purple);
}

/* AI Implementation card */
.ai-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 4px; }
.ai-level-title {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--purple-light); margin-bottom: 14px;
}
@media (max-width: 480px) { .ai-levels { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }

/* Sectors */
.sectors { margin-top: 72px; text-align: center; }
.sectors-title { font-size: 1rem; font-weight: 600; color: var(--gray-400); margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.08em; }
.sectors-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sector-tag {
  padding: 10px 24px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1); color: var(--gray-400);
  font-size: 0.9rem; font-weight: 500;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.sector-tag:hover {
  border-color: var(--purple); color: var(--purple-light);
  background: rgba(139,128,212,0.08);
}

/* ── Founder ── */
.founder-content { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.founder-lead { font-size: 1.2rem; font-weight: 500; line-height: 1.8; color: var(--dark); margin-bottom: 20px; }
.founder-text p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.founder-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.highlight {
  padding: 28px 24px; border-radius: 14px; background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.highlight:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(139,128,212,0.08); }
.highlight-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--purple-bg); color: var(--purple);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.highlight-icon svg { width: 20px; height: 20px; }
.highlight h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.highlight p { font-size: 0.85rem; color: var(--gray-600); }

@media (max-width: 768px) {
  .founder-content { grid-template-columns: 1fr; }
  .founder-highlights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) { .founder-highlights { grid-template-columns: 1fr; } }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.contact-form {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 44px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.7);
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: var(--dark); color: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--purple);
  background: rgba(139,128,212,0.06);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-card {
  padding: 32px; border-radius: 16px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.contact-info-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; }
.contact-info-card p { color: var(--gray-400); font-size: 0.95rem; line-height: 1.7; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.contact-detail:last-child { margin-bottom: 0; }
.contact-detail svg { width: 20px; height: 20px; color: var(--purple-light); flex-shrink: 0; }
.contact-detail a,
.contact-detail span { color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.contact-detail a:hover { color: var(--purple-light); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* ── Footer ── */
.footer {
  background: var(--dark); border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.footer-brand img { border-radius: 6px; }
.footer-copy { font-size: 0.85rem; color: var(--gray-400); }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* ── Smooth section transitions ── */
.section { position: relative; }
.section::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,128,212,0.2), transparent);
}
.section:first-of-type::before { display: none; }

/* ── Global Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── Print ── */
@media print {
  .nav, .hero-scroll, .hero-bg { display: none; }
  .section { padding: 40px 0; }
  body { color: #000; background: #fff; }
}
