/* ==========================================================================
   VISIONARY MARKETING — Style System
   Bold Creative Contemporary Agency
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

/* ---------- Variables ---------- */
:root {
  --black: #111111;
  --black-soft: #1a1a1a;
  --violet: #7c3aed;
  --violet-light: #8b5cf6;
  --violet-dark: #5b21b6;
  --violet-glow: rgba(124, 58, 237, 0.15);
  --cream: #faf8f5;
  --cream-dark: #f0ece6;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --text-primary: #111111;
  --text-secondary: #525252;
  --text-muted: #a3a3a3;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-elastic: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --section-padding: 140px;
  --container-max: 1240px;
  --nav-height: 80px;
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--cream);
  overflow-x: hidden;
}

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(3rem, 8vw, 6.5rem);
  letter-spacing: -0.04em;
  font-weight: 900;
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-secondary);
  max-width: 580px;
}

.label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-block;
}

.oversized-text {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--cream-dark);
  user-select: none;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

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

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition: all var(--transition-base);
}

.nav.scrolled {
  height: 64px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

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

.nav-logo img {
  height: 34px;
  width: auto;
  transition: height var(--transition-base);
}

.nav.scrolled .nav-logo img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta-link {
  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  background: var(--black);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all var(--transition-base) !important;
}

.nav-cta-link:hover {
  background: var(--violet);
  transform: scale(1.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 32px;
  padding: 4px 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 32px;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  transition: color var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--violet);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 18px 36px;
  border-radius: 100px;
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--violet-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--violet);
  color: var(--violet);
  transform: translateY(-3px);
}

.btn-arrow {
  transition: transform var(--transition-fast);
  font-size: 1.1em;
}

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

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 12vw;
  font-weight: 900;
  color: rgba(124, 58, 237, 0.04);
  letter-spacing: -0.05em;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 900px;
}

.hero-label {
  margin-bottom: 32px;
}

.hero h1 {
  margin-bottom: 40px;
}

.hero h1 .accent {
  color: var(--violet);
  display: inline;
}

.hero-text {
  font-size: 1.1875rem;
  line-height: 1.8;
  margin-bottom: 48px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Section Common ---------- */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  margin-bottom: 72px;
}

.section-header .label {
  margin-bottom: 20px;
}

.section-header p {
  margin-top: 20px;
  font-size: 1.0625rem;
}

/* ---------- Believe / Manifesto ---------- */
.believe {
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.believe-content {
  max-width: 900px;
}

.believe .label {
  color: var(--violet-light);
}

.believe h2 {
  color: var(--white);
  margin-bottom: 40px;
}

.believe-statements {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.believe-statement {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.7;
  color: var(--gray-400);
  padding-left: 24px;
  border-left: 2px solid var(--gray-700);
  transition: all var(--transition-base);
}

.believe-statement:hover {
  color: var(--white);
  border-left-color: var(--violet);
}

.believe-statement strong {
  color: var(--white);
  font-weight: 700;
}

/* ---------- Services ---------- */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  padding: 48px 40px;
  background: var(--white);
  border-radius: 16px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--violet);
  transition: width var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border-color: var(--violet-glow);
}

.service-card:hover::after {
  width: 100%;
}

.service-card:first-child {
  grid-column: 1 / -1;
}

.service-number {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--violet);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ---------- Growth Strategy ---------- */
.strategy {
  background: var(--cream-dark);
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.strategy-content h2 {
  margin-bottom: 24px;
}

.strategy-content > p {
  margin-bottom: 32px;
  font-size: 1.0625rem;
}

.strategy-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strategy-step {
  display: flex;
  gap: 20px;
  align-items: start;
}

.strategy-step-number {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--violet);
  line-height: 1;
  min-width: 36px;
}

.strategy-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.strategy-step p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.strategy-visual {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
}

.strategy-visual-text {
  font-size: 8rem;
  font-weight: 900;
  color: var(--violet);
  opacity: 0.08;
  line-height: 1;
  letter-spacing: -0.05em;
}

.strategy-visual-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 16px;
}

/* ---------- Results / Metrics ---------- */
.results {
  background: var(--violet);
  color: var(--white);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.result-item {
  padding: 32px 16px;
}

.result-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.result-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ---------- Why Visionary ---------- */
.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.why-content .label {
  margin-bottom: 20px;
}

.why-content h2 {
  margin-bottom: 24px;
}

.why-content > p {
  font-size: 1.0625rem;
  margin-bottom: 40px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.why-item {
  padding-left: 20px;
  border-left: 2px solid var(--gray-300);
  transition: border-color var(--transition-base);
}

.why-item:hover {
  border-left-color: var(--violet);
}

.why-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.why-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-showcase-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(0,0,0,0.04);
  transition: all var(--transition-base);
}

.why-showcase-card:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.05);
}

.why-showcase-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--violet);
  margin-bottom: 4px;
}

.why-showcase-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ---------- CTA Section ---------- */
.cta-section {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 160px 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.cta-section p {
  color: var(--gray-500);
  margin: 0 auto 48px;
  font-size: 1.0625rem;
  max-width: 480px;
}

.cta-section .btn-primary {
  background: var(--violet);
}

.cta-section .btn-primary:hover {
  background: var(--violet-light);
  box-shadow: 0 16px 48px rgba(124, 58, 237, 0.35);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  text-align: left;
}

.contact-text p {
  margin: 0 0 0;
  max-width: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--violet);
  background: rgba(255,255,255,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

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

.form-success {
  display: none;
  text-align: center;
  color: var(--violet-light);
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 8px 0 0;
}

.form-success.visible {
  display: block;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .contact-text p {
    margin: 0 auto;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--gray-500);
  padding: 64px 0 32px;
  border-top: 1px solid var(--gray-800);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 16px;
  color: var(--gray-600);
}

.footer h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  font-size: 0.875rem;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

.footer ul a:hover {
  color: var(--violet-light);
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--gray-700);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--gray-700);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--violet-light);
}

/* ---------- Scroll Reveal ---------- */
.reveal, .reveal-left, .reveal-right {
  opacity: 1;
  transform: none;
}

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.js-loaded .reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-loaded .reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.js-loaded .reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-loaded .reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---------- Text Reveal ---------- */
.text-reveal-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.text-reveal-word span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-reveal-word.visible span {
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 100px;
  }

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

  .service-card:first-child {
    grid-column: auto;
  }

  .strategy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .why-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
    --nav-height: 68px;
  }

  .container, .container-wide {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }

  .hero-bg-text {
    display: none;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .result-item {
    padding: 20px 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 60px;
  }

  .container, .container-wide {
    padding: 0 16px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .service-card {
    padding: 32px 24px;
  }

  .cta-section {
    padding: 100px 0;
  }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .reveal, .reveal-left, .reveal-right,
  .js-loaded .reveal, .js-loaded .reveal-left, .js-loaded .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  .text-reveal-word span {
    transform: none;
  }
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--violet);
  color: var(--white);
  font-weight: 700;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}
