/* ==========================================================================
   Groovy Tech — Local E-Commerce Portal
   Clean white UI with vibrant accents
   ========================================================================== */

/* --- Google Material Icons (loaded inline) --- */
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Sora:wght@300;400;500;600;700&display=swap');

/* --- Custom Properties --- */
:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fc;
  --color-bg-dark: #0f1729;
  --color-surface: #ffffff;
  --color-border: #e8ecf4;
  --color-border-light: #f0f2f8;
  --color-text: #2d3748;
  --color-text-light: #64748b;
  --color-text-dark: #0f1729;
  --color-primary: #6c5ce7;
  --color-primary-light: #a29bfe;
  --color-primary-dark: #5041c2;
  --color-secondary: #00cec9;
  --color-accent-orange: #fdcb6e;
  --color-accent-pink: #fd79a8;
  --color-accent-green: #00b894;
  --color-accent-blue: #0984e3;
  --color-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 50%, #00cec9 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 40px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 16px 60px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 32px rgba(108, 92, 231, 0.25);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-height: 80px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) var(--color-bg-alt);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--color-primary-dark); }

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

::selection {
  background: var(--color-primary);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

/* --- Material Symbols helper --- */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-gradient);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(108, 92, 231, 0.35);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-3px);
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary-dark);
}

.btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform 0.3s var(--ease-spring);
}
.btn:hover .material-symbols-outlined {
  transform: translateX(4px);
}

/* --- Section Common --- */
section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  margin-bottom: 20px;
}
.section-badge .material-symbols-outlined { font-size: 16px; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-title .gradient-text {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--color-text-light);
  max-width: 580px;
  line-height: 1.8;
}

.section-header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

.section-header--center {
  text-align: center;
}
.section-header--center .section-subtitle {
  margin: 0 auto;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--delay-1 { transition-delay: 0.08s; }
.reveal--delay-2 { transition-delay: 0.16s; }
.reveal--delay-3 { transition-delay: 0.24s; }
.reveal--delay-4 { transition-delay: 0.32s; }
.reveal--delay-5 { transition-delay: 0.4s; }
.reveal--delay-6 { transition-delay: 0.48s; }

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal--left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
}
.reveal--right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.9);
}
.reveal--scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Float animation for icons --- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.8; }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  z-index: 1000;
  transition: all 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
}
.nav__logo:hover { color: var(--color-text-dark); }

.nav__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--color-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav__link {
  color: var(--color-text-light);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}
.nav__link:hover {
  color: var(--color-primary);
  background: rgba(108, 92, 231, 0.06);
}
.nav__link.active {
  color: var(--color-primary);
  background: rgba(108, 92, 231, 0.08);
  font-weight: 600;
}

.nav__cta {
  margin-left: 12px;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}
