/* ==========================================================================
   ARCFORM — AGENCY LANDING PAGE STYLES
   Structure: 1. Tokens  2. Reset  3. Base  4. Layout utilities
              5. Header  6. Hero  7. About  8. Hosting  9. Pricing
              10. Process  11. Testimonials  12. Contact  13. Footer
              14. Animations  15. Responsive
   ========================================================================== */

/* ---------------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------------- */
:root {
  /* Colors */
  --ink: #0A192F;              /* primary dark blue — text & depth */
  --ink-soft: #4C5C74;         /* secondary text on light bg */
  --accent: #0066CC;           /* electric blue — CTAs, links */
  --accent-bright: #00D2FF;    /* bright cyan-blue — highlights, gradients */
  --white: #FFFFFF;
  --bg-alt: #F0F6FB;           /* ultra-light blue section background */
  --bg-alt-2: #F4F7F6;
  --line: #DCE6F0;             /* hairlines / borders */
  --shadow-color: 216, 60%, 30%;

  /* Gradient */
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-bright) 100%);

  /* Typography */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Layout */
  --container-w: 1220px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(.22,.9,.32,1);
}

/* ---------------------------------------------------------------
   2. RESET
--------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure, blockquote { margin: 0; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------------------------------------------------------------
   3. BASE
--------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Ambient background grid */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(10,25,47,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,25,47,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, black 40%, transparent 90%);
}

/* ---------------------------------------------------------------
   4. LAYOUT UTILITIES
--------------------------------------------------------------- */
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 2px;
  background: var(--grad-accent);
  transform: translateY(-50%);
}
.eyebrow-light { color: var(--accent-bright); }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 18px; }
.section-title-light { color: var(--white); }
.section-lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 560px; }
.section-lead-light { color: #B9C8DE; }

.section-head { max-width: 680px; margin-bottom: 56px; }

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

section { padding: 110px 0; position: relative; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 15px 30px;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 12px 24px -10px rgba(0,102,204,0.55);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -10px rgba(0,102,204,0.6); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--white); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 22px; font-size: 0.86rem; }

.play-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,102,204,0.15);
}

/* ---------------------------------------------------------------
   5. HEADER
--------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow .35s var(--ease);
}
.site-header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  z-index: -1;
  transition: border-color 0.35s ease;
}
.site-header.is-scrolled { padding: 12px 0; }
.site-header.is-scrolled::before { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(10,25,47,0.35); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: inline-flex; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.logo-text em { font-style: normal; color: var(--accent); }

.main-nav { display: flex; gap: 8px; }
.nav-link {
  position: relative;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.nav-link span { position: relative; }
.nav-link span::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover span::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; margin: 0 auto; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------
   6. HERO
--------------------------------------------------------------- */
.hero { padding: 190px 0 120px; overflow: visible; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero-title { font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 800; margin-bottom: 24px; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 520px; margin-bottom: 36px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-trust { display: flex; flex-direction: column; gap: 10px; }
.hero-trust > span:first-child { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8895AB; font-weight: 600; }
.trust-marks { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-family: var(--font-display); font-weight: 700; color: var(--ink-soft); font-size: 0.95rem; }
.trust-marks .dot { color: var(--line); }

.hero-visual { position: relative; padding: 20px 30px 40px 0; }

.hero-blob {
  position: absolute;
  top: -60px; right: -60px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(0,210,255,0.18) 0%, rgba(0,102,204,0.08) 55%, transparent 75%);
  border-radius: 50%;
  z-index: -1;
}

.browser-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 40px 70px -30px hsla(var(--shadow-color), 0.28);
  overflow: hidden;
  transform: rotate(-1.2deg);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #C7D5E5; }
.browser-url { margin-left: 12px; font-size: 0.75rem; color: var(--ink-soft); background: var(--white); border-radius: 20px; padding: 4px 14px; border: 1px solid var(--line); }

.browser-body { padding: 26px; }
.mock-line { height: 12px; border-radius: 6px; background: var(--bg-alt); margin-bottom: 12px; }
.mock-line.w-70 { width: 70%; height: 18px; background: linear-gradient(90deg, var(--ink), var(--ink-soft)); opacity: 0.85; }
.mock-line.w-40 { width: 40%; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.mock-block { aspect-ratio: 1; border-radius: 10px; background: var(--bg-alt); position: relative; overflow: hidden; }
.mock-block::after { content: ''; position: absolute; inset: 0; background: var(--grad-accent); opacity: 0.14; }
.mock-bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.mock-bar-chart i { flex: 1; display: block; height: var(--h); background: var(--grad-accent); border-radius: 4px 4px 0 0; opacity: 0.85; }

.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: 0 20px 40px -18px hsla(var(--shadow-color), 0.35);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  animation: float 5s ease-in-out infinite;
}
.badge-num { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--accent); }
.badge-label { font-size: 0.72rem; color: var(--ink-soft); font-weight: 500; }
.badge-conversion { top: 6%; right: -6%; animation-delay: 0s; }
.badge-uptime { bottom: 8%; left: -8%; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------------------------------------------------------------
   7. ABOUT
--------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.check-list { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); font-weight: 500; }
.check-list li::before {
  content: '';
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad-accent);
}
.check-list li::after {
  content: '';
  position: absolute; left: 6px; top: 7.5px;
  width: 6px; height: 3.5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-card-lg { grid-row: span 2; justify-content: center; background: var(--ink); }
.stat-card-lg .stat-num { color: var(--white); font-size: 3rem; }
.stat-card-lg .stat-label { color: #A9BBD4; }
.stat-card-wide { grid-column: span 2; flex-direction: row; align-items: center; justify-content: space-between; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--ink-soft); font-weight: 500; font-size: 0.92rem; }

/* ---------------------------------------------------------------
   8. HOSTING
--------------------------------------------------------------- */
.hosting { background: var(--bg-alt); }

.hosting-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 50px; }
.hosting-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.hosting-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px hsla(var(--shadow-color), 0.3); }
.hosting-card-accent { border: 1.5px solid var(--accent); position: relative; }
.hosting-card-accent::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--grad-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hosting-card-top h3 { font-size: 1.6rem; margin: 12px 0 10px; }
.hosting-card-top p { color: var(--ink-soft); margin-bottom: 22px; }

