/* =========================================================
   CHARM CITY DEV WEBSITE
   Easy edits:
   1. Change colors in :root below.
   2. Change text inside index.html.
   3. Replace Discord and email links near the contact section.
   ========================================================= */

:root {
  --background: #f4f6f8;
  --surface: #ffffff;
  --dark: #0b1018;
  --dark-two: #121a25;
  --text: #101722;
  --muted: #657080;
  --border: #dfe4ea;
  --orange: #ff5c22;
  --orange-dark: #d9420d;
  --blue: #178ee8;
  --shadow: 0 18px 60px rgba(11, 16, 24, 0.12);
  --radius: 18px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 16, 24, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--orange), #ff8a34);
  color: white;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(255, 92, 34, 0.28);
}

.brand-title,
.brand-subtitle {
  display: block;
  line-height: 1;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1.5px;
}

.brand-title {
  color: white;
  font-size: 18px;
  font-weight: 700;
}

.brand-subtitle {
  color: var(--orange);
  font-size: 14px;
  margin-top: 4px;
}

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

.nav-links a {
  color: #dce4ed;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

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

.nav-links .nav-cta {
  background: var(--orange);
  color: white;
  padding: 11px 18px;
  border-radius: 10px;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
  margin: 5px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 92, 34, 0.22), transparent 32%),
    radial-gradient(circle at 85% 70%, rgba(23, 142, 232, 0.13), transparent 30%),
    var(--dark);
  color: white;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.hero-content {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 70px;
  padding: 90px 0;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -1.5px;
  max-width: 760px;
  text-transform: uppercase;
}

.hero-text {
  color: #b7c0ca;
  max-width: 650px;
  font-size: 18px;
  margin-top: 24px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--orange);
}

.button.primary:hover {
  background: var(--orange-dark);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}

.button.secondary:hover {
  background: rgba(255,255,255,0.11);
}

