@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@700;800&display=swap');

:root {
  --bg-dark: #10131A;
  --bg-panel: #1B1F29;
  --bg-light: #FFFFFF;
  --bg-cream: #F1EFE8;
  --green: #39FF6A;
  --green-dark: #04342C;
  --text-light: #FFFFFF;
  --text-muted: #B4B2A9;
  --text-dim: #5F5E5A;
  --text-dark: #10131A;
  --border-dark: #2C2C2A;
  --border-light: #D3D1C7;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

h1, h2, h3, .heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
}

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

img, svg {
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 0.5px solid var(--border-dark);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 15px;
}

.nav-logo .accent { color: var(--green); }

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  color: var(--text-muted);
  align-items: center;
  font-weight: 500;
}

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

.nav-cta {
  color: var(--text-light);
  border: 0.5px solid var(--green);
  padding: 8px 18px;
  border-radius: 6px;
}

/* Buttons */
.btn-primary {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--green);
  color: var(--green-dark);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  font-family: 'Space Grotesk', sans-serif;
  border: 0.5px solid var(--text-dim);
  color: var(--text-light);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  display: inline-block;
  background: transparent;
  cursor: pointer;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 48px;
  position: relative;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

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

.hero-graphic {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  border: 0.5px solid var(--border-dark);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-panel);
}

/* Corner accents */
.corner-tl, .corner-br {
  position: absolute;
  width: 44px;
  height: 44px;
}

.corner-tl { top: 36px; left: 48px; }
.corner-br { bottom: 32px; right: 48px; }

/* Sections */
.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 90px 48px;
}

.section-cream {
  background: var(--bg-cream);
  color: var(--text-dark);
  padding: 90px 48px;
}

.section-dark {
  background: var(--bg-dark);
  padding: 80px 48px;
}

.section-eyebrow {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 8px;
  font-weight: 500;
}

.section-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 48px;
}

/* Cards grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  border: 0.5px solid var(--border-light);
  border-radius: 10px;
  padding: 28px;
  background: var(--bg-light);
}

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card-icon i { color: var(--green); font-size: 22px; }

.card-emoji {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 18px;
}

.card-icon-pro {
  width: 54px;
  height: 54px;
  background: linear-gradient(145deg, #1B1F29 0%, #22273A 100%);
  border: 1px solid #2e3344;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13px;
  color: var(--text-dim);
}

/* Portfolio cards */
.portfolio-card {
  background: var(--bg-light);
  border-radius: 10px;
  overflow: hidden;
  border: 0.5px solid var(--border-light);
}

.portfolio-card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.portfolio-card-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.portfolio-thumb {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: var(--bg-dark);
}

.portfolio-thumb iframe {
  width: 200%;
  height: 360px;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
  border: none;
}

.portfolio-thumb i { color: var(--green); font-size: 36px; }

.browser-bar-mini {
  background: #161c2a;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.browser-bar-mini .b-dots { display: flex; gap: 4px; }
.browser-bar-mini .b-dots span { width: 8px; height: 8px; border-radius: 50%; }
.browser-bar-mini .b-url {
  flex: 1;
  background: rgba(255,255,255,.07);
  border-radius: 3px;
  padding: 3px 8px;
  font-size: 10px;
  color: rgba(255,255,255,.3);
  font-family: monospace;
  margin-left: 4px;
}

.portfolio-info { padding: 18px; }

.portfolio-info h3 {
  font-size: 14px;
  margin-bottom: 4px;
}

.portfolio-info p {
  font-size: 12px;
  color: var(--text-dim);
}

/* Contact / footer */
.contact-section {
  padding: 80px 48px;
  text-align: center;
  position: relative;
}

.contact-section h2 { font-size: 30px; margin-bottom: 12px; }

.contact-section p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.footer-tag {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 40px;
  font-weight: 500;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 6px;
  border: 0.5px solid var(--border-dark);
  background: var(--bg-panel);
  color: var(--text-light);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
}

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

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  text-align: left;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .hero { padding: 60px 24px; }
  .hero h1 { font-size: 38px; }
  .nav { padding: 16px 24px; flex-wrap: wrap; gap: 16px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .section-light, .section-cream, .section-dark, .contact-section { padding: 60px 24px; }
  .hero-graphic { width: 100%; height: 220px; }
}
