/* ══════════════════════════════════════════════
   Sashi Kiran — Portfolio Styles
   ══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg: #09090b;
  --bg-elevated: #0f0f12;
  --bg-card: #131318;
  --bg-card-hover: #18181e;
  --surface: #1c1c24;
  --surface-2: #222230;
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent: #22d3ee;
  --accent-soft: rgba(34,211,238,0.1);
  --accent-glow: rgba(34,211,238,0.15);
  --green: #4ade80;
  --green-soft: rgba(74,222,128,0.1);
  --amber: #fbbf24;
  --amber-soft: rgba(251,191,36,0.1);
  --rose: #fb7185;
  --rose-soft: rgba(251,113,133,0.1);
  --violet: #a78bfa;
  --violet-soft: rgba(167,139,250,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --mono: 'Geist Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* ── Grain Overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}


/* ══════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════ */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.9rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(24px) saturate(1.2);
  background: rgba(9,9,11,0.75);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--bg);
}

.nav-brand span {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0.5rem 1.25rem !important;
  background: var(--text-primary) !important;
  color: var(--bg) !important;
  border-radius: 100px;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.85;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}


/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow--1 {
  background: var(--accent);
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow--2 {
  background: var(--violet);
  bottom: -20%;
  left: 20%;
  width: 400px;
  height: 400px;
  opacity: 0.07;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1100px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  text-align: left;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 700px;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.6s ease 0.1s both;
}

.hero-subtitle {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: fadeDown 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  animation: fadeDown 0.6s ease 0.3s both;
}

/* Hero Photo */
.hero-photo {
  flex-shrink: 0;
  width: 340px;
  height: 340px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 60px rgba(34,211,238,0.06);
  animation: fadeDown 0.6s ease 0.2s both;
  position: relative;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 2px;
  background: linear-gradient(135deg, var(--accent), var(--violet));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s;
}

.hero-photo:hover::before {
  opacity: 1;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

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

.btn-ghost:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-arrow {
  transition: transform 0.2s;
}

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


/* ══════════════════════════════════════════════
   HERO PRODUCT MOCKUP
   ══════════════════════════════════════════════ */

.hero-mockup {
  margin-top: 4rem;
  width: 100%;
  max-width: 1000px;
  position: relative;
  animation: fadeUp 0.8s ease 0.4s both;
}

.mockup-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}

.mockup-titlebar {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--surface-2);
}

