/* ════════════════════════════════════════
   tekclarity — styles.css
   Single source of truth for all pages
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

/* ── TOKENS ── */
:root {
  --bg:       #0a0e1a;
  --surface:  #111827;
  --surface2: #1a2235;
  --accent:   #00d4ff;
  --accent2:  #0099cc;
  --text:     #e8edf5;
  --muted:    #8a9bb5;
  --border:   rgba(255,255,255,0.07);
  --glow:     rgba(0,212,255,0.15);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 { font-family: 'Syne', sans-serif; letter-spacing: -0.5px; }
p { line-height: 1.7; }
a { color: var(--accent); }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { position: relative; z-index: 1; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.4); }
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.5px;
}

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

.nav-menu { display: flex; list-style: none; gap: 0.25rem; }

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover,
.nav-link.active { color: var(--text); background: var(--surface2); }

/* ════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary { background: var(--accent); color: #0a0e1a; font-weight: 600; }

.btn-primary:hover {
  background: #33ddff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.3);
}

.btn-secondary {
  background: var(--surface2);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(0,212,255,0.3);
  font-size: 0.875rem;
  padding: 0.6rem 1.2rem;
}

.btn-outline:hover { background: rgba(0,212,255,0.08); border-color: var(--accent); }

/* Legacy .button class */
.button {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  border: none;
  color: #0a0e1a;
  padding: 0.75rem 1.6rem;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  margin: 4px 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  background: #33ddff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.3);
}

/* ════════════════════════════════════════
   SHARED COMPONENTS
   ════════════════════════════════════════ */
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  animation: fadeUp 0.5s ease both;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}

.section-desc { color: var(--muted); font-weight: 300; line-height: 1.7; max-width: 500px; }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.page-header {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem 3.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  animation: fadeUp 0.5s 0.1s ease both;
}

.page-header h1 em { font-style: normal; color: var(--accent); }

.page-header p {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 540px;
  animation: fadeUp 0.5s 0.2s ease both;
}

.cta-banner {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-banner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.cta-banner p { color: var(--muted); font-weight: 300; margin-bottom: 1.75rem; }

.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.footer p { color: var(--muted); font-size: 0.875rem; line-height: 1.8; }
.footer a { color: var(--accent); text-decoration: none; }

/* ════════════════════════════════════════
   INDEX PAGE
   ════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
}

.hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 1100px; margin: 0 auto; width: 100%; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }

.services-overview {
  padding: 6rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header { margin-bottom: 3.5rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.service-card:hover::before { opacity: 1; }

.service-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }

.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }

.service-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; font-weight: 300; }

.service-price {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.about-preview { padding: 6rem 2rem; }

.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.about-text p { color: var(--muted); font-weight: 300; line-height: 1.8; margin-bottom: 1rem; font-size: 1.05rem; }
.about-text p strong { color: var(--text); font-weight: 500; }
.about-text .btn { margin-top: 1rem; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.5rem; text-align: center; }

.stat-number { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

/* ════════════════════════════════════════
   TUTORIALS PAGE
   ════════════════════════════════════════ */
.filter-bar {
  position: relative;
  z-index: 1;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.filter-inner { max-width: 1100px; margin: 0 auto; display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

.filter-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; margin-right: 0.5rem; }

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active { background: rgba(0,212,255,0.08); border-color: rgba(0,212,255,0.3); color: var(--accent); }

.tutorials-section { position: relative; z-index: 1; padding: 3rem 2rem 5rem; }

.tutorials-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }

.tutorial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
  animation: fadeUp 0.5s ease both;
}

.tutorial-card:nth-child(2) { animation-delay: 0.05s; }
.tutorial-card:nth-child(3) { animation-delay: 0.1s; }
.tutorial-card:nth-child(4) { animation-delay: 0.15s; }
.tutorial-card:nth-child(5) { animation-delay: 0.2s; }
.tutorial-card:nth-child(6) { animation-delay: 0.25s; }

.tutorial-card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,0.3); }

.tutorial-card::after {
  content: '→';
  position: absolute;
  top: 1.75rem; right: 1.75rem;
  color: var(--accent);
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.tutorial-card:hover::after { opacity: 1; transform: translateX(0); }

.tutorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  width: fit-content;
}

.tutorial-card h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; padding-right: 1.5rem; }
.tutorial-card p { color: var(--muted); font-size: 0.9rem; font-weight: 300; line-height: 1.6; flex: 1; }

.tutorial-meta { display: flex; gap: 1rem; margin-top: 0.25rem; }
.tutorial-meta span { font-size: 0.78rem; color: var(--muted); display: flex; align-items: center; gap: 0.3rem; }

/* ════════════════════════════════════════
   SERVICES PAGE
   ════════════════════════════════════════ */
.services-section { position: relative; z-index: 1; padding: 5rem 2rem; }

.services-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }

.service-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 2.5rem;
  align-items: center;
  transition: border-color 0.3s, box-shadow 0.3s;
  animation: fadeUp 0.5s ease both;
}

.service-row:nth-child(2) { animation-delay: 0.1s; }
.service-row:nth-child(3) { animation-delay: 0.2s; }

