/* =========================================
   SFT WITH SHEHAN — Landing Page Styles
   Liquid Glass • Blue / Orange / Login Red
   ========================================= */

/* ============ THEME VARIABLES ============ */
:root {
  --bg-color: #eef2fb;
  --blob-1: #3b82f6;
  --blob-2: #f97316;
  --blob-3: #8f2c24;
  
  /* ★ PC එකේදී පාට තද වැඩි නිසා opacity එක 0.35 ට අඩු කළා */
  --blob-opacity: 0.35; 

  --glass-bg: rgba(255, 255, 255, 0.22);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: rgba(31, 38, 135, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.85);
  --glass-caustic: rgba(255, 255, 255, 0.4);

  --text-main: #0f172a;
  --text-soft: rgba(15, 23, 42, 0.62);

  --card-bg: rgba(255, 255, 255, 0.35);
  --card-border: rgba(255, 255, 255, 0.55);

  --blue: #2563eb;
  --blue-soft: #3b82f6;
  --orange: #f97316;
  --orange-soft: #fb923c;
  --red: #8f2c24;
  --red-soft: #d64c42;

  --grad-main: linear-gradient(135deg, #2563eb, #8f2c24 55%, #f97316);
  --grad-hero: linear-gradient(135deg, #3b82f6 0%, #8f2c24 45%, #f97316 100%);
  --grad-btn: linear-gradient(135deg, #2563eb, #8f2c24 55%, #f97316 100%);

  --divider: rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] {
  --bg-color: #050a1a;
  --blob-1: #2563eb;
  --blob-2: #fb923c;
  --blob-3: #d64c42;
  
  /* ★ Dark mode එකේදීත් පාට ලා කළා */
  --blob-opacity: 0.25; 

  --glass-bg: rgba(30, 35, 55, 0.42);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-shadow: rgba(0, 0, 0, 0.75);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --glass-caustic: rgba(255, 255, 255, 0.06);

  --text-main: #f5f7fb;
  --text-soft: rgba(245, 247, 251, 0.6);

  --card-bg: rgba(40, 45, 65, 0.45);
  --card-border: rgba(255, 255, 255, 0.14);

  --blue: #60a5fa;
  --blue-soft: #93c5fd;
  --orange: #fb923c;
  --orange-soft: #fdba74;
  --red: #d64c42;
  --red-soft: #f87171;

  --grad-main: linear-gradient(135deg, #60a5fa, #d64c42 55%, #fb923c);
  --grad-hero: linear-gradient(135deg, #93c5fd 0%, #d64c42 45%, #fb923c 100%);
  --grad-btn: linear-gradient(135deg, #2563eb, #d64c42 55%, #fb923c 100%);

  --divider: rgba(255, 255, 255, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.6s ease, color 0.4s ease;
  min-height: 100vh;
}

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

a { color: inherit; }

/* ============ BACKGROUND MESH ============ */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--bg-color);
  transition: background 0.6s ease;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  /* ★ පාට තව ටිකක් සොෆ්ට් කරන්න blur එක 110px කළා */
  filter: blur(110px); 
  opacity: var(--blob-opacity);
  animation: blobFloat 22s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
  will-change: transform;
  transition: background 0.6s ease, opacity 0.6s ease;
}

.blob-1 { width: 46vw; height: 46vw; top: -12%; left: -12%; background: var(--blob-1); }
.blob-2 { width: 42vw; height: 42vw; bottom: -12%; right: -12%; background: var(--blob-2); animation-delay: -8s; }
.blob-3 { width: 34vw; height: 34vw; top: 32%; left: 42%; background: var(--blob-3); animation-delay: -15s; }

@keyframes blobFloat {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  33%  { transform: translate(4%, 8%) scale(1.05) rotate(4deg); }
  66%  { transform: translate(-4%, 4%) scale(0.96) rotate(-4deg); }
  100% { transform: translate(0, -8%) scale(1.08) rotate(0deg); }
}

/* ============ TOP NAV ============ */
.topbar-wrap {
  position: sticky;
  top: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  margin-bottom: 20px;
}

.liquid-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 20px;
  width: 100%;
  max-width: 1200px;
  border-radius: 99px;
  background: var(--glass-bg);
  backdrop-filter: blur(50px) saturate(200%);
  -webkit-backdrop-filter: blur(50px) saturate(200%);
  box-shadow:
    0 24px 50px -20px var(--glass-shadow),
    0 8px 20px -8px var(--glass-shadow),
    inset 0 2px 3px -1px var(--glass-highlight),
    inset 0 -2px 4px -1px var(--glass-caustic),
    inset 0 0 0 1px var(--glass-border);
  transition: all 0.5s ease;
}

/* ---- Brand ---- */
.brand {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: -0.4px;
  z-index: 2;
  flex-shrink: 0;
}

.brand-text {
  font-weight: 800;
  color: var(--text-main);
}

.brand-sub {
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Nav links ---- */
.nav-items {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
  z-index: 2;
}

.nav-link {
  padding: 9px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.15);
}

.nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .nav-link.active {
  background: rgba(255, 255, 255, 0.1);
}

.nav-signup-mobile {
  display: none;
}

/* ---- Right side ---- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  flex-shrink: 0;
}

.signup-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--grad-btn);
  background-size: 200% 200%;
  box-shadow:
    0 10px 22px -10px rgba(37, 99, 235, 0.65),
    inset 0 1px 2px rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  white-space: nowrap;
}

.signup-btn:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow:
    0 14px 28px -10px rgba(37, 99, 235, 0.8),
    inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.signup-btn svg {
  transition: transform 0.3s ease;
}

.signup-btn:hover svg {
  transform: translateX(2px);
}

/* Theme Toggle */
.theme-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.tb-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 62px;
  height: 34px;
  padding: 4px 6px;
  border-radius: 99px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.45),
    0 4px 12px -6px var(--glass-shadow);
  transition: background 0.4s ease;
}

.tb-sun, .tb-moon {
  position: relative;
  z-index: 2;
  width: 14px;
  height: 14px;
  color: var(--text-soft);
  transition: color 0.35s ease, opacity 0.35s ease;
}

[data-theme="light"] .tb-sun  { color: #f59e0b; }
[data-theme="dark"]  .tb-moon { color: #93c5fd; }

.tb-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  box-shadow:
    0 4px 12px -2px rgba(249, 115, 22, 0.7),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  transition:
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.4s ease,
    box-shadow 0.4s ease;
  z-index: 1;
}

[data-theme="dark"] .tb-thumb {
  transform: translateX(28px);
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  box-shadow:
    0 4px 12px -2px rgba(37, 99, 235, 0.7),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Profile */
.profile-wrap {
  position: relative;
  flex-shrink: 0;
}

.profile-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-main);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  -webkit-tap-highlight-color: transparent;
}

.profile-btn:hover {
  color: var(--blue);
  border-color: color-mix(in srgb, var(--blue) 45%, var(--glass-border));
  transform: translateY(-1px);
}

.profile-pop {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 280px;
  padding: 14px;
  border-radius: 22px;
  background: var(--glass-bg);
  backdrop-filter: blur(45px) saturate(200%);
  -webkit-backdrop-filter: blur(45px) saturate(200%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 30px 60px -15px var(--glass-shadow),
    inset 0 1px 2px -1px var(--glass-highlight);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.94);
  transform-origin: top right;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1), visibility 0.3s;
  z-index: 200;
}

.profile-wrap.open .profile-pop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.profile-pop-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 14px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--divider);
}

