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

:root {
  --ink: #1B1C22;     
  --ink-2: #4B4E5C;       
  --ink-3: #8A8E9F;       

  --bg: #F5F3EE;         
  --bg-card: #FFFEFB;      

  --accent: #622A87;  
  --accent-2: #9B5DE5;  
  --accent-3: #00C896;    

  --border: rgba(98, 42, 135, 0.12);

  --gold: #D4A853;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* CUSTOM CURSOR */
.cursor {
  position: fixed;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: multiply;
}
.cursor.expand { width: 40px; height: 40px; background: var(--accent-2); opacity: 0.5; }
.cursor.light {
  background: #ffffff;
  mix-blend-mode: normal;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.85), 0 0 22px rgba(255,255,255,0.5);
}
.cursor.light.expand {
  background: #ffffff;
  opacity: 0.75;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.95), 0 0 30px rgba(255,255,255,0.6);
}

/* NOISE TEXTURE OVERLAY */
body::before {
  content: '';
  position: fixed; 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.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(245,243,238,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 45px;   /* adjust if needed */
  width: auto;
  object-fit: contain;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem; font-weight: 400; letter-spacing: 0.04em;
  text-transform: uppercase; text-decoration: none;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--ink);
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: white !important; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 3rem 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.hero-bg-circle {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,79,255,0.08) 0%, transparent 70%);
  right: -100px; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(43,79,255,0.08);
  border: 1px solid rgba(43,79,255,0.2);
  color: var(--accent);
  font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 6px; height: 6px; background: var(--accent-3); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.hero-title .line-accent { color: var(--accent); }
.hero-title .line-stroke {
  -webkit-text-stroke: 2px var(--ink);
  color: transparent;
}

.hero-desc {
  font-size: 1.125rem; font-weight: 300; line-height: 1.7;
  color: var(--ink-2);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; align-items: center; }
.btn-primary {
  background: var(--accent);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(43,79,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(43,79,255,0.4); }
.btn-ghost {
  color: var(--ink);
  padding: 0.875rem 1.5rem;
  font-size: 0.9rem; font-weight: 400;
  text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
  transition: gap 0.2s;
}
.btn-ghost:hover { gap: 0.75rem; }
.btn-ghost .arrow { font-size: 1.1rem; }

/* HERO VISUAL */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.hero-card.main {
  width: 300px;
  animation: float 6s ease-in-out infinite;
}
.hero-card.mini {
  width: 180px;
  font-size: 0.8rem;
}
.hero-card.mini-1 { top: 30px; right: 0; animation: float 5s ease-in-out infinite 1s; }
.hero-card.mini-2 { bottom: 60px; left: 0; animation: float 7s ease-in-out infinite 0.5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }

.card-tag {
  display: inline-block;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(43,79,255,0.08);
  padding: 0.2rem 0.6rem; border-radius: 4px;
  margin-bottom: 0.75rem;
}
.card-title-sm { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.card-stat { font-size: 2rem; font-weight: 700; font-family: 'Syne', sans-serif; color: var(--accent); }
.card-stat-label { font-size: 0.75rem; color: var(--ink-3); }
.mini-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.mini-label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.85rem; }
.mini-desc { font-size: 0.7rem; color: var(--ink-3); margin-top: 0.25rem; }

/* BAR CHART IN CARD */
.bar-group { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 1rem; }
.bar {
  flex: 1; border-radius: 4px 4px 0 0;
  background: var(--accent);
  opacity: 0.15;
  transition: opacity 0.3s;
}
.bar.active { opacity: 1; }
.bar:hover { opacity: 0.7; }

/* MARQUEE */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--ink);
}
.marquee-track {
  display: flex; gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(245,243,238,0.5);
  display: flex; align-items: center; gap: 1rem;
  flex-shrink: 0;
}
.marquee-item .sep { color: var(--accent); font-size: 1.2rem; }

/* SECTION BASE */
section { padding: 7rem 3rem; position: relative; }
.section-label {
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); display: block; }
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; font-weight: 300; color: var(--ink-2); line-height: 1.7; max-width: 520px; }

/* SERVICES */
#services { background: var(--ink); color: var(--bg); }
#services .section-label { color: rgba(43,79,255,0.9); }
#services .section-label::before { background: rgba(43,79,255,0.9); }
#services .section-title { color: var(--bg); }
#services .section-sub { color: rgba(245,243,238,0.5); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(43,79,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover { border-color: rgba(43,79,255,0.5); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .svc-icon { background: var(--accent); }

.svc-icon {
  width: 52px; height: 52px;
  background: rgba(43,79,255,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s;
  position: relative; z-index: 1;
}
.svc-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 0.9rem;
  position: relative; z-index: 1;
}
.svc-title {
  font-family: 'Clash Display', 'Syne', sans-serif;
  font-weight: 700; font-size: 1.15rem;
  color: #fff;
  letter-spacing: -0.01em;
}
.svc-arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.service-card:hover .svc-arrow {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.svc-desc {
  font-size: 0.875rem; color: rgba(245,243,238,0.45);
  line-height: 1.75;
  position: relative; z-index: 1;
  margin-bottom: 1.5rem;
}
.svc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; position: relative; z-index: 1; }
.svc-tag {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem; border-radius: 100px;
  background: rgba(43,79,255,0.15);
  border: 1px solid rgba(43,79,255,0.25);
  color: rgba(160,180,255,0.9);
  transition: background 0.2s;
}
.service-card:hover .svc-tag { background: rgba(43,79,255,0.25); }

