/* ============================================
   SERAMBI LABS - Landing Page Styles
   ============================================ */

/* CSS Variables */
:root {
  --primary: #1746d1;
  --primary-light: #3b6df0;
  --primary-mid: #2a56e8;
  --primary-pale: #eaf0ff;
  --bg: #f5f8ff;
  --surface: #ffffff;
  --text: #16213e;
  --text-muted: #5b6b8c;
  --text-light: #8d9bc0;
  --border: #dce5fa;
  --border-light: #edf2fc;

  --accent: #17b4d9;
  --accent-soft: rgba(23, 180, 217, 0.14);
  --violet: #7c6cf0;
  --violet-soft: rgba(124, 108, 240, 0.14);
  --gold: #f5a94e;

  --hero-bg-1: #eaf0ff;
  --hero-bg-2: #e1ecff;
  --navy-cta: #0b1640;

  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(18px);

  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  --shadow-sm: 0 1px 2px rgba(23, 70, 209, 0.05);
  --shadow-md: 0 6px 16px rgba(23, 70, 209, 0.08);
  --shadow-lg: 0 16px 40px rgba(23, 70, 209, 0.12);
  --shadow-xl: 0 28px 60px rgba(23, 70, 209, 0.16);

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 17px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

p {
  color: var(--text-muted);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-label::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  display: inline-block;
}

/* Glassmorphism utility */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.85rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-mid), var(--primary));
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary-mid);
  background: rgba(255, 255, 255, 0.8);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #f0c77e);
  color: #4a2c00;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(245, 169, 78, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(245, 169, 78, 0.4);
}

.btn-large {
  padding: 1.05rem 2.35rem;
  font-size: 1.05rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

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

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1001;
  padding: 5rem 2rem 2rem;
  box-shadow: var(--shadow-xl);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  border-bottom: 1px solid var(--border-light);
}

.mobile-menu .btn {
  margin-top: 1.5rem;
  width: 100%;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 22, 64, 0.35);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: flex;
  }
  .hamburger {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    160deg,
    var(--hero-bg-1) 0%,
    var(--hero-bg-2) 60%,
    #dce9ff 100%
  );
  overflow: hidden;
  padding-top: 80px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231746D1' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
}

.hero-glow.glow-1 {
  width: 420px;
  height: 420px;
  background: var(--accent);
  top: -120px;
  right: -100px;
}

.hero-glow.glow-2 {
  width: 340px;
  height: 340px;
  background: var(--violet);
  bottom: -100px;
  left: -80px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-mid);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.hero h1 span {
  position: relative;
  background: linear-gradient(90deg, var(--primary-mid), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 2rem;
  line-height: 1.85;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.hero-trust .check-icon {
  width: 22px;
  height: 22px;
  background: var(--accent-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.72rem;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.browser-mockup {
  width: 100%;
  max-width: 540px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(245, 248, 255, 0.6);
  border-bottom: 1px solid var(--border-light);
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red {
  background: #ef4444;
}
.browser-dot.yellow {
  background: #f59e0b;
}
.browser-dot.green {
  background: #10b981;
}

.browser-address {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  color: var(--text-light);
  border: 1px solid var(--border-light);
  margin-left: 0.5rem;
}

.browser-content {
  padding: 1.5rem;
  min-height: 280px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(234, 240, 255, 0.5) 100%
  );
}

.mockup-hero {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.mockup-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mockup-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
}

.mockup-links {
  display: flex;
  gap: 1rem;
}

.mockup-link {
  width: 30px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.mockup-hero-content {
  text-align: center;
  padding: 1.5rem 0;
}

.mockup-title {
  width: 70%;
  height: 14px;
  background: linear-gradient(90deg, var(--primary-mid), var(--accent));
  border-radius: 4px;
  margin: 0 auto 0.75rem;
}

.mockup-subtitle {
  width: 50%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin: 0 auto 1.25rem;
}

.mockup-btn {
  width: 100px;
  height: 28px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  margin: 0 auto;
}

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

.mockup-card {
  background: white;
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.mockup-card-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-soft);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.mockup-card-line {
  width: 80%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 0.35rem;
}

.mockup-card-line.short {
  width: 50%;
}

/* Floating Elements */
.float-card {
  position: absolute;
  border-radius: var(--radius-md);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.float-card.analytics {
  top: -10px;
  right: -10px;
  animation-delay: 0s;
}

.float-card.responsive {
  bottom: 30px;
  left: -20px;
  animation-delay: 2s;
}

.float-card.code {
  top: 50%;
  right: -30px;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent-soft), var(--violet-soft));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-mid);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.float-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.float-value {
  font-size: 0.68rem;
  color: var(--text-light);
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero-desc {
    font-size: 1.25rem;
  }
}

/* ============================================
   TRUST SECTION
   ============================================ */
.trust-section {
  padding: 4rem 0;
  background: white;
  border-bottom: 1px solid var(--border-light);
}

.trust-section h2 {
  text-align: center;
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
}

.trust-section > .container > p {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.3rem;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.trust-item:hover {
  border-color: var(--primary-mid);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trust-item i {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent-soft), var(--violet-soft));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-mid);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.trust-item span {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.15rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  .section-header h2 {
    font-size: 2.5rem;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-mid) 0%,
    var(--accent) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.98rem;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   WHY SECTION
   ============================================ */
.why-section {
  background: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.why-item:hover {
  background: var(--bg);
}

.why-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-mid), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  flex-shrink: 0;
  width: 42px;
}

.why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.98rem;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.pricing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}

.pricing-orb.orb-1 {
  width: 380px;
  height: 380px;
  background: var(--accent);
  top: -80px;
  left: -100px;
  animation: drift1 16s ease-in-out infinite;
}

.pricing-orb.orb-2 {
  width: 320px;
  height: 320px;
  background: var(--violet);
  bottom: -60px;
  right: -80px;
  animation: drift2 18s ease-in-out infinite;
}

.pricing-orb.orb-3 {
  width: 260px;
  height: 260px;
  background: var(--gold);
  top: 40%;
  left: 45%;
  opacity: 0.2;
  animation: drift3 20s ease-in-out infinite;
}

@keyframes drift1 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 40px) scale(1.15);
  }
}