.profile-mini-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 8px 18px -8px rgba(37, 99, 235, 0.6);
  flex-shrink: 0;
}

.profile-pop-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.profile-pop-meta span {
  font-size: 12px;
  color: var(--text-soft);
  font-weight: 500;
}

.profile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 8px;
}

.profile-action:last-child { margin-bottom: 0; }

.profile-action.primary {
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 10px 22px -10px rgba(37, 99, 235, 0.65);
}

.profile-action.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -10px rgba(37, 99, 235, 0.85);
}

.profile-action.ghost {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--glass-border);
}

.profile-action.ghost:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Hamburger Menu */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  cursor: pointer;
  z-index: 200;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
  transform-origin: center;
}

.hamburger-btn.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============ PAGE CONTAINER ============ */
.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 60px;
}

/* ============ HERO ============ */
.hero {
  padding: 40px 0 60px;
}

.hero-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 560px;
  animation: fadeUp 0.9s 0.2s both cubic-bezier(0.34, 1.2, 0.64, 1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--text-main);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulseDot 2s ease-out infinite;
}

@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: clamp(32px, 5.5vw, 62px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.05;
  margin-bottom: 18px;
  color: var(--text-main);
}

.grad {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradShift 6s ease infinite;
}

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

.hero-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-sub strong {
  color: var(--text-main);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  background-size: 200% 200%;
  box-shadow:
    0 16px 34px -14px rgba(37, 99, 235, 0.7),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow:
    0 22px 42px -16px rgba(37, 99, 235, 0.85),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-ghost {
  color: var(--text-main);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 14px 28px -14px var(--glass-shadow);
}

[data-theme="dark"] .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-large {
  padding: 16px 32px;
  font-size: 15.5px;
  border-radius: 16px;
}

.hero-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat strong {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.6px;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-stat span {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* ============ 3D LAPTOP SCENE ============ */
.device-scene {
  position: relative;
  height: 480px;
  perspective: 2000px;
  perspective-origin: center;
  --rot-x: 0deg;
  --rot-y: 0deg;
}

.scene-glow {
  position: absolute;
  inset: 12% 8%;
  background: var(--grad-hero);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: glowPulse 5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1);   opacity: 0.4; }
  50%      { transform: scale(1.1); opacity: 0.55; }
}

.laptop-float {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -210px;
  margin-top: -130px;
  width: 420px;
  transform-style: preserve-3d;
  animation: laptopFloat 6s ease-in-out infinite;
}

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

.laptop {
  width: 100%;
  transform-style: preserve-3d;
  transform: rotateY(calc(-14deg + var(--rot-y)))
             rotateX(calc(6deg + var(--rot-x)))
             rotateZ(-2deg);
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.laptop-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #14161f;
  border-radius: 12px;
  padding: 8px;
  box-shadow:
    0 40px 80px -30px rgba(37, 99, 235, 0.5),
    0 20px 40px -20px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
}

.laptop-base {
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, #2a2d3a, #1a1c26);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
  position: relative;
  margin-top: -1px;
}

.laptop-base::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 4px;
  background: linear-gradient(to bottom, #2a2d3a, #1a1c26);
  border-radius: 4px;
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, 0.55);
}

