/* ═══════════════════════════════════════════════════════════
   VINTOR STUDIO — Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg: #050507;
  --bg-elevated: #0a0a0f;
  --bg-card: #0d0d14;
  --bg-card-hover: #12121c;
  --border: #1a1a2e;
  --border-light: #2a2a42;
  --text: #f0f0f5;
  --text-muted: #9898b0;
  --text-dim: #5e5e7a;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-bright: #a5b4fc;
  --green: #34d399;
  --green-dim: #065f46;
  --blue: #60a5fa;
  --orange: #fbbf24;
  --pink: #f472b6;
  --cyan: #22d3ee;
  --radius: 14px;
  --radius-lg: 20px;
  --max-w: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

/* ═══ GRID BACKGROUND ═══ */
.grid-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ═══ NAV ═══ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(5, 5, 7, 0.75);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 2rem; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-weight: 800; font-size: 1.2rem; color: var(--text);
  text-decoration: none; letter-spacing: -0.03em;
}
.nav-logo span { color: var(--accent-light); }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none; font-size: 0.875rem;
  font-weight: 500; transition: color var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 0.55rem 1.5rem !important; border-radius: 10px;
  font-weight: 600 !important; transition: all var(--transition) !important;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
.nav-cta:hover { background: var(--accent-light) !important; box-shadow: 0 0 30px rgba(99, 102, 241, 0.5) !important; transform: translateY(-1px); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 36px; height: 36px; position: relative; z-index: 200;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px auto; transition: all 0.3s; border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══ SERVICE PAGE HERO ═══ */
.page-hero {
  padding: 10rem 2rem 5rem; position: relative; overflow: hidden;
}
.page-hero .hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: float 8s ease-in-out infinite;
}
.page-hero .orb-1 {
  width: 500px; height: 500px; top: -10%; left: -5%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent);
}
.page-hero .orb-2 {
  width: 350px; height: 350px; top: 20%; right: -8%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1), transparent);
  animation-delay: -3s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
.page-hero .hero-inner {
  max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1;
}
.hero-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-dim); margin-bottom: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
}
.hero-breadcrumb a { color: var(--text-dim); text-decoration: none; transition: color var(--transition); }
.hero-breadcrumb a:hover { color: var(--accent-light); }
.hero-breadcrumb .sep { opacity: 0.4; }
.hero-pillar-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; padding: 0.35rem 0.8rem;
  border-radius: 8px; margin-bottom: 1.25rem;
}
.tag-build { background: rgba(99,102,241,0.1); color: var(--accent-light); border: 1px solid rgba(99,102,241,0.2); }
.tag-automate { background: rgba(52,211,153,0.1); color: var(--green); border: 1px solid rgba(52,211,153,0.2); }
.tag-grow { background: rgba(251,191,36,0.1); color: var(--orange); border: 1px solid rgba(251,191,36,0.2); }
.tag-web3 { background: rgba(34,211,238,0.1); color: var(--cyan); border: 1px solid rgba(34,211,238,0.2); }
.tag-all { background: rgba(96,165,250,0.1); color: var(--blue); border: 1px solid rgba(96,165,250,0.2); }
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.04em;
  max-width: 750px; margin-bottom: 1.5rem;
}
.page-hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent-bright), var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero .hero-desc {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 620px; line-height: 1.75; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2.2rem; background: var(--accent);
  color: #fff; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  text-decoration: none; transition: all var(--transition);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.3);
  font-family: inherit;
}
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.9rem 2.2rem; background: rgba(255,255,255,0.03);
  color: var(--text-muted); border: 1px solid var(--border);
  border-radius: 12px; font-size: 1rem; font-weight: 500;
  cursor: pointer; text-decoration: none; transition: all var(--transition);
  font-family: inherit; backdrop-filter: blur(8px);
}
.btn-secondary:hover { border-color: var(--border-light); color: var(--text); background: rgba(255,255,255,0.05); }

/* ═══ SECTIONS ═══ */
section { padding: 7rem 2rem; position: relative; z-index: 1; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 600; color: var(--accent-light);
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800; letter-spacing: -0.03em; margin-bottom: 1rem;
  line-height: 1.15;
}
.section-desc {
  color: var(--text-muted); font-size: 1.1rem;
  max-width: 620px; line-height: 1.75; margin-bottom: 3.5rem;
}

/* ═══ DETAIL CONTENT (service pages) ═══ */
.detail-section { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.detail-grid p {
  color: var(--text-muted); font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem;
}
.detail-grid h3 {
  font-size: 1.3rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.01em;
}

/* Feature cards */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--border-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.25); }
.feature-card .f-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.1rem;
}
.feature-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }

