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

:root {
  --navy: #0c1e3c;
  --navy-mid: #122d56;
  --teal: #0891b2;
  --teal-light: #22d3ee;
  --teal-soft: #ecfeff;
  --white: #ffffff;
  --gray-bg: #f8fafc;
  --gray-mid: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(12,30,60,0.08);
  --shadow-lg: 0 12px 48px rgba(12,30,60,0.15);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: 'Syne', sans-serif; line-height: 1.15; }

/* ===== NAV ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.3s;
}

#header.scrolled {
  background: rgba(12,30,60,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: var(--teal-light); }

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

nav ul li a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 9px 20px !important;
}

.nav-cta:hover { background: var(--teal-light) !important; color: var(--navy) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2d5a 50%, #0c2040 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(8,145,178,0.2);
  border: 1px solid rgba(34,211,238,0.3);
  color: var(--teal-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 24px;
  max-width: 700px;
}

.hero h1 .accent { color: var(--teal-light); }

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.btn-primary:hover {
  background: var(--teal-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(8,145,178,0.4);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--teal-light);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  bottom: -100px;
  right: 200px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--white);
  top: 40%;
  left: 60%;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 24px; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--gray-bg); }

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-head { text-align: center; margin-bottom: 60px; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-label.light { color: var(--teal-light); }

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

h2.light { color: var(--white); }

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.section-sub.light { color: rgba(255,255,255,0.55); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
}

.about-text h2 { margin-bottom: 20px; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-points { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

.point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 20px;
}

.about-card h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 4px;
}

.about-role { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 24px; }

.about-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 24px;
}

.about-contact-link {
  display: block;
  font-size: 0.85rem;
  color: var(--teal-light);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.about-contact-link:hover { color: var(--white); }

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

.service-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}

.service-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
  border-color: rgba(34,211,238,0.2);
}

.service-card.featured {
  background: rgba(8,145,178,0.12);
  border-color: rgba(34,211,238,0.25);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon { font-size: 2rem; margin-bottom: 16px; }

.service-card h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 28px;
}

.service-list li {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal-light);
  font-size: 0.75rem;
}

.service-tag {
  display: inline-block;
  background: rgba(34,211,238,0.1);
  color: var(--teal-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(34,211,238,0.2);
}

/* ===== PORTFOLIO ===== */
.portfolio-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  align-items: center;
  padding: 48px;
  margin-bottom: 32px;
}

/* CSS browser mockup */
.portfolio-preview {
  background: #1e2030;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.browser-bar {
  background: #2a2d3e;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.browser-dots { display: flex; gap: 5px; }
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}
.browser-dots span:nth-child(2) { background: #febc2e; }
.browser-dots span:nth-child(3) { background: #28c840; }

.browser-url {
  background: #1e2030;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 4px;
  flex: 1;
  font-family: monospace;
}

.browser-body { padding: 0; }

.mock-nav {
  height: 40px;
  background: #0c1e3c;
  border-bottom: 2px solid #8dc63f;
}

.mock-hero {
  height: 100px;
  background: linear-gradient(135deg, #0c1e3c, #1a3a6b);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-content {
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  gap: 8px;
  padding: 12px;
  background: #f8fafc;
}

.mock-block {
  background: #e2e8f0;
  border-radius: 4px;
  height: 60px;
}

.mock-block.tall { height: 100px; }
.mock-block.short { height: 44px; }

.mock-side { display: flex; flex-direction: column; gap: 8px; }

.portfolio-tag {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.portfolio-info h3 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 14px;
}

.portfolio-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.portfolio-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.portfolio-features span {
  background: var(--gray-mid);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.portfolio-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.portfolio-note a { color: var(--teal); text-decoration: none; font-weight: 600; }
.portfolio-note a:hover { text-decoration: underline; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(8,145,178,0.08), var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 12px;
}

.price {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1;
}

.price span {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.pricing-card ul li {
  font-size: 0.875rem;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}

.pricing-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

.btn-outline-dark {
  display: block;
  text-align: center;
  background: transparent;
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-dark:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}

.pricing-card .btn-primary { display: block; text-align: center; }

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.pricing-note a { color: var(--teal); font-weight: 600; text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }

.contact-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-methods { display: flex; flex-direction: column; gap: 16px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--gray-bg);
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.contact-method:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  transform: translateX(4px);
}

.contact-icon { font-size: 1.4rem; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

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

.contact-form .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  margin-top: 4px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  background: var(--teal-soft);
  border: 1px solid rgba(8,145,178,0.2);
  border-radius: 8px;
  color: var(--teal);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.footer-top { margin-bottom: 24px; }
.footer-top p {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { max-width: 360px; }
  .portfolio-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 2px solid var(--teal);
    gap: 4px;
  }

  nav ul.open { display: flex; }
  .hamburger { display: flex; }

  .hero-btns { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-stats { gap: 28px; }
  .section { padding: 70px 24px; }
}

@media (max-width: 480px) {
  .pricing-card { padding: 32px 24px; }
  .contact-form { padding: 28px 20px; }
}
