/* ===== OlyLink — Main Stylesheet ===== */
/* Color Palette: Plum + Tangerine + Sage + Warm Ivory */
:root {
  --plum: #5B2E5E;
  --plum-dark: #3D1F40;
  --plum-light: #7B4E7E;
  --tangerine: #E8753A;
  --tangerine-dark: #CF5F28;
  --tangerine-light: #F29060;
  --sage: #7D9B76;
  --sage-dark: #5E7A58;
  --ivory: #FEFCF8;
  --ivory-alt: #F5F2EB;
  --white: #FFFFFF;
  --text-dark: #1A1A1C;
  --text-body: #3D3D3F;
  --text-muted: #6B6B6D;
  --border: #E6E2DA;
  --footer-bg: #2A1E2C;
  --footer-text: #C0BEC0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--ivory);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }

a { color: var(--tangerine); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--tangerine-dark); }

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

ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--ivory-alt);
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--plum);
  letter-spacing: -0.01em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--plum), var(--tangerine));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.logo-text { color: var(--plum); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text-body);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  background: var(--ivory-alt);
  color: var(--plum);
}

.nav-cta {
  background: var(--tangerine) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
}
.nav-cta:hover {
  background: var(--tangerine-dark) !important;
  color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ===== HERO ===== */
.hero {
  padding: 6rem 0;
  background: linear-gradient(160deg, var(--plum-dark) 0%, var(--plum) 50%, #47204A 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 117, 58, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(125, 155, 118, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--tangerine);
}

.hero-content p {
  font-size: 1.15rem;
  color: #E0D8E2;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: var(--tangerine);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--tangerine-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 117, 58, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--plum);
  border: 2px solid var(--plum);
}
.btn-outline-dark:hover {
  background: var(--plum);
  color: var(--white);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 420px;
  backdrop-filter: blur(10px);
}

.hero-card .stat-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-card .stat-item h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--tangerine);
  margin-bottom: 0.2rem;
}
.hero-card .stat-item p {
  font-size: 0.85rem;
  color: #C0BEC0;
  margin-bottom: 0;
}

.hero-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hero-card .feature-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #E0D8E2;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-card .feature-list li:last-child { border-bottom: none; }
.hero-card .feature-list li::before {
  content: "→";
  color: var(--sage);
  font-weight: 700;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tangerine);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-icon.plum { background: #5B2E5E; }
.service-icon.tangerine { background: #E8753A; }
.service-icon.sage { background: #7D9B76; }

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== PROCESS / STEPS ===== */
.process {
  background: var(--plum-dark);
  color: var(--white);
  padding: 5rem 0;
}

.process .label { color: var(--tangerine); }
.process .section-header h2 { color: var(--white); }
.process .section-header p { color: #C0BEC0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  background: var(--tangerine);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
}

.step h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.step p {
  color: #C0BEC0;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ===== FEATURES ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ivory-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feature-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ===== STATS BAR ===== */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-box .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--plum);
  margin-bottom: 0.25rem;
}

.stat-box .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.testimonial .quote {
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  position: relative;
}

.testimonial .quote::before {
  content: "“";
  font-size: 3rem;
  color: var(--tangerine);
  position: absolute;
  top: -1rem;
  left: -0.25rem;
  line-height: 1;
  font-style: normal;
}

.testimonial .testimonial-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial .name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial .role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--plum), #4A254D);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 117, 58, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.1rem;
  color: #E0D8E2;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ===== CONTACT SECTION ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.contact-item .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--ivory-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item strong {
  display: block;
  color: var(--text-dark);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.contact-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--ivory);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(91, 46, 94, 0.1);
}

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

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-status.success { background: #E8F5E9; color: #2E7D32; display: block; }
.form-status.error { background: #FDE8E8; color: #C62828; display: block; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: var(--footer-text);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--tangerine);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--tangerine);
}

.footer-legal-separator {
  color: #a89aa7;
  margin: 0 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { justify-content: flex-start; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.25rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav a {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
  }

  .services-grid,
  .features-grid,
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
  .hero { padding: 3rem 0; }
  .hero-buttons { flex-direction: column; }
  .hero-card { padding: 1.5rem; }
  .hero-card .stat-row { gap: 1rem; }
  .footer-legal { flex-direction: column; gap: 0.5rem; text-align: center; }
}