.service-row:hover { border-color: rgba(0,212,255,0.2); box-shadow: 0 20px 40px rgba(0,0,0,0.25); }

.service-row.featured {
  border-color: rgba(0,212,255,0.2);
  background: linear-gradient(135deg, #111827 0%, #0f1d2e 100%);
  position: relative;
  overflow: hidden;
}

.service-row.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.featured-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--accent);
  color: #0a0e1a;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.service-left { display: flex; flex-direction: column; gap: 0.5rem; }
.service-icon-wrap { font-size: 2.5rem; margin-bottom: 0.5rem; }

.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 0.25rem;
}

.service-row h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }

.service-middle p { color: var(--muted); font-weight: 300; line-height: 1.7; font-size: 0.95rem; margin-bottom: 1.25rem; }

.service-features { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.service-features li { font-size: 0.875rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; font-weight: 300; }

.service-features li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }

.service-right { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; min-width: 140px; }

.price-block { display: flex; flex-direction: column; align-items: center; }

.price-amount { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.price-amount.free { color: var(--accent); }
.price-unit { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }

.guarantee { position: relative; z-index: 1; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 4rem 2rem; }
.guarantee-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.guarantee-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.guarantee h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.75rem; }
.guarantee p { color: var(--muted); font-weight: 300; line-height: 1.7; }

.faq-section { position: relative; z-index: 1; padding: 5rem 2rem; }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-header { text-align: center; margin-bottom: 3rem; }
.faq-header h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.faq-header p { color: var(--muted); font-weight: 300; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--text); }
.faq-item p { color: var(--muted); font-size: 0.9rem; font-weight: 300; line-height: 1.7; }

/* ════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════ */
.about-hero { position: relative; z-index: 1; padding: 5rem 2rem 4rem; border-bottom: 1px solid var(--border); }

.about-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.about-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.about-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1.25rem; animation: fadeUp 0.5s 0.1s ease both; }
.about-hero h1 em { font-style: normal; color: var(--accent); }
.about-hero p { color: var(--muted); font-weight: 300; font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; animation: fadeUp 0.5s 0.2s ease both; }
.about-hero p strong { color: var(--text); font-weight: 500; }
.about-hero .btn { animation: fadeUp 0.5s 0.3s ease both; }

.profile-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; text-align: center; animation: fadeUp 0.5s 0.15s ease both; position: relative; overflow: hidden; }

.profile-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

.profile-avatar { width: 90px; height: 90px; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 1.25rem; }

.profile-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.25rem; }
.profile-title { color: var(--accent); font-size: 0.85rem; font-weight: 500; margin-bottom: 1.5rem; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.profile-tag { background: var(--surface2); border: 1px solid var(--border); color: var(--muted); font-size: 0.78rem; padding: 0.3rem 0.7rem; border-radius: 100px; }

.values-section { position: relative; z-index: 1; padding: 5rem 2rem; background: var(--surface); border-bottom: 1px solid var(--border); }
.values-inner { max-width: 1100px; margin: 0 auto; }
.values-header { margin-bottom: 3rem; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

.value-card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 1.75rem; transition: border-color 0.3s, transform 0.3s; animation: fadeUp 0.5s ease both; }
.value-card:nth-child(2) { animation-delay: 0.08s; }
.value-card:nth-child(3) { animation-delay: 0.16s; }
.value-card:nth-child(4) { animation-delay: 0.24s; }
.value-card:hover { border-color: rgba(0,212,255,0.2); transform: translateY(-3px); }

.value-icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.value-card p { color: var(--muted); font-size: 0.9rem; font-weight: 300; line-height: 1.6; }

.story-section { position: relative; z-index: 1; padding: 5rem 2rem; }
.story-inner { max-width: 720px; margin: 0 auto; }
.story-inner .section-label { margin-bottom: 1rem; }
.story-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.5px; margin-bottom: 2rem; }
.story-inner p { color: var(--muted); font-weight: 300; font-size: 1rem; line-height: 1.8; margin-bottom: 1.25rem; }
.story-inner p strong { color: var(--text); font-weight: 500; }

/* ════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════ */
.contact-section { position: relative; z-index: 1; padding: 5rem 2rem 6rem; }

.contact-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start; }

.contact-info { position: sticky; top: 90px; }

.contact-info h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1.5px; margin-bottom: 1rem; animation: fadeUp 0.5s 0.1s ease both; }
.contact-info h1 em { font-style: normal; color: var(--accent); }
.contact-info > p { color: var(--muted); font-weight: 300; line-height: 1.7; margin-bottom: 2.5rem; animation: fadeUp 0.5s 0.2s ease both; }

.contact-methods { display: flex; flex-direction: column; gap: 1rem; animation: fadeUp 0.5s 0.3s ease both; }

.contact-method { display: flex; align-items: flex-start; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; text-decoration: none; color: inherit; transition: border-color 0.25s, transform 0.25s; }
.contact-method:hover { border-color: rgba(0,212,255,0.2); transform: translateX(4px); }

