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

:root {
  --ocean-deep: #0a0e1a;
  --ocean-mid: #0d2137;
  --ocean-teal: #0a7ea4;
  --ocean-bright: #14b8d4;
  --ocean-glow: #4dd9ec;
  --sand: #f5f0e8;
  --text: #e8edf5;
  --text-muted: #8a9ab5;
  --card-bg: #111827;
  --border: rgba(77, 217, 236, 0.15);
  --radius: 12px;
  --max-width: 1100px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--ocean-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  z-index: 10;
}

.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ocean-glow);
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(10, 126, 164, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(20, 184, 212, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, #060b18 0%, #0a1628 40%, #0d2137 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(77,217,236,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 15%, rgba(77,217,236,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 45% 60%, rgba(77,217,236,0.2) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 85% 45%, rgba(77,217,236,0.35) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 75%, rgba(77,217,236,0.25) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(77, 217, 236, 0.1);
  border: 1px solid var(--border);
  color: var(--ocean-glow);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 30%, var(--ocean-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ocean-teal), var(--ocean-bright));
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(10, 126, 164, 0.4);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(20, 184, 212, 0.55);
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
}

/* ── SECTIONS ── */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: linear-gradient(180deg, #0a0e1a 0%, #0c1524 50%, #0a0e1a 100%);
}

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

.container.narrow {
  max-width: 680px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ocean-bright);
  margin-bottom: 0.75rem;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 3rem;
  line-height: 1.75;
}

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.25s, transform 0.25s;
}

.card:hover {
  border-color: rgba(77, 217, 236, 0.4);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.65rem;
}

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

/* ── DEVELOPMENTS ── */
.dev-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.dev-item {
  background: var(--card-bg);
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.dev-item:last-child {
  border-bottom: none;
}

.dev-item:hover {
  background: #151f2e;
}

.dev-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-bright);
  background: rgba(20, 184, 212, 0.1);
  border: 1px solid rgba(20, 184, 212, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}

.dev-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

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

/* ── FORM ── */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form select option {
  background: var(--card-bg);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--ocean-bright);
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--ocean-glow);
  min-height: 1.4em;
}

/* ── FOOTER ── */
footer {
  background: #060b18;
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-brand strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--ocean-glow);
}

.footer-brand span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 1.25rem 1.25rem; }
  .nav-links { gap: 1.25rem; }
  .hero-content { padding: 7rem 1.25rem 5rem; }
  .section { padding: 4rem 0; }
  .container { padding: 0 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
