/* ============================================
   Pretzel - Creator Management Agency
   Shared Stylesheet
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colors */
  --color-bg:          #0a0a0f;
  --color-bg-card:     #14141f;
  --color-bg-card-hover:#1a1a2e;
  --color-bg-nav:      rgba(10, 10, 15, 0.85);
  --color-bg-nav-solid:rgba(10, 10, 26, 0.95);
  --color-border:      rgba(255, 255, 255, 0.08);
  --color-border-hover:rgba(255, 255, 255, 0.15);

  /* Accent */
  --color-indigo:      #6366f1;
  --color-pink:        #ec4899;
  --color-cyan:        #22d3ee;
  --gradient-primary:  linear-gradient(135deg, var(--color-indigo), var(--color-pink));
  --gradient-primary-hover: linear-gradient(135deg, #818cf8, #f472b6);

  /* Text */
  --color-text-body:   #e2e8f0;
  --color-text-heading:#ffffff;
  --color-text-muted:  #94a3b8;

  /* Typography */
  --font-family:       'Inter', 'Noto Sans JP', -apple-system, sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.125rem;
  --fs-xl:   1.25rem;
  --fs-2xl:  1.5rem;
  --fs-3xl:  1.875rem;
  --fs-4xl:  2.25rem;
  --fs-5xl:  3rem;
  --fs-6xl:  3.75rem;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max:     1200px;
  --nav-height:        72px;
  --border-radius:     12px;
  --border-radius-sm:  8px;
  --border-radius-lg:  16px;
  --border-radius-full:9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:  0 8px 30px rgba(0,0,0,0.5);
  --shadow-glow:0 0 40px rgba(99,102,241,0.15);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.8;
  color: #cbd5e1;
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

p {
  margin-bottom: 1.2em;
  line-height: 1.85;
  max-width: 680px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-heading);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section {
  padding: 100px 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: var(--color-bg-nav-solid);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  margin-right: 2.5rem;
}
.nav__logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__link:hover {
  color: var(--color-text-heading);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-full);
  background: var(--gradient-primary);
  color: #fff;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.nav__cta:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 1001;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text-body);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transition: right var(--transition-slow);
  z-index: 999;
  overflow-y: auto;
}

.nav__mobile-menu.open {
  right: 0;
}

.nav__mobile-menu a {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--color-text-body);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.nav__mobile-menu a:hover {
  color: var(--color-text-heading);
}

.nav__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav__overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-size: var(--fs-base);
  font-weight: 600;
  color: #ffffff;
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.45);
  opacity: 0.95;
}

.btn-primary:active {
  transform: translateY(0);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(99, 102, 241, 0.5); }
}

.btn-primary {
  animation: pulse-glow 3s ease-in-out infinite;
}

.btn-primary:hover {
  animation: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text-body);
  background: transparent;
  border: 1px solid var(--color-border-hover);
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--color-indigo);
  color: var(--color-text-heading);
  background: rgba(99, 102, 241, 0.08);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--border-radius-full);
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.btn-icon:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.btn-line {
  background: #06c755;
  color: #fff;
}

.btn-x {
  background: var(--color-text-heading);
  color: var(--color-bg);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: var(--space-2xl);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
  background: var(--color-bg-card-hover);
}

.card__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.card__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-cyan);
  margin-bottom: var(--space-md);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: var(--border-radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: var(--color-indigo);
  letter-spacing: 0.03em;
}

.badge--cyan {
  background: rgba(34, 211, 238, 0.12);
  color: var(--color-cyan);
}

.badge--pink {
  background: rgba(236, 72, 153, 0.12);
  color: var(--color-pink);
}