.method-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.method-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }
.method-value { font-size: 0.95rem; font-weight: 500; color: var(--text); margin-bottom: 0.2rem; }
.method-desc { font-size: 0.82rem; color: var(--muted); font-weight: 300; }

.contact-form-wrap { animation: fadeUp 0.5s 0.2s ease both; }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; position: relative; overflow: hidden; }
.form-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }

.form-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.form-subtitle { color: var(--muted); font-size: 0.875rem; font-weight: 300; margin-bottom: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }

label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--muted); margin-bottom: 0.4rem; letter-spacing: 0.3px; }

input, textarea, select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.7rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder { color: var(--muted); opacity: 0.6; }

input:focus,
textarea:focus,
select:focus { border-color: rgba(0,212,255,0.4); box-shadow: 0 0 0 3px rgba(0,212,255,0.08); }

textarea { resize: vertical; min-height: 130px; }
select option { background: var(--surface); color: var(--text); }

.price-note { display: flex; align-items: center; gap: 0.75rem; background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.15); border-radius: 8px; padding: 0.9rem 1rem; margin-bottom: 1.5rem; font-size: 0.875rem; color: var(--muted); font-weight: 300; }
.price-note strong { color: var(--accent); font-weight: 600; }

.form-submit { width: 100%; justify-content: center; padding: 0.9rem; font-size: 1rem; }

.success-message { display: none; text-align: center; padding: 2rem; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.success-message h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.success-message p { color: var(--muted); font-weight: 300; font-size: 0.95rem; }

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

/* Global overflow fix — prevents horizontal scroll on all pages */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Prevent pseudo-elements from causing overflow */
.hero::after,
.page-header::after,
.tutorial-hero::after,
.about-hero::after,
.booking-hero::after {
  max-width: 100vw;
}

@media (max-width: 900px) {
  .service-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-right { flex-direction: row; justify-content: flex-start; text-align: left; align-items: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-info { position: static; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero { min-height: 70vh; padding-top: 4rem; }
  .hero::after { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .tutorials-grid { grid-template-columns: 1fr; }
  .page-header { padding: 3.5rem 1.5rem 2.5rem; }
  .page-header::after { display: none; }
  .container { padding: 0 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .tutorial-hero { padding: 3rem 1.25rem 2rem; }
  .tutorial-hero::after { display: none; }
  .tutorial-body { padding: 2.5rem 1.25rem 4rem; }
  .booking-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .nav-buttons { flex-direction: column; }
  .nav-buttons .btn { width: 100%; justify-content: center; }
  .hero h1 { letter-spacing: -1px; }
  .section-title { letter-spacing: -0.5px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .tutorial-meta-bar { gap: 0.75rem; }
  .filter-inner { gap: 0.4rem; }
  .services-overview { padding: 4rem 1.25rem; }
  .about-preview { padding: 4rem 1.25rem; }
  .booking-section { padding: 3rem 1.25rem 4rem; }
}

@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .booking-price-amount { font-size: 2.2rem; }
  .services-header { margin-bottom: 2rem; }
}

/* ════════════════════════════════════════
   TUTORIAL PAGES (tutorial1–6)
   ════════════════════════════════════════ */

.tutorial-hero {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem 3rem;
  border-bottom: 1px solid var(--border);
}

.tutorial-hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tutorial-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

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

.tutorial-hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  animation: fadeUp 0.5s 0.1s ease both;
}

.tutorial-hero p {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  animation: fadeUp 0.5s 0.2s ease both;
}

.tutorial-meta-bar {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  animation: fadeUp 0.5s 0.3s ease both;
}

.tutorial-meta-bar span {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── TUTORIAL BODY ── */
.tutorial-body {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem 6rem;
}

.tutorial-body-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* ── INTRO BOX ── */
.intro-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 3rem;
}

.intro-box h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.intro-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.intro-box ul li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intro-box ul li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: 0.8rem; }

/* ── STEPS ── */
.step { margin-bottom: 3.5rem; }

.step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.step-number {
  width: 36px; height: 36px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.step h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.step p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.step p strong { color: var(--text); font-weight: 500; }

/* ── SCREENSHOT PLACEHOLDER ── */
.screenshot-placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 1.5rem 0;
}

.screenshot-placeholder span { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.screenshot-placeholder p { color: var(--muted); font-size: 0.82rem; margin: 0; }

/* ── TIP BOX ── */
.tip-box {
  background: rgba(0,212,255,0.05);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
}

.tip-box span { font-size: 1.1rem; flex-shrink: 0; }
.tip-box p { color: var(--muted); font-size: 0.875rem; font-weight: 300; line-height: 1.6; margin: 0; }
.tip-box p strong { color: var(--accent); }

/* ── WARNING BOX ── */
.warning-box {
  background: rgba(255,180,0,0.05);
  border: 1px solid rgba(255,180,0,0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
}

.warning-box p { color: var(--muted); font-size: 0.875rem; font-weight: 300; line-height: 1.6; margin: 0; }
.warning-box p strong { color: #ffb400; }

/* ── STEP LIST ── */
.step-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin: 1rem 0; }

.step-list li {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.6;
}

.step-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }

/* ── NAV BUTTONS ── */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}