/* Next Website — Static CSS
   Design tokens mirror the React app's Tailwind/oklch theme. */
:root {
  --background: #ffffff;
  --foreground: #0b1220;
  --card: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --primary: #1e2a44;
  --primary-foreground: #f8fafc;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e2a44;
  --accent: #f1f5f9;
  --radius: 10px;
  --max: 1200px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -10px rgba(15, 23, 42, .15);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius); font-weight: 600;
  border: 1px solid transparent; transition: transform .05s ease, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-primary:hover { background: #16203a; }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); border-color: var(--border); }
.btn-outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn-outline:hover { background: var(--muted); }
.btn-lg { padding: 14px 24px; font-size: 1.0625rem; }

/* Navbar */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 800; letter-spacing: -.02em; font-size: 1.125rem; }
.brand span { color: #64748b; font-weight: 500; }
.nav-links { display: none; gap: 24px; }
.nav-links a { color: var(--muted-foreground); font-weight: 500; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--foreground); }
.nav-cta { display: none; }
.menu-btn { background: transparent; border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.mobile-menu { display: none; border-top: 1px solid var(--border); background: #fff; padding: 12px 20px 20px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 10px 0; color: var(--foreground); font-weight: 500; }
@media (min-width: 768px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* Sections */
section { border-bottom: 1px solid var(--border); }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.eyebrow { color: var(--primary); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--muted-foreground); }
.title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.subtitle { font-size: 1.125rem; color: var(--muted-foreground); margin-top: 16px; max-width: 60ch; }

/* Hero */
.hero { padding: 96px 0; background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%); }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #1e2a44, #4f6694); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; color: var(--muted-foreground); font-size: .9rem; }
.hero-meta span::before { content: "✓"; color: var(--primary); margin-right: 6px; font-weight: 700; }

/* Logo strip */
.logo-strip { background: #fafbfc; }
.logos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; opacity: .75; }
.logos div { border: 1px dashed var(--border); border-radius: 8px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--muted-foreground); font-size: .8rem; }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .logos { grid-template-columns: repeat(6, 1fr); } }

/* Grid utilities */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.icon-pill { width: 44px; height: 44px; border-radius: 10px; background: var(--secondary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px; }

/* Process */
.process { counter-reset: step; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step .num { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Pricing */
.pricing { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) {
    .pricing {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing .tier {
        grid-column: 2;
    }
}
.tier { padding: 32px; border: 1px solid var(--border); border-radius: 14px; background: #fff; display: flex; flex-direction: column; }
.tier.popular { border-color: var(--primary); box-shadow: var(--shadow); position: relative; }
.tier .badge { position: absolute; top: -12px; left: 32px; background: var(--primary); color: var(--primary-foreground); font-size: .75rem; padding: 4px 10px; border-radius: 999px; font-weight: 600; }
.tier h3 { font-size: 1.25rem; }
.price { font-size: 2.5rem; font-weight: 800; letter-spacing: -.02em; margin: 12px 0; }
.price small { font-size: .9rem; color: var(--muted-foreground); font-weight: 500; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }
.tier li::before { content: "✓"; color: var(--primary); margin-right: 8px; font-weight: 700; }
.tier .btn { margin-top: auto; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--border); background: #fff; color: var(--muted-foreground); padding: 6px 14px; border-radius: 999px; font-size: .85rem; }
.chip.active, .chip:hover { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.project { overflow: hidden; padding: 0; }
.project .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary);
  border-radius: 12px; /* optional */
}

.project .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project .body { padding: 22px; }
.project .meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted-foreground); }
.project .meta .result { color: var(--primary); font-weight: 600; }
.project h3 { margin: 8px 0; font-size: 1.1rem; }
.project a.case { color: var(--primary); font-weight: 600; font-size: .9rem; }

/* Contact */
.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 3fr 2fr; } }
form .row { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 600px) { form .row.two { grid-template-columns: 1fr 1fr; } }
label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: 8px; font: inherit; background: #fff; color: var(--foreground);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: -1px; border-color: var(--primary); }
textarea { min-height: 130px; resize: vertical; }
.contact-info { background: var(--secondary); border-radius: 14px; padding: 28px; }
.contact-info ul { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 14px; color: var(--muted-foreground); }
.timeline { display: flex; flex-direction: column; gap: 18px; margin-top: 22px; }
.timeline .t-row { display: flex; gap: 14px; align-items: flex-start; }
.timeline .t-row b { display: block; color: var(--foreground); }
.map { margin-top: 24px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* CTA banner */
.cta-banner { background: var(--primary); color: var(--primary-foreground); border-radius: 16px; padding: 56px 32px; text-align: center; }
.cta-banner h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; }
.cta-banner p { margin-top: 12px; opacity: .85; max-width: 50ch; margin-inline: auto; }
.cta-banner .btn { margin-top: 28px; background: #fff; color: var(--primary); }

/* Footer */
footer { background: #0b1220; color: #cbd5e1; padding: 56px 0 28px; }
footer a { color: #cbd5e1; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.foot-grid h4 { color: #fff; font-size: .9rem; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid #1e293b; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #94a3b8; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 36px; height: 36px; border-radius: 8px; background: #1e293b; display: inline-flex; align-items: center; justify-content: center; }
.socials a:hover {
    transform: translateY(-1px);
    background: #334155;
}
.socials img {
    width: 25px;   /* controls icon size */
    height: 25px;
    object-fit: contain;
}

/* Utilities */
.center { text-align: center; }
.mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; } .mt-4 { margin-top: 16px; }
.hidden { display: none; }
