:root {
  --ocean: #0C447C;
  --sky: #378ADD;
  --teal: #1D9E75;
  --teal-light: #5DCAA5;
  --sand: #FAC775;
  --sun: #EF9F27;
  --white: #FAFCFF;
  --dark: #0a1628;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--ocean) 0%, #0a2a52 60%, #07192e 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: -50%;
  width: 200%;
  height: 220px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 220'%3E%3Cpath fill='%231D9E75' fill-opacity='0.18' d='M0,96L60,112C120,128,240,160,360,154.7C480,149,600,107,720,96C840,85,960,107,1080,117.3C1200,128,1320,128,1380,128L1440,128L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z'/%3E%3Cpath fill='%23378ADD' fill-opacity='0.15' d='M0,160L80,149.3C160,139,320,117,480,128C640,139,800,181,960,181.3C1120,181,1280,139,1360,117.3L1440,96L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  animation: waveShift 8s ease-in-out infinite alternate;
}

@keyframes waveShift {
  from { transform: translateX(0); }
  to { transform: translateX(3%); }
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: float linear infinite;
}
@keyframes float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.12; }
  90% { opacity: 0.12; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  animation: fadeDown 0.9s ease both;
}
.logo-svg { width: 90px; height: auto; filter: drop-shadow(0 4px 24px rgba(239,159,39,0.4)); }
.logo-text { text-align: left; }
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.5px;
}
.logo-name span { color: var(--sand); }
.logo-location {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: 4px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(250,199,117,0.3);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--sand);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeDown 0.9s 0.1s ease both;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--sun);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 1.25rem;
  animation: fadeDown 0.9s 0.2s ease both;
}
.hero-headline em { color: var(--teal-light); font-style: normal; }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeDown 0.9s 0.3s ease both;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeDown 0.9s 0.4s ease both;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 12px 24px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.contact-pill:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,158,117,0.35);
}
.contact-pill svg { width: 16px; height: 16px; flex-shrink: 0; }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeDown 1s 0.8s ease both;
}
.scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── SHARED SECTION STYLES ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--teal);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ocean);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.75;
  max-width: 600px;
}

/* ── CLIENT SECTION ── */
.client-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e8faf4 100%);
  position: relative;
  overflow: hidden;
}
.client-section::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,158,117,0.08), transparent 70%);
}

.client-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 3rem;
}

.client-preview {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(12,68,124,0.18);
  border: 1px solid rgba(12,68,124,0.08);
  aspect-ratio: 16/10;
  background: #1a1a2e;
}

.browser-bar {
  background: #2d2d3f;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-url {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-left: 8px;
  font-family: monospace;
}

.client-preview iframe {
  width: 100%;
  height: calc(100% - 38px);
  border: none;
  display: block;
}

.iframe-fallback {
  display: none;
  width: 100%;
  height: calc(100% - 38px);
  background: linear-gradient(135deg, #0C447C, #1D9E75);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: white;
  text-align: center;
  padding: 2rem;
}

.client-tag {
  display: inline-block;
  background: var(--teal);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.client-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 0.75rem;
}
.client-blurb {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.client-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ocean);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.client-link:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,158,117,0.3);
}
.client-link svg { width: 16px; height: 16px; }

.client-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ocean);
}
.stat-label {
  font-size: 0.72rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ── GALLERY SECTION ── */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.mockup-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(12,68,124,0.1);
  border: 1px solid rgba(12,68,124,0.07);
  transition: all 0.3s ease;
  background: white;
}
.mockup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(12,68,124,0.18);
}

.mockup-screen {
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}

.mockup-1 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.mockup-2 { background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 50%, #6da33d 100%); }
.mockup-3 { background: linear-gradient(135deg, #2c1654 0%, #4a2080 50%, #6b3fa0 100%); }
.mockup-4 { background: linear-gradient(135deg, #7c1c1c 0%, #a83232 50%, #c94a4a 100%); }
.mockup-5 { background: linear-gradient(135deg, #0a3d62 0%, #1e5f8a 50%, #2980b9 100%); }

.fake-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}
.fake-nav-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.fake-nav-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; margin-left: 8px; }

.mockup-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.fake-hero-text { width: 70%; height: 8px; background: rgba(255,255,255,0.6); border-radius: 4px; margin-bottom: 6px; }
.fake-hero-sub { width: 50%; height: 5px; background: rgba(255,255,255,0.3); border-radius: 3px; margin-bottom: 14px; }
.fake-btn { width: 80px; height: 22px; border-radius: 100px; background: rgba(255,255,255,0.85); }

.fake-cards {
  position: absolute;
  bottom: 12px;
  left: 12px; right: 12px;
  display: flex;
  gap: 6px;
}
.fake-card { flex: 1; height: 28px; border-radius: 6px; background: rgba(255,255,255,0.12); }

.mockup-body { padding: 1.25rem; }
.mockup-industry {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.mockup-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 0.4rem;
}
.mockup-desc { font-size: 0.82rem; color: #718096; line-height: 1.5; }

.gallery-note {
  margin-top: 2.5rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(12,68,124,0.04), rgba(29,158,117,0.04));
  border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
  font-size: 0.92rem;
  color: #4a5568;
  line-height: 1.7;
  max-width: 700px;
}
.gallery-note strong { color: var(--ocean); }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  padding: 2.5rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.footer-logo span { color: var(--sand); }
.footer-sub { font-size: 0.8rem; color: rgba(255,255,255,0.35); letter-spacing: 1px; }
.footer-line { width: 40px; height: 2px; background: var(--sun); margin: 1rem auto; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .client-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .logo-wrap { flex-direction: column; text-align: center; }
  .logo-text { text-align: center; }
}
@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