/* Browser bar */
.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  background: #eef0f5;
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.b-dot { width: 8px; height: 8px; border-radius: 50%; }
.b-dot.red    { background: #ff5f57; }
.b-dot.yellow { background: #febc2e; }
.b-dot.green  { background: #28c840; }

.browser-url {
  flex: 1;
  height: 14px;
  margin-left: 8px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.2px;
  overflow: hidden;
  white-space: nowrap;
}

/* LMS UI */
.lms-ui {
  width: 100%;
  height: calc(100% - 26px);
  background: linear-gradient(135deg, #f0f4ff 0%, #fef2f8 60%, #fff7ed 100%);
  border-radius: 0 0 6px 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.lms-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.lms-logo {
  font-size: 9px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #8f2c24 55%, #f97316);
  letter-spacing: 0.5px;
}

.lms-nav {
  display: flex;
  gap: 4px;
}

.lms-nav i {
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.25);
}

.lms-welcome {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lms-welcome-title {
  width: 60%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, #2563eb, #f97316);
}

.lms-welcome-sub {
  width: 40%;
  height: 4px;
  border-radius: 2px;
  background: rgba(15, 23, 42, 0.2);
}

.lms-progress {
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.lms-progress-fill {
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #f97316);
  border-radius: 3px;
  animation: progressGrow 3s ease-in-out infinite alternate;
}

@keyframes progressGrow {
  0%   { width: 55%; }
  100% { width: 78%; }
}

.lms-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.lms-card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lms-card-ic {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, #2563eb, #f97316);
}

.lms-card-line {
  height: 2px;
  background: rgba(15, 23, 42, 0.2);
  border-radius: 1px;
}

.lms-card-line.short { width: 60%; }

/* Floating chips */
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 12px 28px -12px var(--glass-shadow),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  z-index: 5;
}

.float-chip svg { color: var(--blue); flex-shrink: 0; }

.fc-1 { top: 6%; left: 2%; animation: chipFloat 5s ease-in-out infinite; }
.fc-2 { top: 20%; right: 0; animation: chipFloat 5s ease-in-out infinite 1s; }
.fc-3 { bottom: 22%; left: -4%; animation: chipFloat 5s ease-in-out infinite 2s; }
.fc-4 { bottom: 8%; right: 2%; animation: chipFloat 5s ease-in-out infinite 3s; }

.fc-1 svg { color: #3b82f6; }
.fc-2 svg { color: #10b981; }
.fc-3 svg { color: #f59e0b; }
.fc-4 svg { color: #8f2c24; }

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

/* ============ ABOUT SECTION ============ */
.about {
  padding: 80px 0 60px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Shehan visual */
.shehan-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 460px;
  animation: fadeUp 0.9s 0.4s both cubic-bezier(0.34, 1.2, 0.64, 1);
}

.shehan-glow {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: var(--grad-hero);
  filter: blur(50px);
  opacity: 0.4;
  animation: glowPulse 4s ease-in-out infinite;
}

.shehan-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 2px dashed color-mix(in srgb, var(--blue) 35%, transparent);
  animation: spinRing 25s linear infinite;
}

.shehan-ring::before,
.shehan-ring::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad-btn);
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(249, 115, 22, 0.7);
}

.shehan-ring::after {
  top: auto;
  bottom: -6px;
  background: linear-gradient(135deg, #3b82f6, #8f2c24);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.7);
}

@keyframes spinRing {
  to { transform: rotate(360deg); }
}

.shehan-photo-wrap {
  position: relative;
  width: 300px;
  height: 380px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #2563eb, #8f2c24 55%, #f97316);
  box-shadow:
    0 40px 80px -30px rgba(37, 99, 235, 0.5),
    0 20px 40px -20px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  animation: photoFloat 5s ease-in-out infinite;
  z-index: 2;
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-14px) rotate(1deg); }
}

.shehan-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.shehan-photo-wrap:hover .shehan-photo {
  transform: scale(1.05);
}

.shehan-photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font-size: 84px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -3px;
}

.photo-fallback .shehan-photo-fallback { display: grid; }

/* Floating badges */
.float-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 12px 26px -12px var(--glass-shadow),
    inset 0 1px 2px rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  z-index: 3;
}

.fb-emoji { font-size: 14px; line-height: 1; }

.fb-1 { top: 8%; left: -5%; animation: badgeFloat 6s ease-in-out infinite; }
.fb-2 { top: 40%; right: -8%; animation: badgeFloat 6s ease-in-out infinite 1.5s; }
.fb-3 { bottom: 10%; left: -3%; animation: badgeFloat 6s ease-in-out infinite 3s; }

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-10px) scale(1.05); }
}