.nav__toggle span {
  width: 24px; height: 2.5px;
  background: var(--color-text-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 1.1rem; padding: 12px 28px; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero__bg-shape--1 {
  width: 600px; height: 600px;
  background: var(--color-primary-light);
  top: -200px; right: -100px;
  animation: floatSlow 8s ease-in-out infinite;
}
.hero__bg-shape--2 {
  width: 400px; height: 400px;
  background: var(--color-secondary);
  bottom: -100px; left: -100px;
  animation: floatSlow 10s ease-in-out infinite 2s;
}
.hero__bg-shape--3 {
  width: 300px; height: 300px;
  background: var(--color-accent-pink);
  top: 40%; left: 50%;
  opacity: 0.2;
  animation: floatSlow 12s ease-in-out infinite 4s;
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 92, 231, 0.08);
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(108, 92, 231, 0.15);
  margin-bottom: 24px;
}
.hero__badge .dot {
  width: 8px; height: 8px;
  background: var(--color-accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero__description {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
}
.hero__stat {
  text-align: left;
}
.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1;
}
.hero__stat-number span {
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__stat-label {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* Hero Visual - Phone mockup area */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__phone {
  width: 280px;
  height: 560px;
  background: var(--color-text-dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 2;
}

.hero__phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero__phone-header {
  padding: 20px 16px 12px;
  text-align: center;
}
.hero__phone-header h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-dark);
}
.hero__phone-header p {
  font-size: 0.65rem;
  color: var(--color-text-light);
}

.hero__phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 16px;
}

.phone-card {
  background: var(--color-bg-alt);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  transition: transform 0.3s var(--ease-spring);
}
.phone-card:hover { transform: scale(1.04); }

.phone-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  color: #fff;
  font-size: 18px;
}
.phone-card__icon .material-symbols-outlined { font-size: 18px; color: #fff; }
.phone-card__label {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.phone-card--sales .phone-card__icon { background: var(--color-primary); }
.phone-card--purchase .phone-card__icon { background: var(--color-secondary); }
.phone-card--inventory .phone-card__icon { background: var(--color-accent-orange); }
.phone-card--vendors .phone-card__icon { background: var(--color-accent-pink); }

.hero__phone-chart {
  padding: 12px 16px;
  flex: 1;
}
.phone-chart__title {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.phone-chart__bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.phone-chart__bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transition: height 1s var(--ease-out-expo);
}

/* Floating cards around phone */
.hero__float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
  white-space: nowrap;
}

.hero__float-card--1 {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
}
.hero__float-card--2 {
  bottom: 20%;
  right: -30px;
  animation-delay: 1.5s;
}
.hero__float-card--3 {
  top: 55%;
  left: -40px;
  animation-delay: 3s;
}

.float-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.float-card__icon .material-symbols-outlined { font-size: 18px; color: #fff; }

.float-card__text {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-dark);
}
.float-card__text small {
  display: block;
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.62rem;
}

@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__description { margin: 0 auto 36px; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; }
  .hero__visual { margin-top: 48px; }
  .hero__float-card { display: none; }
  .hero__phone { width: 240px; height: 480px; }
}

/* ==========================================================================
   Features Grid (Home Page)
   ========================================================================== */
.features {
  background: var(--color-bg-alt);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card__icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  color: #fff;
}
.feature-card__icon .material-symbols-outlined {
  font-size: 28px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.feature-card__icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}
.feature-card:hover .feature-card__icon {
  animation: bounceIn 0.5s;
}

.feature-card--sales .feature-card__icon { background: var(--color-primary); }
.feature-card--purchase .feature-card__icon { background: var(--color-secondary); }
.feature-card--inventory .feature-card__icon { background: var(--color-accent-orange); color: #fff; }
.feature-card--vendors .feature-card__icon { background: var(--color-accent-pink); }
.feature-card--analytics .feature-card__icon { background: var(--color-accent-blue); }
.feature-card--easy .feature-card__icon { background: var(--color-accent-green); }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

.feature-card__arrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease-out-expo);
}
.feature-card:hover .feature-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .features__grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   How It Works (Home page)
   ========================================================================== */
.how-it-works {
  background: var(--color-bg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  transition: all 0.4s var(--ease-spring);
}
.step:hover .step__number {
  background: var(--color-gradient);
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  background: var(--color-bg);
  padding: clamp(40px, 6vw, 80px) 0;
}

.cta-banner__inner {
  background: var(--color-gradient);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 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='%23ffffff' fill-opacity='0.06'%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");
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ==========================================================================
   About Page — Mission / Vision / Story
   ========================================================================== */
.about-hero {
  background: var(--color-bg);
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
}

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

.about-hero__visual {
  position: relative;
}

.about-hero__image {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--color-gradient);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-hero__image-text {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-hero__floating-badge {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.about-hero__floating-badge--1 {
  bottom: -20px; right: -10px;
}
.about-hero__floating-badge--2 {
  top: -15px; left: -15px;
  animation-delay: 2s;
}

.floating-badge__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.floating-badge__icon .material-symbols-outlined { font-size: 20px; color: #fff; }

.floating-badge__text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-dark);
}
.floating-badge__text small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .about-hero__grid { grid-template-columns: 1fr; }
}

/* Mission / Vision / Values cards */
.values-section {
  background: var(--color-bg-alt);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
}
.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.value-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
}
.value-card__icon .material-symbols-outlined { font-size: 28px; color: #fff; }

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .values__grid { grid-template-columns: 1fr; }
}

/* Timeline */
.timeline-section {
  background: var(--color-bg);
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--color-border);
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  position: relative;
}
.timeline__item:nth-child(odd) { padding-right: 55%; }
.timeline__item:nth-child(even) { padding-left: 55%; }