@keyframes drift2 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-50px, -30px) scale(1.1);
  }
}

@keyframes drift3 {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-60%, -40%) scale(1.2);
  }
}

.pricing-section .container {
  position: relative;
  z-index: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

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

.pricing-card.featured {
  border: 1.5px solid transparent;
  background-image:
    linear-gradient(var(--glass-bg), var(--glass-bg)),
    linear-gradient(
      120deg,
      var(--primary-mid),
      var(--accent),
      var(--violet),
      var(--primary-mid)
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  background-size:
    100% 100%,
    300% 300%;
  animation: borderFlow 8s ease infinite;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@keyframes borderFlow {
  0% {
    background-position:
      0% 0%,
      0% 50%;
  }
  50% {
    background-position:
      0% 0%,
      100% 50%;
  }
  100% {
    background-position:
      0% 0%,
      0% 50%;
  }
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--primary-mid), var(--accent));
  color: white;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.pricing-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 0.25rem;
}

.pricing-price.contact {
  font-size: 1.6rem;
}

.pricing-target {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.pricing-features {
  flex: 1;
  margin-bottom: 1.5rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.pricing-features li i {
  color: var(--accent);
  font-size: 0.82rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
}

.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .pricing-card.featured {
    transform: scale(1.04);
  }
  .pricing-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
  }
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-section {
  background: white;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--border),
    var(--accent),
    var(--border)
  );
}

.process-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  position: relative;
}

.process-step:first-child {
  padding-top: 0;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-number {
  width: 52px;
  height: 52px;
  background: white;
  border: 2px solid var(--primary-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-mid);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step.active .process-number {
  background: linear-gradient(135deg, var(--primary-mid), var(--accent));
  color: white;
  border-color: transparent;
}

.process-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.process-content p {
  font-size: 0.98rem;
  line-height: 1.75;
}

@media (min-width: 768px) {
  .process-timeline {
    flex-direction: row;
    gap: 2rem;
  }
  .process-timeline::before {
    left: 0;
    right: 0;
    top: 26px;
    width: auto;
    height: 2px;
    background: linear-gradient(
      to right,
      var(--border),
      var(--accent),
      var(--border)
    );
  }
  .process-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    gap: 1rem;
  }
  .process-number {
    margin-bottom: 0.5rem;
  }
}

/* ============================================
   USE CASE SECTION
   ============================================ */
.usecase-section {
  background: var(--bg);
}

.usecase-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.usecase-tab {
  padding: 0.65rem 1.3rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}

.usecase-tab:hover {
  border-color: var(--primary-mid);
  color: var(--primary);
}

.usecase-tab.active {
  background: linear-gradient(90deg, var(--primary-mid), var(--accent));
  color: white;
  border-color: transparent;
}

.usecase-content {
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  display: none;
}

.usecase-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.usecase-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.usecase-content h3 i {
  color: var(--accent);
  font-size: 1.15rem;
}

.usecase-content p {
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
  background: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.portfolio-item {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

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

.portfolio-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--hero-bg-1) 0%, #dce5fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231746D1' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.portfolio-thumb i {
  font-size: 2.6rem;
  color: var(--primary-mid);
  opacity: 0.35;
}

.portfolio-info {
  padding: 1.5rem;
}

.portfolio-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-mid);
  background: var(--accent-soft);
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
}