/* About text */
.about-text {
  animation: fadeUp 0.9s 0.6s both cubic-bezier(0.34, 1.2, 0.64, 1);
}

.about-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-bottom: 16px;
}

.about-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-main);
}

.about-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.about-bio strong {
  color: var(--text-main);
  font-weight: 700;
}

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

.about-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.about-detail:hover {
  transform: translateX(4px);
}

.ad-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  flex-shrink: 0;
}

.ad-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ad-txt strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.ad-txt span {
  font-size: 12.5px;
  color: var(--text-soft);
}

/* ============ FEATURES ============ */
.features {
  padding: 80px 0 60px;
}

.features-head {
  text-align: center;
  margin-bottom: 46px;
  animation: fadeUp 0.9s both cubic-bezier(0.34, 1.2, 0.64, 1);
}

.features-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
  color: var(--text-main);
}

.features-head p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow:
    0 20px 40px -22px var(--glass-shadow),
    inset 0 1px 2px -1px var(--glass-highlight);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  animation: fadeUp 0.9s var(--delay, 0s) both cubic-bezier(0.34, 1.2, 0.64, 1);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%,
    color-mix(in srgb, var(--c) 22%, transparent),
    transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--c) 40%, var(--card-border));
  box-shadow:
    0 30px 50px -22px var(--glass-shadow),
    0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent),
    inset 0 1px 2px -1px var(--glass-highlight);
}

.feature-card:hover::before { opacity: 1; }

.feature-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 15%, transparent);
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.feature-card:hover .feature-ic {
  transform: scale(1.1) rotate(-6deg);
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-main);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* ============ CTA SECTION ============ */
.cta-section {
  padding: 80px 0 40px;
}

.cta-inner {
  text-align: center;
  padding: 60px 32px;
  border-radius: 32px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    0 30px 60px -30px var(--glass-shadow),
    inset 0 1px 2px -1px var(--glass-highlight);
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%,
    color-mix(in srgb, var(--blue) 18%, transparent), transparent 45%),
    radial-gradient(circle at 70% 70%,
    color-mix(in srgb, var(--orange) 18%, transparent), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.cta-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid var(--card-border);
  margin-bottom: 18px;
}

[data-theme="dark"] .cta-badge {
  background: rgba(255, 255, 255, 0.08);
}

.cta-inner h2 {
  font-size: clamp(28px, 4.4vw, 44px);
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--text-main);
}