.hosting-tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 100px; }
.tag-green { background: #E4F5E9; color: #1E8449; }
.tag-blue { background: #E3F0FE; color: var(--accent); }

.hosting-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.hosting-features li { position: relative; padding-left: 24px; color: var(--ink); font-size: 0.95rem; font-weight: 500; }
.hosting-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

.hosting-link { font-weight: 700; color: var(--accent); font-size: 0.92rem; }
.hosting-link:hover { text-decoration: underline; }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare-table th, .compare-table td { text-align: left; padding: 18px 24px; font-size: 0.94rem; }
.compare-table thead th { font-family: var(--font-display); background: var(--ink); color: var(--white); font-weight: 700; }
.compare-table thead th:first-child { border-radius: 0; }
.compare-table tbody td:first-child { font-weight: 700; color: var(--ink); }
.compare-table tbody td { color: var(--ink-soft); border-top: 1px solid var(--line); }
.compare-table tbody tr:hover td { background: var(--bg-alt); }

/* ---------------------------------------------------------------
   9. PRICING
--------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: start; }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -32px hsla(var(--shadow-color), 0.28); }

.price-card-popular {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-22px);
  box-shadow: 0 40px 70px -28px hsla(var(--shadow-color), 0.5);
  position: relative;
  z-index: 2;
}
.price-card-popular:hover { transform: translateY(-28px); }
.price-card-popular .price-name,
.price-card-popular .price-amount,
.price-card-popular .price-current,
.price-card-popular .price-features li { color: var(--white); }
.price-card-popular .price-original { color: #A9BBD4; }
.price-card-popular .price-desc { color: #A9BBD4; }
.price-card-popular .price-features li::before { color: var(--accent-bright); }

.popular-ribbon {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 100px;
  box-shadow: 0 10px 20px -8px rgba(0,102,204,0.6);
}

.price-name { font-size: 1.4rem; margin-bottom: 8px; }
.price-desc { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 24px; min-height: 44px; }
.price-amount { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; margin-bottom: 28px; display: flex; align-items: baseline; gap: 16px; }
.price-currency { font-size: 1.4rem; vertical-align: super; margin-right: 2px; }
.price-original { font-size: 1.6rem; font-weight: 600; color: var(--ink-soft); text-decoration: line-through; }
.price-amount-custom { font-size: 2rem; }

.price-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 32px; flex: 1; }
.price-features li { position: relative; padding-left: 24px; font-size: 0.93rem; font-weight: 500; color: var(--ink); }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------------------------------------------------------------
   10. PROCESS
--------------------------------------------------------------- */
.timeline { position: relative; display: flex; justify-content: space-between; margin-bottom: 50px; }
.timeline-track { position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); z-index: 0; }
.timeline-progress { display: block; height: 100%; width: 0%; background: var(--grad-accent); transition: width 0.5s var(--ease); }

.timeline-step {
  position: relative;
  z-index: 1;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 1;
  color: var(--ink-soft);
}
.step-index {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  color: var(--ink-soft);
  transition: all 0.35s var(--ease);
}
.step-name { font-weight: 600; font-size: 0.95rem; }
.timeline-step.is-active .step-index,
.timeline-step:hover .step-index {
  background: var(--grad-accent);
  border-color: transparent;
  color: var(--white);
  transform: scale(1.08);
}
.timeline-step.is-active .step-name { color: var(--ink); }

.timeline-panels { position: relative; min-height: 130px; }
.timeline-panel {
  display: none;
  max-width: 640px;
  animation: fadeUp 0.5s var(--ease);
}
.timeline-panel.is-active { display: block; }
.timeline-panel h3 { font-size: 1.4rem; margin-bottom: 12px; }
.timeline-panel p { color: var(--ink-soft); font-size: 1.02rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------
   11. TESTIMONIALS
   --------------------------------------------------------------- */
.testimonials { background: var(--bg-alt); }
.testimonial-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--line);
}
.testimonial-card.offset-up { transform: translateY(-24px); }
.testimonial-card p { font-size: 0.98rem; color: var(--ink); margin-bottom: 22px; }
.testimonial-card footer { display: flex; flex-direction: column; gap: 2px; }
.testimonial-card footer strong { font-family: var(--font-display); font-size: 0.92rem; }
.testimonial-card footer span { font-size: 0.82rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------
   12. PROJECTS
   --------------------------------------------------------------- */
.projects-section { padding: 0 0 120px 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px hsla(var(--shadow-color), 0.35);
}
.project-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-image img {
  transform: scale(1.05);
}
.project-content {
  padding: 28px;
}
.project-category {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
}
.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.project-description {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
  line-height: 1.6;
}
.project-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s var(--ease);
}
.project-link:hover {
  gap: 8px;
}

