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

/* ══════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════ */
:root {
  --navy:     #0f3460;
  --dark:     #0a0e1a;
  --darker:   #060810;
  --red:      #e94560;
  --red-glow: rgba(233, 69, 96, .25);
  --accent:   #ff8fa3;
  --light:    #ccd6f6;
  --gray:     #8892b0;
  --card-bg:  rgba(255,255,255,.03);
  --card-bdr: rgba(255,255,255,.07);
  --white:    #ffffff;
  --font:     'Outfit', system-ui, sans-serif;
  --serif:    'Merriweather', Georgia, serif;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ══════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════ */
.container { width: min(1140px, 90%); margin: 0 auto; }
.section { padding: 100px 0; position: relative; }

.section-tag {
  display: inline-block;
  background: rgba(233,69,96,.12);
  color: var(--red);
  border: 1px solid rgba(233,69,96,.3);
  border-radius: 20px;
  padding: 5px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title em { color: var(--red); font-style: normal; }

.section-desc {
  font-size: 16px;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #c0354e);
  color: white;
  box-shadow: 0 4px 24px var(--red-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--red-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
}

/* ══════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10,14,26,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.nav-logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy), var(--dark));
  border: 1.5px solid rgba(233,69,96,.5);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: color .2s;
}

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

.nav-cta {
  padding: 8px 20px !important;
  font-size: 13px !important;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(233,69,96,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(15,52,96,.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(233,69,96,.08);
  border: 1px solid rgba(233,69,96,.25);
  border-radius: 40px;
  padding: 6px 16px 6px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 var(--red-glow); }
  50% { opacity: .7; box-shadow: 0 0 0 6px transparent; }
}

.hero-title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-title em { color: var(--red); font-style: normal; }

.hero-desc {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(10px);
}

.hero-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}

.hero-card-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--red), #c0354e);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}

.hero-card-title { font-size: 16px; font-weight: 700; color: var(--white); }
.hero-card-sub   { font-size: 12px; color: var(--gray); }

.hero-progress {
  height: 6px;
  background: rgba(255,255,255,.06);
  border-radius: 3px;
  margin-bottom: 20px;
  overflow: hidden;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--accent));
  border-radius: 3px;
  animation: progressAnim 3s ease-in-out infinite;
}

@keyframes progressAnim {
  0% { width: 0%; }
  50% { width: 85%; }
  100% { width: 100%; }
}

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.metric {
  text-align: center;
  padding: 14px 8px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
}

.metric-num {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label { font-size: 11px; color: var(--gray); margin-top: 2px; }

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: 16px;
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  border-color: rgba(233,69,96,.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}

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

.service-icon {
  width: 48px; height: 48px;
  background: rgba(233,69,96,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   PROCESS
   ══════════════════════════════════════ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: 16px;
  padding: 28px 22px;
  counter-increment: step;
  transition: var(--transition);
}

.step:hover {
  border-color: rgba(233,69,96,.25);
  background: rgba(255,255,255,.05);
}

.step-num {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(233,69,96,.3), transparent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ══════════════════════════════════════
   CASE STUDY
   ══════════════════════════════════════ */
.case-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.case-visual {
  background: linear-gradient(135deg, rgba(15,52,96,.4), rgba(10,14,26,.8));
  border: 1px solid rgba(15,52,96,.5);
  border-radius: 20px;
  padding: 32px;
  position: relative;
}

.case-before-after {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.case-box {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.case-box-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.case-box-before .case-box-label { color: var(--gray); }
.case-box-after  .case-box-label { color: var(--red); }

.case-box-icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.case-box p { font-size: 12px; color: var(--gray); line-height: 1.5; }

.case-arrow {
  font-size: 28px;
  color: var(--red);
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}

.case-stat {
  background: rgba(233,69,96,.06);
  border: 1px solid rgba(233,69,96,.2);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.case-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
}

.case-stat-label { font-size: 11px; color: var(--gray); }

.case-content h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.case-content p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 16px;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-tag {
  background: rgba(15,52,96,.5);
  border: 1px solid rgba(15,52,96,.8);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--light);
}

/* ══════════════════════════════════════
   CTA / CONTACT
   ══════════════════════════════════════ */
.cta-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(233,69,96,.08) 0%, transparent 60%);
}

.cta-box {
  background: linear-gradient(135deg, rgba(15,52,96,.3), rgba(10,14,26,.6));
  border: 1px solid rgba(15,52,96,.5);
  border-radius: 24px;
  padding: 60px;
  text-align: center;
}

.cta-box .section-title { margin-bottom: 12px; }
.cta-box .section-desc  { margin: 0 auto 32px; }

.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy { font-size: 13px; color: var(--gray); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--gray); transition: color .2s; }
.footer-links a:hover { color: var(--white); }

/* ══════════════════════════════════════
   ABOUT ME
   ══════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.about-avatar-area { text-align: center; }

.about-avatar {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--dark));
  border: 3px solid rgba(233,69,96,.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 56px; font-weight: 700;
  color: var(--red);
  margin: 0 auto 16px;
  box-shadow: 0 0 50px var(--red-glow);
}

.about-name {
  font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 4px;
}

.about-role {
  font-size: 13px; color: var(--red); font-weight: 600; letter-spacing: .5px;
}

.about-bio { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.about-bio strong { color: var(--light); }

.about-exp-title {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}

.exp-timeline { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.exp-item {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 10px 14px;
}

.exp-dot {
  min-width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.exp-item span { font-size: 13px; color: var(--gray); }
.exp-item strong { color: var(--light); font-weight: 600; }

.skills-title {
  font-size: 14px; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}

.skills-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
}

.skill-tag {
  background: rgba(15,52,96,.45);
  border: 1px solid rgba(15,52,96,.8);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(233,69,96,.12);
  border-color: rgba(233,69,96,.4);
  color: var(--white);
}

/* ══════════════════════════════════════
   TESTIMONIAL
   ══════════════════════════════════════ */
.testimonial-card {
  background: linear-gradient(135deg, rgba(15,52,96,.25), rgba(10,14,26,.5));
  border: 1px solid rgba(15,52,96,.5);
  border-radius: 20px;
  padding: 40px 48px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial-quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--red);
  opacity: .3;
  line-height: 1;
  position: absolute;
  top: 16px; left: 32px;
}