.cta-inner p {
  font-size: 16px;
  color: var(--text-soft);
  margin-bottom: 26px;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-hint {
  font-size: 12.5px !important;
  color: var(--text-soft);
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  opacity: 0.85;
}

/* ============ FOOTER ============ */
.site-footer {
  margin-top: 60px;
  padding: 40px 24px 20px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  height: 1px;
  background: var(--divider);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 32px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  font-size: 16px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.footer-social:hover {
  transform: translateY(-3px);
  color: #fff;
  background: var(--c);
  border-color: var(--c);
  box-shadow: 0 10px 20px -8px var(--c);
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col h4 {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 4px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-link:hover {
  color: var(--text-main);
  transform: translateX(3px);
}

.footer-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
}

.footer-credit {
  font-size: 12.5px;
  color: var(--text-soft);
  font-weight: 500;
}

.footer-credit a {
  font-weight: 800;
  text-decoration: none;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.footer-credit a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.footer-credit a:hover::after {
  transform: scaleX(1);
}

/* ============ ANIMATIONS ============ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============ ICON ANIMATIONS (Trophy, Gear, Cap, Hand) ============ */
.fb-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}

.fb-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.icon-trophy {
  animation: trophyPulse 2.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: drop-shadow(0 2px 5px rgba(251, 191, 36, 0.45));
  transform-origin: center;
}
@keyframes trophyPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  40%      { transform: scale(1.15) rotate(-4deg); }
  60%      { transform: scale(1.12) rotate(3deg); }
}

.fb-trophy { position: relative; overflow: visible; }

.icon-gear {
  animation: gearSpin 5s linear infinite;
  filter: drop-shadow(0 2px 5px rgba(59, 130, 246, 0.5));
  transform-origin: center;
  transition: animation-duration 0.4s ease;
}
.icon-gear.gear-fast { animation-duration: 0.9s; }
@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.fb-gear { cursor: pointer; }

.icon-cap {
  filter: drop-shadow(0 2px 5px rgba(139, 92, 246, 0.5));
  animation: capFloat 3.2s ease-in-out infinite;
  transform-origin: center;
}
@keyframes capFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-1.5px) rotate(-3deg); }
}

.cap-tassel-group {
  transform-box: view-box;
  transform-origin: 22px 10px;
  animation: tasselSwing 2.8s ease-in-out infinite;
}
@keyframes tasselSwing {
  0%, 100% { transform: rotate(-22deg); }
  50%      { transform: rotate(22deg); }
}
.fb-cap { cursor: pointer; }
.fb-cap.cap-celebrate {
  animation: capCelebrate 1.2s cubic-bezier(0.34, 1.5, 0.64, 1);
}
@keyframes capCelebrate {
  0%   { transform: translateY(0) scale(1) rotate(0); }
  25%  { transform: translateY(-10px) scale(1.12) rotate(-6deg); }
  55%  { transform: translateY(-4px) scale(1.06) rotate(6deg); }
  80%  { transform: translateY(-2px) scale(1.02) rotate(-2deg); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}

.wave-hand {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  vertical-align: middle;
  margin-left: 0.1em;
  margin-bottom: 0.15em;
  color: #fbbf24;
  cursor: pointer;
  transform-origin: 70% 85%;
  transition: color 0.3s ease;
  animation: handIdle 4s ease-in-out infinite;
}
.wave-hand:hover { color: #f59e0b; }
.wave-hand svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(251, 191, 36, 0.35));
  stroke-width: 2.2;
}
.wave-hand.waving {
  animation: handWave 1.8s cubic-bezier(0.34, 1.4, 0.64, 1);
}
@keyframes handIdle {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(4deg); }
}
@keyframes handWave {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(22deg); }
  20%  { transform: rotate(-18deg); }
  30%  { transform: rotate(22deg); }
  40%  { transform: rotate(-18deg); }
  50%  { transform: rotate(20deg); }
  60%  { transform: rotate(-14deg); }
  70%  { transform: rotate(16deg); }
  80%  { transform: rotate(-10deg); }
  90%  { transform: rotate(6deg); }
  100% { transform: rotate(0deg); }
}

.sparkle {
  position: absolute;
  width: 10px; height: 10px;
  pointer-events: none;
  color: #fbbf24;
  z-index: 20;
  transform: translate(-50%, -50%);
  animation: sparklePop var(--dur, 0.9s) ease-out forwards;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9));
}
.sparkle svg { width: 100%; height: 100%; display: block; }
@keyframes sparklePop {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0deg); }
  20% { opacity: 1; transform: translate(-50%, -50%) scale(1.25) rotate(45deg); }
  60% { opacity: 1; transform: translate(-50%, -50%) scale(0.85) rotate(180deg); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(360deg); }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
  }
  .footer-links-col:last-child { grid-column: 1 / -1; }
}

