/* ===========================
   SOLID VINE — Professional Stylesheet
   =========================== */

:root {
  /* Core palette */
  --accent: #c8f542;
  --accent-hover: #d4f76b;
  --dark: #0a0a0a;
  --dark-card: #141414;
  --dark-border: #222222;
  --dark-text: #a3a3a3;
  --light: #fafafa;
  --light-card: #ffffff;
  --light-border: #e5e5e5;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-900: #0a0a0a;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --section-pad: 120px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===========================
   Reveal Animation
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 40px rgba(0,0,0,0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--light);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover { color: var(--light); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(200, 245, 66, 0.3);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  transition: color 0.3s;
}

.mobile-link:hover { color: var(--accent); }

.mobile-link.cta {
  font-size: 1.2rem;
  background: var(--accent);
  color: var(--dark);
  padding: 14px 36px;
  border-radius: 50px;
  margin-top: 16px;
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Decorative elements */
.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(200, 245, 66, 0.08);
}

.hero-circle-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation: pulse-slow 8s ease-in-out infinite;
}

.hero-circle-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -150px;
  animation: pulse-slow 10s ease-in-out infinite reverse;
}

.hero-line {
  position: absolute;
  background: linear-gradient(180deg, transparent, rgba(200, 245, 66, 0.06), transparent);
  width: 1px;
}

.hero-line-1 {
  height: 100%;
  left: 20%;
  top: 0;
}

.hero-line-2 {
  height: 100%;
  right: 30%;
  top: 0;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 245, 66, 0.08);
  border: 1px solid rgba(200, 245, 66, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--light);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--dark-text);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  border-top: 1px solid var(--dark-border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-symbol {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--dark-text);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-border);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn svg {
  transition: transform 0.3s;
}

.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 245, 66, 0.25);
}

.btn-primary.btn-light {
  background: var(--light);
  color: var(--dark);
}

.btn-primary.btn-light:hover {
  box-shadow: 0 8px 30px rgba(255,255,255,0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid var(--dark-border);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
}

/* ===========================
   Ticker Strip (below hero)
   =========================== */
.ticker-strip {
  background: var(--accent);
  padding: 16px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}

.ticker-content span {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--dark);
}

.ticker-dot {
  opacity: 0.5;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* ===========================
   Brands Section (logos)
   =========================== */
.brands-section {
  background: var(--light);
  padding: 0 0 40px;
  text-align: center;
}

.brands-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 20px;
}

/* ===========================
   Sections
   =========================== */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--dark);
}

.section-light {
  background: var(--light);
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-light .section-label {
  color: var(--gray-500);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-dark .section-title {
  color: var(--light);
}

.text-accent {
  font-family: var(--font-display);
  font-style: italic;
}

.section-dark .text-accent { color: var(--accent); }
.section-light .text-accent { color: var(--gray-900); }

.text-left { text-align: left; }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--dark-text);
  max-width: 600px;
  margin-bottom: 56px;
}

/* ===========================
   Problem Cards
   =========================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.problem-card:hover {
  border-color: rgba(200, 245, 66, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.problem-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.problem-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 12px;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--dark-text);
  line-height: 1.7;
}

/* ===========================
   Service Cards
   =========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  margin-bottom: 20px;
  color: var(--gray-900);
  transition: all 0.3s;
}

.service-card:hover .service-icon {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.service-arrow {
  position: absolute;
  top: 36px;
  right: 36px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--light-border);
  color: var(--gray-500);
  transition: all 0.3s;
}

.service-card:hover .service-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

/* ===========================
   Process Cards
   =========================== */
.process-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 800px;
}

.process-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.process-card:hover {
  border-color: rgba(200, 245, 66, 0.2);
  transform: translateX(8px);
}

.process-num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s;
}

.process-card:hover .process-num { opacity: 1; }

.process-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--light);
  margin-bottom: 8px;
}

.process-content p {
  font-size: 0.95rem;
  color: var(--dark-text);
  line-height: 1.7;
}

/* ===========================
   About
   =========================== */
#about {
  padding-bottom: 48px;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-right p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-lead {
  font-size: 1.1rem !important;
  color: var(--gray-900) !important;
  font-weight: 500;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--light-border);
}

.value {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gray-900);
}

.value-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* About Photo */
.about-photo {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 360px;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* About Quote */
.about-quote {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--gray-600);
  border-left: 3px solid var(--accent);
  padding: 16px 0 16px 24px;
  margin: 20px 0 24px;
  line-height: 1.7;
}

/* Brands Logos Marquee */
.brands-logos {
  overflow: hidden;
  padding: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.brands-logos-track {
  display: flex;
  width: max-content;
  animation: brands-scroll 30s linear infinite;
}

.brands-logos-content {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.brands-logos-content img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.45;
  transition: all 0.4s;
  flex-shrink: 0;
}

.brands-logos-content img:hover {
  opacity: 0.7;
}

.brands-thefix {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gray-900);
  white-space: nowrap;
  letter-spacing: -0.02em;
  opacity: 0.45;
  transition: all 0.4s;
  flex-shrink: 0;
}

.brands-thefix:hover {
  opacity: 0.7;
}

@keyframes brands-scroll {
  to { transform: translateX(-50%); }
}

/* ===========================
   CTA Banner
   =========================== */
.cta-banner {
  background: var(--dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 245, 66, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--light);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1.1rem;
  color: var(--dark-text);
  margin-bottom: 36px;
}

/* ===========================
   Contact
   =========================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-desc {
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 32px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-600);
}

.contact-info-item svg {
  color: var(--gray-500);
  flex-shrink: 0;
}

/* Form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width { grid-column: 1 / -1; }

.contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.optional {
  font-weight: 400;
  color: var(--gray-500);
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 14px 16px;
  border: 1px solid var(--light-border);
  border-radius: var(--radius);
  background: var(--light);
  color: var(--gray-900);
  transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #c0c0c0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.06);
}

.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form .btn {
  justify-content: center;
  margin-top: 4px;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark);
  padding: 48px 0;
  border-top: 1px solid var(--dark-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--dark-text);
  margin-top: 8px;
}

.footer-right {
  text-align: right;
}

.footer-email {
  font-size: 0.9rem;
  color: var(--light);
  margin-bottom: 4px;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--dark-text);
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo {
    max-width: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px; }

  .container { padding: 0 20px; }

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

  .mobile-toggle { display: flex; }
  .mobile-menu { display: flex; }

  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero h1 { font-size: 6.8vw; }

  .hero-stats { flex-direction: row; gap: 0; align-items: center; justify-content: space-between; }
  .stat { flex: 1; align-items: center; text-align: center; }
  .stat-value { justify-content: center; }
  .stat-number { font-size: 1.5rem; }
  .stat-symbol { font-size: 0.9rem; }
  .stat-label { font-size: 0.7rem; }
  .stat-divider { width: 1px; height: 32px; }

  .problem-grid { grid-template-columns: 1fr; }

  .process-card {
    flex-direction: column;
    gap: 16px;
    padding: 28px;
  }

  .process-num { font-size: 2rem; }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-right { text-align: center; }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn { width: 100%; justify-content: center; }
}