.button.full {
  width: 100%;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-badges span {
  color: #c8d1dc;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  padding: 8px 12px;
}

.hero-card {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(15, 23, 34, 0.82);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
  transform: rotate(1deg);
  overflow: hidden;
}

.terminal-top {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.terminal-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5e6875;
}

.terminal-top span:first-child {
  background: #ff5f57;
}

.terminal-top span:nth-child(2) {
  background: #febc2e;
}

.terminal-top span:nth-child(3) {
  background: #28c840;
}

.terminal-top p {
  color: #8390a0;
  font-size: 12px;
  margin-left: 10px;
}

.terminal-body {
  padding: 32px 28px 36px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 2;
  color: #bcc7d3;
}

.prompt {
  color: var(--orange);
}

.success {
  color: #41db78;
}

.typing {
  margin-top: 14px;
  color: white;
}

.cursor {
  color: var(--orange);
  animation: blink 0.9s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.section {
  padding: 100px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2,
.contact-section h2 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.05;
  text-transform: uppercase;
}

.section-heading > p:last-child {
  color: var(--muted);
  margin-top: 14px;
  font-size: 17px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 315px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 30px rgba(15, 23, 34, 0.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

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

.service-number {
  color: var(--orange);
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
}

.service-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  margin-top: 20px;
  text-transform: uppercase;
}

.service-card > p {
  color: var(--muted);
  margin-top: 10px;
}

.service-card ul {
  margin-top: 22px;
  display: grid;
  gap: 9px;
}

.service-card li {
  color: #3f4955;
  font-size: 14px;
}

.service-card li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
  margin-right: 9px;
}

.highlight-card {
  color: white;
  background:
    linear-gradient(140deg, rgba(255, 92, 34, 0.93), rgba(209, 55, 5, 0.96)),
    var(--orange);
  border-color: transparent;
}

.highlight-card .service-number,
.highlight-card > p {
  color: rgba(255,255,255,0.78);
}

.highlight-card a {
  display: inline-block;
  margin-top: 25px;
  font-weight: 800;
}

.dark-section {
  color: white;
  background: var(--dark);
}

.section-heading.light > p:last-child {
  color: #aab4c0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 34px;
  background: var(--dark-two);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
}

.price-card.featured {
  border-color: var(--orange);
  box-shadow: 0 20px 55px rgba(255, 92, 34, 0.13);
}

.popular {
  position: absolute;
  top: 0;
  right: 22px;
  transform: translateY(-50%);
  background: var(--orange);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  border-radius: 999px;
  padding: 7px 11px;
}

.price-label {
  color: #aeb8c4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.price-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 52px;
  margin-top: 10px;
}

.price-card h3 span {
  color: var(--orange);
  font-size: 24px;
}

.price-card > p:nth-of-type(2) {
  color: #aab4c0;
  min-height: 88px;
  margin: 12px 0 28px;
}

.pricing-note {
  text-align: center;
  color: #8f9aa7;
  font-size: 13px;
  margin-top: 28px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.portfolio-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.portfolio-image {
  min-height: 245px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background-color: #18212d;
  background-image:
    linear-gradient(135deg, rgba(255,92,34,.6), transparent 48%),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
}

.image-two {
  background-image:
    linear-gradient(135deg, rgba(23,142,232,.6), transparent 48%),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
}

.image-three {
  background-image:
    linear-gradient(135deg, rgba(255,188,46,.55), transparent 48%),
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
}

.portfolio-image span {
  color: white;
  font-family: "Oswald", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}

.portfolio-content {
  padding: 25px;
}

.portfolio-content > p {
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.portfolio-content h3 {
  margin: 7px 0 8px;
  font-size: 21px;
}

.portfolio-content span {
  color: var(--muted);
  font-size: 14px;
}

.process-section {
  padding-top: 30px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.step {
  border-top: 3px solid var(--orange);
  padding-top: 22px;
}

.step > span {
  color: var(--orange);
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.step h3 {
  margin-top: 12px;
  font-size: 18px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}

.contact-section {
  background:
    linear-gradient(110deg, rgba(255,92,34,.94), rgba(218,61,9,.97)),
    var(--orange);
  color: white;
  padding: 90px 0;
}

.contact-section .eyebrow {
  color: rgba(255,255,255,.75);
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 70px;
}

.contact-wrap > div:first-child > p:last-child {
  color: rgba(255,255,255,.82);
  font-size: 17px;
  max-width: 650px;
  margin-top: 18px;
}

.contact-card {
  background: white;
  color: var(--text);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 55px rgba(94, 20, 0, 0.23);
}

.contact-card h3 {
  font-family: "Oswald", sans-serif;
  font-size: 27px;
  text-transform: uppercase;
}

.contact-card > p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 22px;
}

.contact-card .button + .button {
  margin-top: 10px;
}

.contact-card .button.secondary {
  color: var(--text);
  border-color: var(--border);
  background: #f5f7f9;
}

.contact-card small {
  display: block;
  color: #8993a0;
  margin-top: 18px;
  text-align: center;
}

footer {
  background: #070b11;
  color: #98a3af;
  padding: 28px 0;
}

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

.footer-brand .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 13px;
}

.footer-brand .brand-title {
  font-size: 15px;
}

.footer-brand .brand-subtitle {
  font-size: 11px;
}

footer p,
footer a {
  font-size: 13px;
}

footer a:hover {
  color: white;
}

@media (max-width: 950px) {
  .hero-content,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 45px;
    min-height: auto;
  }

  .hero-card {
    max-width: 650px;
  }

  .cards-grid,
  .pricing-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #111923;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0,0,0,.35);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .nav-links .nav-cta {
    margin-top: 6px;
    text-align: center;
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 49px;
  }

  .section {
    padding: 75px 0;
  }

  .cards-grid,
  .pricing-grid,
  .portfolio-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .price-card > p:nth-of-type(2) {
    min-height: auto;
  }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-card {
    transform: none;
  }

  .terminal-body {
    padding: 25px 20px;
    font-size: 12px;
  }

  .service-card,
  .price-card,
  .contact-card {
    padding: 24px;
  }
}

.logo {
    height: 55px;
    width: auto;
}