/* ---------- Section Header ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header__badge {
  margin-bottom: var(--space-md);
}

.section-header__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.section-header__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
}

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  animation: float-shape 20s ease-in-out infinite;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,72,153,0.14) 0%, transparent 70%);
  animation: float-shape 25s ease-in-out infinite reverse;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
  background: var(--color-cyan);
  animation: float-shape 18s ease-in-out infinite;
}

.hero__shape--1 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 15%;
  animation-delay: -5s;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  bottom: 25%;
  left: 10%;
  animation-delay: -10s;
  background: var(--color-indigo);
  opacity: 0.08;
}

.hero__shape--3 {
  width: 150px;
  height: 150px;
  top: 35%;
  left: 25%;
  animation-delay: -3s;
  background: var(--color-pink);
  opacity: 0.05;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero__title {
  font-size: var(--fs-4xl);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero__title .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--fs-4xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.stat__label {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

/* ---------- Service Cards ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-indigo);
  box-shadow: var(--shadow-glow);
}

.service-card__header {
  margin-bottom: var(--space-lg);
}

.service-card__title {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.service-card__subtitle {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.service-card__features {
  flex: 1;
  margin-bottom: var(--space-xl);
}

.service-card__features li {
  font-size: var(--fs-sm);
  color: var(--color-text-body);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.service-card__features li::before {
  content: '✓';
  color: var(--color-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.testimonial__text {
  font-size: var(--fs-base);
  color: var(--color-text-body);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial__text::before {
  content: '\201C';
  font-size: var(--fs-3xl);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 4px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--color-text-heading);
}

.testimonial__role {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ---------- CTA Section ---------- */
.cta-section {
  text-align: center;
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-section__text {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  position: relative;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: 80px;
  padding-bottom: var(--space-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__logo {
  font-size: var(--fs-2xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.footer__description {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.footer__heading {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-text-heading);
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--fs-lg);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--color-indigo);
  color: var(--color-text-heading);
  background: rgba(99, 102, 241, 0.08);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ---------- Animations ---------- */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-shape {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(20px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-15px, 15px) scale(0.95);
  }
  75% {
    transform: translate(10px, 20px) scale(1.03);
  }
}

/* ---------- Scroll Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(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; }

/* Stagger animation for cards */
.features-grid .card:nth-child(1) { transition-delay: 0s; }
.features-grid .card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .card:nth-child(3) { transition-delay: 0.15s; }
.features-grid .card:nth-child(4) { transition-delay: 0.2s; }

/* ---------- Utility Classes ---------- */
.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-muted   { color: var(--color-text-muted); }
.text-cyan    { color: var(--color-cyan); }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl{ margin-top: var(--space-2xl); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl{ margin-bottom: var(--space-2xl); }

.pt-0  { padding-top: 0; }
.pb-0  { padding-bottom: 0; }

.mx-auto { margin-left: auto; margin-right: auto; }

.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.justify-center { justify-content: center; }
.gap-sm      { gap: var(--space-sm); }
.gap-md      { gap: var(--space-md); }
.gap-lg      { gap: var(--space-lg); }

.hidden      { display: none; }
.block       { display: block; }
.inline-block{ display: inline-block; }

.w-full      { width: 100%; }

.relative    { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ---------- About / Content Blocks ---------- */
.about__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about__text {
  font-size: var(--fs-lg);
  color: var(--color-text-body);
  line-height: 1.8;
}

/* ---------- Responsive ---------- */

/* Tablet (768px) */
@media (min-width: 768px) {
  .hero__title {
    font-size: var(--fs-5xl);
  }

  .hero__subtitle {
    font-size: var(--fs-xl);
  }

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

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

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

  .section-header__title {
    font-size: var(--fs-4xl);
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (1024px) */
@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .nav__mobile-menu {
    display: none !important;
  }

  .nav__overlay {
    display: none !important;
  }

  .hero__title {
    font-size: var(--fs-6xl);
  }

  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section {
    padding: 100px 0;
  }

  .footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Wide desktop (1280px) */
@media (min-width: 1280px) {
  .container {
    padding-left: var(--space-xl);
    padding-right: var(--space-xl);
  }

  .hero__content {
    max-width: 900px;
  }
}

/* ---------- Selection ---------- */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: var(--color-text-heading);
}

/* ---------- Photo Dividers ---------- */
.photo-divider {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
}

.photo-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.4) saturate(0.8);
  transition: filter 600ms ease;
}

.photo-divider:hover img {
  filter: brightness(0.5) saturate(1);
}

.photo-divider__overlay,
.photo-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.6) 0%, transparent 30%, transparent 70%, rgba(10,10,15,0.6) 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .photo-divider {
    height: 180px;
  }

  .br-desktop {
    display: none;
  }

  .hero__title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero {
    padding-top: 100px;
    min-height: auto;
  }

  .hero__content {
    padding: var(--space-md);
  }

  .hero__subtitle {
    font-size: var(--fs-base);
  }

  .section {
    padding: 60px 0;
  }

  .section-header__title {
    font-size: var(--fs-2xl);
  }

  .card {
    padding: 24px 16px;
  }

  .service-card {
    padding: var(--space-lg);
  }

  .testimonial {
    padding: var(--space-lg);
  }

  .cta-section__title {
    font-size: var(--fs-2xl);
  }

  .about__text {
    font-size: var(--fs-base);
  }

  .stat__number {
    font-size: var(--fs-2xl);
  }
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}