.timeline__dot {
  position: absolute;
  left: 50%;
  top: 4px;
  width: 16px; height: 16px;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.15);
}

.timeline__content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.timeline__content .timeline__date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}
.timeline__content p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before { left: 16px; }
  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    padding-left: 48px;
    padding-right: 0;
  }
  .timeline__dot { left: 16px; }
}

/* Team grid */
.team-section {
  background: var(--color-bg-alt);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out-expo);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.team-card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.team-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.team-card p {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .team__grid { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.services-hero {
  background: var(--color-bg);
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  text-align: center;
}

.services-detailed {
  background: var(--color-bg-alt);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }

.service-detail__visual {
  position: relative;
}

.service-detail__card {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-detail__card-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail__card-icon .material-symbols-outlined {
  font-size: 40px;
  color: #fff;
}

.service-detail__content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.service-detail__content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-detail__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-detail__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text);
}
.service-detail__features li .material-symbols-outlined {
  color: var(--color-accent-green);
  font-size: 20px;
}

@media (max-width: 768px) {
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Pricing-style cards */
.pricing-section {
  background: var(--color-bg);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pricing-card--featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-glow);
}
.pricing-card--featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-full);
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.pricing-card__price {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.pricing-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-light);
}

.pricing-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 28px;
  text-align: left;
}
.pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.pricing-card__features li:last-child { border-bottom: none; }
.pricing-card__features .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-accent-green);
}

@media (max-width: 768px) {
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-hero {
  background: var(--color-bg);
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
}

.contact-section {
  background: var(--color-bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info__cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-surface);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: all 0.3s var(--ease-out-expo);
}
.contact-info-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-info-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.contact-info-card__icon .material-symbols-outlined { font-size: 22px; color: #fff; }

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}
.contact-info-card p,
.contact-info-card a {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.contact-socials {
  display: flex;
  gap: 12px;
}

.contact-social {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-light);
  transition: all 0.3s ease;
}
.contact-social:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.contact-form > p {
  color: var(--color-text-light);
  font-size: 0.88rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--color-text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.6;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--color-surface); }

.form-submit {
  width: 100%;
}

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.form-success .material-symbols-outlined {
  font-size: 56px;
  color: var(--color-accent-green);
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}
.form-success p {
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
}

/* Map placeholder */
.contact-map {
  padding: 0 0 80px;
  background: var(--color-bg-alt);
}

.contact-map__inner {
  width: 100%;
  height: 300px;
  background: var(--color-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.contact-map__placeholder {
  text-align: center;
  color: var(--color-text-light);
}
.contact-map__placeholder .material-symbols-outlined {
  font-size: 48px;
  color: var(--color-primary-light);
  margin-bottom: 8px;
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
  color: rgba(255,255,255,0.5);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.footer__logo:hover { color: #fff; }

.footer__logo-icon {
  width: 34px; height: 34px;
  background: var(--color-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  font-family: var(--font-heading);
}

.footer h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer__links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ==========================================================================
   Page Heading Banner (inner pages)
   ========================================================================== */
.page-banner {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: var(--color-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-banner__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.page-banner__shape--1 {
  width: 400px; height: 400px;
  background: var(--color-primary-light);
  top: -150px; right: -50px;
}
.page-banner__shape--2 {
  width: 300px; height: 300px;
  background: var(--color-secondary);
  bottom: -100px; left: -50px;
}

.page-banner__content {
  position: relative;
  z-index: 1;
}

.page-banner__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 16px;
}
.page-banner__date .material-symbols-outlined { font-size: 16px; }

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
  .nav, .grain { display: none; }
  body { background: #fff; }
  section { padding: 40px 0; }
}