.portfolio-coming {
  text-align: center;
  width: 100%;
  padding: 3rem 2rem;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}

.portfolio-coming i {
  font-size: 2.6rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  opacity: 0.5;
}

.portfolio-coming h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   TRUST PRINCIPLES SECTION
   ============================================ */
.principles-section {
  background: var(--bg);
}

.principles-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.principles-content h2 {
  font-size: 1.9rem;
  margin-bottom: 1.25rem;
}

.principles-content > p {
  font-size: 1.1rem;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.principles-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.principle-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.principle-step .step-box {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.principle-step .step-box i {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.principle-step .step-box span {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
}

.principle-arrow {
  color: var(--accent);
  font-size: 1.1rem;
  opacity: 0.7;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-mid);
}

.faq-question i {
  color: var(--accent);
  font-size: 0.82rem;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.cta-section {
  background: var(--navy-cta);
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10S10 15.523 10 10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(23, 180, 217, 0.25),
    transparent 70%
  );
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  color: white;
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.cta-section > .container > p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.cta-buttons .btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-accent-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--violet));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Contact card inside CTA */
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.contact-card-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-align: left;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: left;
}

.contact-card-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-card-key {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.15rem;
}

.contact-card-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: white;
  transition: var(--transition);
}

a.contact-card-value:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .contact-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--primary);
  background: linear-gradient(160deg, var(--primary) 0%, #0f2c8f 100%);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 0.75rem;
}

.footer-brand .logo-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--primary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-links h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-contact h4 {
  color: white;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  padding: 0.35rem 0;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: white;
}

.footer-contact i {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

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

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-mid);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .pricing-orb,
  .float-card,
  .hero-badge .dot,
  .pricing-card.featured {
    animation: none !important;
  }
  .reveal {
    transition: none;
  }
}

/* ============================================
   SUPER RESPONSIVE SYSTEM
   Serambi Labs
   ============================================ */

/* ---------- Global Responsive Safety ---------- */

html {
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(100% - 32px, 1200px);
  padding-left: 0;
  padding-right: 0;
}

/* ============================================
   EXTRA SMALL DEVICES
   320px - 359px
   ============================================ */