/* ★ මෙතන තමයි අර `}` එක මිස් වෙලා තිබ්බේ. දැන් හරි. ★ */
@media (max-width: 960px) {
  .topbar-wrap { top: 10px; padding: 0 10px; }
  .liquid-nav { padding: 6px 10px 6px 16px; gap: 6px; }
  
  /* Mobile Nav Items - Milk Glass Look */
  .nav-items {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; 
    width: 100%;
    background: rgba(255, 255, 255, 0.75); 
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);
    border-radius: 24px;
    flex-direction: column;
    padding: 16px;
    gap: 8px;
    box-shadow: 0 24px 50px -20px var(--glass-shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
  }

  [data-theme="dark"] .nav-items {
    background: rgba(35, 40, 60, 0.8);
    box-shadow: 0 24px 50px -20px var(--glass-shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.15);
  }

  .nav-items.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link { width: 100%; text-align: center; padding: 12px; }
  
  .nav-signup-mobile {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .desktop-signup { display: none; }
  .hamburger-btn { display: flex; }

  /* Layout Adjustments */
  .hero-stage { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  .device-scene { max-width: 540px; margin: 0 auto; height: 420px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .shehan-visual { order: -1; min-height: 400px; }
  .shehan-photo-wrap { width: 260px; height: 330px; }
  .shehan-ring { width: 320px; height: 320px; }
}

/* ★ Mobile spacing අඩු කළ තැන ★ */
@media (max-width: 780px) {
  .page { padding: 16px 16px 40px; }
  
  /* Hero - Mobile spacing */
  .hero { padding: 10px 0 20px; }
  .hero-badge { margin-bottom: 16px; }
  .hero-title { letter-spacing: -1.2px; margin-bottom: 12px; }
  .hero-sub { margin-bottom: 20px; }
  .hero-cta { margin-bottom: 24px; }
  .hero-stats { gap: 16px; padding-top: 16px; }
  .hero-stat strong { font-size: 18px; }

  .device-scene { height: 320px; margin-top: 10px; }
  .laptop-float { width: 320px; margin-left: -160px; margin-top: -100px; }
  .float-chip { font-size: 10px; padding: 6px 10px; }
  .fc-1, .fc-3 { left: -2%; }
  .fc-2, .fc-4 { right: -2%; }

  /* About spacing */
  .about { padding: 30px 0 20px; }
  .about-title { font-size: 26px; margin-bottom: 14px; }
  .about-bio { margin-bottom: 10px; }
  .about-details { margin-top: 16px; }
  .shehan-photo-wrap { width: 230px; height: 290px; border-radius: 22px; }
  .shehan-ring { width: 280px; height: 280px; }
  .float-badge { font-size: 11px; padding: 6px 12px; }
  .fb-1 { left: 0; }
  .fb-2 { right: -2%; }
  .fb-3 { left: 2%; }

  /* Features spacing */
  .features { padding: 30px 0 20px; }
  .features-head { margin-bottom: 24px; }
  .feature-card { padding: 20px 18px; }

  /* CTA spacing */
  .cta-section { padding: 20px 0 10px; }
  .cta-inner { padding: 30px 20px; border-radius: 24px; }

  /* Footer spacing */
  .site-footer { padding: 20px 16px 16px; margin-top: 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px; padding-bottom: 20px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-tagline { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; letter-spacing: -1px; }
  .hero-cta { flex-direction: column; width: 100%; gap: 10px; }
  .btn { justify-content: center; width: 100%; }
  
  .device-scene { height: 260px; }
  .laptop-float { width: 260px; margin-left: -130px; margin-top: -80px; }
  .float-chip { display: none; }
  .fc-1, .fc-3 { display: inline-flex; font-size: 9.5px; padding: 5px 9px; }
  
  .about { padding: 20px 0; }
  .shehan-visual { min-height: 340px; }
  .shehan-photo-wrap { width: 200px; height: 260px; }
  .shehan-ring { width: 240px; height: 240px; }
  .float-badge { font-size: 10px; padding: 5px 10px; }
  .fb-2 { display: none; }
  .about-detail { padding: 12px; gap: 10px; }
  .ad-ic { width: 38px; height: 38px; border-radius: 11px; }
  .ad-txt strong { font-size: 13px; }
  .ad-txt span { font-size: 11.5px; }
  
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-links-col { grid-column: 1 / -1; }
}

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