.mockup-dot:nth-child(1) { background: #ff5f57; }
.mockup-dot:nth-child(2) { background: #febc2e; }
.mockup-dot:nth-child(3) { background: #28c840; }

.mockup-titlebar span {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  min-height: 380px;
}

/* Sidebar */
.mockup-sidebar {
  border-right: 1px solid var(--border);
  padding: 1rem;
}

.mockup-sidebar-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.mockup-nav-item {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  transition: background 0.2s;
}

.mockup-nav-item:hover { background: var(--surface); }
.mockup-nav-item.active { background: var(--accent-soft); color: var(--accent); }

.mockup-nav-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--surface);
  flex-shrink: 0;
}

.active .mockup-nav-icon { background: var(--accent-soft); }

/* Main area */
.mockup-main {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mockup-main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-main-title {
  font-weight: 500;
  font-size: 0.95rem;
}

.mockup-badge {
  font-family: var(--mono);
  font-size: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: var(--green-soft);
  color: var(--green);
}

.mockup-chart {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

.mockup-chart-label {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 120px;
  padding-top: 1rem;
}

.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: all 0.3s ease;
  position: relative;
  min-width: 0;
}

.chart-bar:hover { filter: brightness(1.3); }

.mockup-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.mockup-stat {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.75rem;
}

.mockup-stat-value {
  font-size: 1.2rem;
  font-weight: 600;
}

.mockup-stat-label {
  font-family: var(--mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

/* Right panel */
.mockup-panel {
  border-left: 1px solid var(--border);
  padding: 1rem;
}

.mockup-panel-title {
  font-family: var(--mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.insight-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.7rem;
  margin-bottom: 0.5rem;
  cursor: default;
  transition: all 0.2s;
}

.insight-card:hover {
  border-color: var(--border-hover);
  background: var(--surface);
}

.insight-tag {
  font-family: var(--mono);
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

.insight-tag--alert { background: var(--rose-soft); color: var(--rose); }
.insight-tag--info { background: var(--accent-soft); color: var(--accent); }
.insight-tag--success { background: var(--green-soft); color: var(--green); }

.insight-text {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.insight-time {
  font-family: var(--mono);
  font-size: 0.55rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}


/* ══════════════════════════════════════════════
   SECTIONS — GLOBAL
   ══════════════════════════════════════════════ */

section {
  padding: 7rem 2.5rem;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 650px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 560px;
  margin-top: 1rem;
  font-weight: 300;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}


/* ══════════════════════════════════════════════
   PROBLEM → SOLUTION CARDS
   ══════════════════════════════════════════════ */

.problems {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
}

.problems .section-heading {
  margin: 0 auto;
  max-width: 700px;
}

.problems .section-desc {
  margin: 1rem auto 0;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

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

.problem-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.problem-card:hover::before { opacity: 1; }

.problem-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
}

.problem-card:nth-child(1) .problem-icon { background: var(--accent-soft); }
.problem-card:nth-child(2) .problem-icon { background: var(--violet-soft); }
.problem-card:nth-child(3) .problem-icon { background: var(--amber-soft); }

.problem-card:nth-child(1) { --card-accent: var(--accent); }
.problem-card:nth-child(2) { --card-accent: var(--violet); }
.problem-card:nth-child(3) { --card-accent: var(--amber); }

.problem-card h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Interactive hover visual */
.problem-visual {
  margin-top: 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  transition: border-color 0.3s;
}

.problem-card:hover .problem-visual { border-color: var(--border-hover); }

.pv-bar-group {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 50px;
}

.pv-bar {
  width: 14px;
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
}

.problem-card:hover .pv-bar--grow { height: 45px !important; }


/* ══════════════════════════════════════════════
   SKILLS / EXPERTISE
   ══════════════════════════════════════════════ */

.skills-section {
  max-width: 1100px;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.skill-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
}

.skill-block:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.skill-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.skill-block h3 {
  font-size: 1rem;
  font-weight: 500;
}

.skill-block-level {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

.level-expert { background: var(--green-soft); color: var(--green); }
.level-advanced { background: var(--accent-soft); color: var(--accent); }
.level-proficient { background: var(--amber-soft); color: var(--amber); }

.skill-block p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.skill-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}


/* ══════════════════════════════════════════════
   PROJECTS
   ══════════════════════════════════════════════ */

.projects-section {
  max-width: 1100px;
  margin: 0 auto;
}

.project-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 2rem;
  align-items: center;
  transition: all 0.35s;
  cursor: pointer;
}

.project-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.project-meta {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: flex;
  gap: 1rem;
}

.project-meta-type { color: var(--accent); }
.project-meta-year { color: var(--text-muted); }

.project-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.project-card > div > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 550px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.project-tags span {
  font-family: var(--mono);
  font-size: 0.62rem;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.project-preview {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.project-preview-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  position: relative;
}

.pp-1 { background: linear-gradient(160deg, #0d1f1f, #0a0f1a); }
.pp-2 { background: linear-gradient(160deg, #1a0d1f, #0f0a1a); }
.pp-3 { background: linear-gradient(160deg, #1f1a0d, #1a0f0a); }
.pp-4 { background: linear-gradient(160deg, #0d1a1f, #0a1a0f); }

.pp-mini-chart {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 50px;
}

.pp-bar {
  width: 8px;
  border-radius: 2px 2px 0 0;
  transition: height 0.4s ease;
}

.project-card:hover .pp-bar { filter: brightness(1.4); }


/* ══════════════════════════════════════════════
   EXPERIENCE
   ══════════════════════════════════════════════ */

.experience-section {
  max-width: 1100px;
  margin: 0 auto;
}

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.exp-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.exp-item {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
  cursor: default;
}

.exp-item:first-child { padding-top: 0; }
.exp-item:hover { padding-left: 0.75rem; }

.exp-date {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.exp-item h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.exp-company {
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.exp-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.exp-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exp-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all 0.3s;
}

.exp-stat-card:hover { border-color: var(--border-hover); }

.exp-stat-val {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--accent);
}

.exp-stat-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.exp-stat-detail {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  line-height: 1.5;
}


/* ══════════════════════════════════════════════
   TRUST / HOW I WORK
   ══════════════════════════════════════════════ */

.trust-section {
  max-width: 1100px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
}

.trust-card:hover { border-color: var(--border-hover); }

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.trust-card:nth-child(1) .trust-icon { background: var(--green-soft); }
.trust-card:nth-child(2) .trust-icon { background: var(--accent-soft); }
.trust-card:nth-child(3) .trust-icon { background: var(--violet-soft); }

.trust-card h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.trust-list {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.trust-list li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-list li::before {
  content: '✓';
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ══════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════ */

.faq-section {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.faq-list {
  margin-top: 3rem;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--accent); }

.faq-chevron {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-chevron { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 200px; }

.faq-answer p {
  padding-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ══════════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════════ */

.cta-banner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cta-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(180px);
  opacity: 0.06;
}

.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .section-label { justify-content: center; }

.cta-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto 2rem;
  font-weight: 300;
}


/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */

footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 240px;
}

.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}

.footer-bottom span {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


/* ══════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}


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

@media (max-width: 900px) {
  nav { padding: 0.75rem 1.25rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  section { padding: 4.5rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .hero-inner { flex-direction: column; gap: 2.5rem; text-align: center; }
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-photo { width: 260px; height: 260px; order: -1; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar, .mockup-panel { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .project-card { grid-template-columns: 1fr; }
  .project-preview { display: none; }
  .exp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