.testimonial-text {
  font-size: 17px;
  color: var(--light);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex; align-items: center; gap: 14px;
}

.testimonial-author-avatar {
  width: 44px; height: 44px;
  background: rgba(233,69,96,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.testimonial-author-name { font-size: 14px; font-weight: 700; color: var(--white); }
.testimonial-author-role { font-size: 12px; color: var(--gray); }

/* ══════════════════════════════════════
   FAQ
   ══════════════════════════════════════ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-bdr);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s;
}

.faq-item.active {
  border-color: rgba(233,69,96,.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  cursor: pointer;
  user-select: none;
}

.faq-question h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.faq-toggle {
  width: 28px; height: 28px;
  background: rgba(233,69,96,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--red);
  transition: transform .3s;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

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

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ══════════════════════════════════════
   CONTACT FORM
   ══════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 12px;
}

.contact-info p {
  font-size: 14px; color: var(--gray); margin-bottom: 20px; line-height: 1.7;
}

.contact-method {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.contact-method:hover {
  border-color: rgba(233,69,96,.25);
  background: rgba(255,255,255,.05);
}

.contact-method-icon {
  font-size: 22px;
  min-width: 32px;
  text-align: center;
}

.contact-method-label { font-size: 12px; color: var(--gray); }
.contact-method-value { font-size: 14px; font-weight: 600; color: var(--light); }

.contact-form {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 28px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--light);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--white);
  transition: border-color .3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136,146,176,.5);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
   ══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { margin-top: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .case-wrapper { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .cta-box { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .case-before-after { grid-template-columns: 1fr; }
  .case-arrow { transform: rotate(90deg); }
  .footer .container { flex-direction: column; gap: 16px; text-align: center; }
}