/* Includes list */
.includes-list {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem;
}
.includes-list li {
  font-size: 0.9rem; color: var(--text-muted); padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative; border-bottom: 1px solid var(--border);
}
.includes-list li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); opacity: 0.5;
}

/* Cross-sell / related services */
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.related-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition); text-decoration: none; color: inherit;
  display: block;
}
.related-card:hover { border-color: var(--border-light); transform: translateY(-3px); }
.related-card .r-tag {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; margin-bottom: 0.75rem;
  display: inline-block; padding: 0.2rem 0.5rem; border-radius: 4px;
}
.related-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.related-card p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.related-card .arrow { color: var(--accent-light); font-size: 0.85rem; margin-top: 0.75rem; display: block; }

/* ═══ CTA ═══ */
.cta-section {
  position: relative; overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 5rem 3rem;
  text-align: center; max-width: var(--max-w); margin: 0 auto;
}
.cta-section::before {
  content: ''; position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800; margin-bottom: 1rem; position: relative;
  letter-spacing: -0.02em;
}
.cta-section p {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 520px; margin: 0 auto 2.5rem; line-height: 1.7;
  position: relative;
}

/* ═══ FAQ ═══ */
.faq-section { background: var(--bg-elevated); border-top: 1px solid var(--border); }
.faq-list { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; background: none; border: none; width: 100%;
  text-align: left; color: var(--text); font-size: 1rem;
  font-weight: 600; font-family: inherit; padding: 1.5rem 0;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent-light); }
.faq-q .icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: rgba(99,102,241,0.08); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent-light);
  transition: all var(--transition); flex-shrink: 0; margin-left: 1rem;
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; padding-bottom: 1.5rem; }

/* ═══ CONTACT (inline on service pages) ═══ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; }
.contact-info p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2.5rem; }
.contact-detail {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1.25rem; font-size: 0.95rem;
}
.contact-detail .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); font-size: 0.9rem; flex-shrink: 0;
}
.contact-detail span { color: var(--text-muted); }

form { display: flex; flex-direction: column; gap: 1rem; }
form input, form textarea, form select {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 0.9rem 1.1rem;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  transition: all var(--transition); outline: none; width: 100%;
}
form input::placeholder, form textarea::placeholder { color: var(--text-dim); }
form input:focus, form textarea:focus, form select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
form textarea { resize: vertical; min-height: 130px; }
form select { cursor: pointer; }
form select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 2rem; background: var(--accent);
  color: #fff; border: none; border-radius: 12px;
  font-size: 1rem; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: all var(--transition); width: 100%;
  box-shadow: 0 4px 24px rgba(99,102,241,0.25);
}
.submit-btn:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 8px 32px rgba(99,102,241,0.35); }

/* ═══ FOOTER ═══ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem; background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-inner p { color: var(--text-dim); font-size: 0.85rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a {
  color: var(--text-dim); font-size: 0.85rem;
  text-decoration: none; transition: color var(--transition);
}
.footer-links a:hover { color: var(--text-muted); }

/* ═══ ICON COLORS ═══ */
.icon-indigo { background: rgba(99,102,241,0.1); color: var(--accent-light); }
.icon-green { background: rgba(52,211,153,0.1); color: var(--green); }
.icon-blue { background: rgba(96,165,250,0.1); color: var(--blue); }
.icon-orange { background: rgba(251,191,36,0.1); color: var(--orange); }
.icon-pink { background: rgba(244,114,182,0.1); color: var(--pink); }
.icon-cyan { background: rgba(34,211,238,0.1); color: var(--cyan); }

/* ═══ SYNERGY TAGS ═══ */
.s-build { background: rgba(99,102,241,0.08); color: var(--accent-light); border: 1px solid rgba(99,102,241,0.15); }
.s-automate { background: rgba(52,211,153,0.08); color: var(--green); border: 1px solid rgba(52,211,153,0.15); }
.s-grow { background: rgba(251,191,36,0.08); color: var(--orange); border: 1px solid rgba(251,191,36,0.15); }

/* ═══ 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); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column; position: fixed;
    top: 0; left: 0; right: 0; bottom: 0; background: rgba(5,5,7,0.97);
    align-items: center; justify-content: center; gap: 2rem;
    z-index: 150; backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; }
  .hamburger { display: block; }
  .page-hero { padding: 7rem 1.5rem 3rem; }
  .page-hero h1 { font-size: 2.2rem; }
  section { padding: 5rem 1.5rem; }
  .features-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .includes-list { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-section { padding: 3.5rem 1.5rem; margin: 0 1rem; }
}