/* PROCESS */
.process-section { background: var(--bg-card); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute; top: 24px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--border);
}
.process-step { text-align: center; padding: 0 1.5rem; }
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.9rem;
  margin: 0 auto 1.25rem;
  position: relative; z-index: 1;
  transition: background 0.3s, border-color 0.3s;
}
.process-step:hover .step-num { background: var(--accent); border-color: var(--accent); color: white; }
.step-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; }
.step-desc { font-size: 0.8rem; color: var(--ink-3); line-height: 1.6; }

/* TECH STACK */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.tech-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}
.tech-cat-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.tech-cat-label::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
}
.tech-items { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tech-item {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem; font-weight: 500;
  color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s;
}
.tech-item:hover { border-color: var(--accent); color: var(--ink); }
.tech-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* CTA */
.cta-section {
  background: var(--ink);
  text-align: center;
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'VINEEV';
  position: absolute;
  font-family: 'Syne', sans-serif;
  font-size: 18vw; font-weight: 800;
  color: rgba(255,255,255,0.02);
  letter-spacing: -0.05em;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}
.cta-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.cta-title span { color: var(--accent); }
.cta-desc { color: rgba(245,243,238,0.5); font-size: 1.05rem; max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-cta {
  background: var(--accent);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-size: 0.95rem; font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(43,79,255,0.4);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(43,79,255,0.5); }
.btn-cta-ghost {
  color: rgba(245,243,238,0.7);
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-cta-ghost:hover { border-color: rgba(255,255,255,0.4); color: white; }

/* CONTACT FORM — dark, centered layout */
.contact-section {
  padding: 6rem 2rem;
  background: radial-gradient(circle at 10% 10%, rgba(43,79,255,0.06), transparent 15%), linear-gradient(180deg, rgba(10,10,12,0.98), rgba(10,10,12,0.98));
  color: rgba(255,255,255,0.95);
  text-align: center;
}
.contact-section .section-label { color: rgba(255,255,255,0.65); }
.contact-section .section-title { color: #fff; margin-bottom: 0.25rem; }
.contact-section .section-sub { color: rgba(255,255,255,0.6); margin-bottom: 1.5rem; }
.contact-grid {
  margin-top: 1.75rem;
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  justify-items: center;
}
.contact-form { display:flex; flex-direction:column; gap:1rem; align-items: stretch; width: 100%; max-width: 820px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { width: 100%; }
.field input { width:100%; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
  padding: 1.05rem 1.15rem; border-radius: 14px; border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.95); font-size: 1rem; resize: vertical;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.contact-form textarea { min-height: 220px; }
.form-actions { display:flex; justify-content:center; margin-top:0.75rem; }
.btn-cta.main-cta {
  background: var(--accent); color: #fff; padding: 1rem 2.5rem; border-radius: 14px; font-weight: 700;
  box-shadow: 0 10px 34px rgba(43,79,255,0.18);
}
.btn-cta.main-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 46px rgba(43,79,255,0.22); }
.btn-cta.main-cta:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(43,79,255,0.22); }
.contact-info { background: transparent; border: 1px solid rgba(255,255,255,0.04); padding:1.25rem; border-radius:12px; color: rgba(255,255,255,0.9); }
.contact-info h4 { color: var(--accent-3); margin-bottom:0.5rem; font-size:0.95rem; }
.contact-info a { color: rgba(255,255,255,0.85); text-decoration:none; }
.contact-info a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
}


/* FOOTER */
.site-footer {
  background: #0A0A0C;
  color: rgba(245,243,238,0.85);
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.footer-logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.25rem; font-weight: 800;
  color: rgba(245,243,238,0.95);
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-tagline { font-size: 0.9rem; color: rgba(245,243,238,0.7); }
.footer-social { display:flex; gap:0.6rem; margin-top:0.5rem; }
.social-link { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; border-radius:8px; background: rgba(255,255,255,0.02); color: rgba(245,243,238,0.9); text-decoration:none; }
.social-link:hover { background: rgba(255,255,255,0.04); }
.social-link svg { width: 18px; height: 18px; display: block; color: inherit; fill: currentColor; }
.footer-nav { display:grid; grid-template-columns: repeat(3, minmax(140px, max-content)); gap: 2rem; align-items: start; justify-content: center; }
.footer-column { display:flex; flex-direction: column; gap: 0.6rem; align-items: center; }
.footer-column h4 { margin-bottom: 0.25rem; font-size: 0.85rem; color: var(--accent); text-transform: uppercase; letter-spacing:0.08em; }
.footer-column a { color: rgba(245,243,238,0.6); text-decoration: none; font-size: 0.92rem; }
.footer-column a:hover { color: rgba(245,243,238,0.95); }
.footer-column .small { font-size: 0.85rem; color: rgba(245,243,238,0.55); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.footer-bottom { max-width:1200px; margin: 1.75rem auto 0; display:flex; justify-content:center; align-items:center; gap:1rem; color: rgba(245,243,238,0.45); font-size: 0.9rem; text-align: center; }

/* SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding: 6rem 1.5rem 3rem; }
  .hero-visual { height: 300px; }
  section { padding: 5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .tech-categories { grid-template-columns: 1fr; }
  .site-footer { padding: 2rem 1.25rem; }
  .footer-container { gap: 1.25rem; }
  .footer-nav { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