/* ---------------------------------------------------------------
   12. CONTACT
--------------------------------------------------------------- */
.contact { background: var(--ink); overflow: visible; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.office-detail { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; color: #C7D5E5; font-size: 0.95rem; }
.office-label { font-family: var(--font-display); font-weight: 700; color: var(--accent-bright); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px;
  transform: translateY(30px);
  box-shadow: 0 50px 80px -30px rgba(0,0,0,0.4);
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt-2);
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
  resize: vertical;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  outline: none;
}
.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: #E0554F; }
.form-error { display: none; font-size: 0.8rem; color: #E0554F; font-weight: 500; }
.form-row.has-error .form-error { display: block; }

.form-success {
  display: none;
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  color: #1E8449;
  background: #E4F5E9;
  padding: 12px;
  border-radius: var(--radius-sm);
}
.form-success.is-visible { display: block; animation: fadeUp 0.4s var(--ease); }

/* ---------------------------------------------------------------
   13. FOOTER
--------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #C7D5E5; padding-top: 160px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr; gap: 40px; padding-bottom: 60px; }

.footer-brand p { margin: 16px 0 20px; font-size: 0.92rem; color: #93A5C0; max-width: 280px; }
.logo-footer .logo-text { color: var(--white); }

.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #C7D5E5;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.social-icons a:hover { background: var(--grad-accent); color: var(--white); transform: translateY(-3px); }

.footer-col h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 18px; }
.footer-col a { display: block; font-size: 0.92rem; color: #93A5C0; margin-bottom: 12px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent-bright); }

.footer-newsletter p { font-size: 0.9rem; color: #93A5C0; margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: var(--white);
}
.newsletter-form input::placeholder { color: #7488A6; }
.newsletter-form button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--grad-accent);
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.newsletter-form button:hover { transform: scale(1.08); }
.newsletter-success { display: none; margin-top: 12px; color: var(--accent-bright); font-size: 0.85rem; font-weight: 600; }
.newsletter-success.is-visible { display: block; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #7488A6; }
.footer-legal a:hover { color: var(--accent-bright); }

/* ---------------------------------------------------------------
   14. SCROLL-REVEAL ANIMATION
--------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------
   15. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 1080px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card.offset-up { transform: translateY(0); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding: 0; margin-bottom: 20px; }
  .hero-blob { display: none; }
  .about-stats { margin-top: 20px; }
  .hosting-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card-popular { transform: none; order: -1; }
  .price-card-popular:hover { transform: translateY(-6px); }
  .contact-form { transform: none; margin-top: 10px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { position: fixed; top: 68px; left: 16px; right: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); flex-direction: column; padding: 10px; gap: 2px; box-shadow: 0 30px 50px -20px rgba(10,25,47,0.25); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.3s var(--ease); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-link { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  section { padding: 80px 0; }
  .hero { padding-top: 130px; }
  .timeline { flex-wrap: wrap; gap: 20px 0; }
  .timeline-track { display: none; }
  .timeline-step { flex: 1 1 50%; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding-bottom: 30px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .compare-table th:nth-child(1), .compare-table td:nth-child(1) { position: sticky; left: 0; background: var(--white); }
}

@media (max-width: 520px) {
  .container { padding: 0 20px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .badge-conversion, .badge-uptime { position: static; margin-top: 14px; display: inline-flex; }
  .about-stats { grid-template-columns: 1fr; }
  .stat-card-lg { grid-row: auto; }
  .stat-card-wide { grid-column: auto; flex-direction: column; align-items: flex-start; gap: 10px; }
}