@media (max-width: 359px) {
  html {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .navbar {
    padding: 0.7rem 0;
  }

  .navbar.scrolled {
    padding: 0.55rem 0;
  }

  .logo {
    font-size: 1.05rem;
    gap: 0.4rem;
  }

  .logo-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .hamburger {
    padding: 0.4rem;
  }

  .hamburger span {
    width: 22px;
  }

  .mobile-menu {
    width: 88%;
    padding: 4.5rem 1.25rem 1.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 4rem;
  }

  .hero .container {
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2.15rem;
    line-height: 1.12;
  }

  .hero-desc {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-trust {
    align-items: flex-start;
    font-size: 0.78rem;
  }

  .browser-content {
    padding: 0.75rem;
    min-height: 200px;
  }

  .browser-header {
    padding: 0.55rem 0.7rem;
  }

  .browser-dot {
    width: 7px;
    height: 7px;
  }

  .browser-address {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .mockup-hero {
    padding: 0.9rem;
  }

  .mockup-grid {
    gap: 0.4rem;
  }

  .mockup-card {
    padding: 0.5rem;
  }

  .float-card {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .portfolio-info {
    padding: 1.1rem;
  }

  .portfolio-info h3 {
    font-size: 0.98rem;
  }

  .portfolio-tag {
    font-size: 0.7rem;
  }

  .pricing-card {
    padding: 2rem 1.25rem;
  }

  .pricing-price {
    font-size: 2rem;
  }

  .pricing-features li {
    font-size: 0.84rem;
  }

  .process-step {
    gap: 0.9rem;
  }

  .process-number {
    width: 44px;
    height: 44px;
    font-size: 0.9rem;
  }

  .process-timeline::before {
    left: 21px;
  }

  .usecase-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }

  .usecase-tabs::-webkit-scrollbar {
    display: none;
  }

  .usecase-tab {
    flex: 0 0 auto;
    font-size: 0.78rem;
    padding: 0.55rem 0.9rem;
  }

  .usecase-content {
    padding: 1.5rem;
  }

  .usecase-content h3 {
    font-size: 1.15rem;
  }

  .usecase-content p {
    font-size: 0.92rem;
  }

  .principles-steps {
    flex-direction: column;
  }

  .principle-arrow {
    transform: rotate(90deg);
  }

  .principle-step .step-box {
    width: 74px;
    height: 74px;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-section h2 {
    font-size: 1.9rem;
  }

  .cta-section > .container > p {
    font-size: 0.95rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .contact-card-value {
    font-size: 0.88rem;
    overflow-wrap: anywhere;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }
}

/* ============================================
   SMALL MOBILE
   360px - 479px
   ============================================ */

@media (min-width: 360px) and (max-width: 479px) {
  .container {
    width: min(100% - 28px, 1200px);
  }

  .hero {
    min-height: auto;
    padding-top: 105px;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 2.7rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
  }

  .browser-mockup {
    width: 100%;
  }

  .float-card {
    transform: scale(0.75);
  }

  .float-card.analytics {
    right: -5px;
  }

  .float-card.responsive {
    left: -8px;
    bottom: 10px;
  }

  .float-card.code {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .why-grid {
    gap: 1rem;
  }

  .service-card,
  .portfolio-item,
  .pricing-card {
    border-radius: 16px;
  }

  .process-step {
    gap: 1rem;
  }

  .usecase-content {
    padding: 1.75rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

/* ============================================
   MOBILE GENERAL
   max-width: 639px
   ============================================ */

@media (max-width: 639px) {
  .btn {
    min-height: 46px;
    padding: 0.8rem 1.25rem;
    font-size: 0.92rem;
  }

  .btn-large {
    min-height: 50px;
    padding: 0.9rem 1.5rem;
  }

  /* Navbar */

  .navbar .container {
    min-height: 42px;
  }

  .mobile-menu {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mobile-menu a {
    padding: 0.9rem 0;
  }

  /* Hero */

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 9vw, 2.75rem);
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-visual {
    margin-top: 0.5rem;
  }

  .browser-mockup {
    max-width: 100%;
  }

  .browser-content {
    min-height: 230px;
  }

  /* Trust */

  .trust-section {
    padding: 3rem 0;
  }

  .trust-section h2 {
    font-size: 1.4rem;
  }

  .trust-section > .container > p {
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .trust-item {
    padding: 0.9rem 1rem;
  }

  /* Sections */

  .section {
    padding: 4rem 0;
  }

  .section-header {
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 7vw, 2.15rem);
  }

  .section-header p {
    font-size: 0.98rem;
  }

  /* Services */

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.7rem;
  }

  /* Why */

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    padding: 1.1rem 0;
  }

  /* Pricing */

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    width: 100%;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .pricing-badge {
    top: -12px;
  }

  /* Process */

  .process-timeline {
    width: 100%;
  }

  .process-timeline::before {
    left: 25px;
  }

  .process-step {
    padding: 1.25rem 0;
  }

  .process-content {
    min-width: 0;
  }

  .process-content h3 {
    font-size: 1.05rem;
  }

  .process-content p {
    font-size: 0.9rem;
  }

  /* Use Case */

  .usecase-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: 0.2rem 0.1rem 0.75rem;
  }

  .usecase-tabs::-webkit-scrollbar {
    display: none;
  }

  .usecase-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .usecase-content {
    padding: 1.75rem;
    border-radius: 18px;
  }

  /* Portfolio */

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-thumb {
    aspect-ratio: 16 / 9;
  }

  .portfolio-thumb i {
    font-size: 2.2rem;
  }

  /* Principles */

  .principles-content h2 {
    font-size: 1.7rem;
  }

  .principles-content > p {
    font-size: 0.98rem;
  }

  .principles-steps {
    flex-direction: column;
    gap: 0.75rem;
  }

  .principle-arrow {
    transform: rotate(90deg);
  }

  /* FAQ */

  .faq-question {
    font-size: 0.95rem;
    gap: 0.75rem;
  }

  .faq-question i {
    margin-left: 0.5rem;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  /* CTA */

  .cta-section {
    padding: 4.5rem 0;
  }

  .cta-section h2 {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .cta-section > .container > p {
    font-size: 0.98rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card-item {
    align-items: flex-start;
  }

  .contact-card-value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-bottom {
    gap: 0.75rem;
  }
}

/* ============================================
   LARGE MOBILE / PHABLET
   480px - 639px
   ============================================ */

@media (min-width: 480px) and (max-width: 639px) {
  .container {
    width: min(100% - 40px, 1200px);
  }

  .hero h1 {
    font-size: 2.9rem;
  }

  .hero-ctas {
    flex-direction: row;
  }

  .hero-ctas .btn {
    width: auto;
    flex: 1;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2.25rem 1.75rem;
  }

  .contact-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   TABLET PORTRAIT
   640px - 767px
   ============================================ */

@media (min-width: 640px) and (max-width: 767px) {
  .container {
    width: min(100% - 48px, 1200px);
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 5rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-desc {
    font-size: 1.08rem;
  }

  .hero-ctas .btn {
    min-width: 160px;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .browser-mockup {
    max-width: 580px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .contact-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   TABLET LANDSCAPE
   768px - 1023px
   ============================================ */

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    width: min(100% - 64px, 1200px);
  }

  .navbar {
    padding: 0.85rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 6rem;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas,
  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    max-width: 700px;
    margin: 0 auto;
  }

  .browser-mockup {
    max-width: 680px;
  }

  .float-card.analytics {
    right: -15px;
  }

  .float-card.responsive {
    left: -15px;
  }

  .float-card.code {
    right: -20px;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .pricing-card {
    padding: 2rem 1.25rem;
  }

  .pricing-card.featured {
    transform: scale(1.02);
  }

  .pricing-card.featured:hover {
    transform: scale(1.02) translateY(-5px);
  }

  .contact-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   DESKTOP
   1024px - 1279px
   ============================================ */

@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    width: min(100% - 80px, 1200px);
  }

  .hero .container {
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 4vw, 3.5rem);
  }

  .nav-links {
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   LARGE DESKTOP
   1280px+
   ============================================ */

@media (min-width: 1280px) {
  .container {
    width: min(100% - 96px, 1240px);
    max-width: 1240px;
  }

  .hero .container {
    gap: 5rem;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-desc {
    font-size: 1.2rem;
  }

  .services-grid {
    gap: 1.75rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .pricing-grid {
    max-width: 1080px;
    gap: 1.75rem;
  }
}

/* ============================================
   ULTRA WIDE
   1440px+
   ============================================ */

@media (min-width: 1440px) {
  .container {
    width: min(100% - 120px, 1320px);
    max-width: 1320px;
  }

  .hero .container {
    gap: 6rem;
  }

  .hero h1 {
    font-size: 4.25rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   LANDSCAPE MOBILE
   ============================================ */

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 3rem;
  }

  .hero .container {
    gap: 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-desc {
    margin-bottom: 1.25rem;
  }

  .hero-ctas {
    margin-bottom: 1rem;
  }

  .hero-visual {
    max-width: 480px;
  }

  .browser-content {
    min-height: 200px;
  }

  .float-card {
    display: none;
  }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATION
   ============================================ */

@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .portfolio-item:hover,
  .pricing-card:hover,
  .trust-item:hover,
  .why-item:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .nav-links a::after {
    display: none;
  }

  .usecase-tab,
  .faq-question,
  .btn,
  .hamburger {
    min-height: 44px;
  }
}

/* ============================================
   PREVENT TEXT / URL OVERFLOW
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li {
  overflow-wrap: break-word;
}

.contact-card-value,
.footer-contact a,
.footer-links a {
  overflow-wrap: anywhere;
}

/* ============================================
   SAFER ANIMATIONS ON SMALL DEVICES
   ============================================ */

@media (max-width: 767px) {
  .hero-glow.glow-1 {
    width: 260px;
    height: 260px;
    right: -130px;
    top: -80px;
  }

  .hero-glow.glow-2 {
    width: 220px;
    height: 220px;
    left: -110px;
    bottom: -70px;
  }

  .pricing-orb.orb-1 {
    width: 220px;
    height: 220px;
  }

  .pricing-orb.orb-2 {
    width: 200px;
    height: 200px;
  }

  .pricing-orb.orb-3 {
    width: 160px;
    height: 160px;
  }
}

/* ============================================
   ACCESSIBILITY / REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
