/* ========================================
   DESIGN SYSTEM & VARIABLES
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --primary: #6C5CE7;
  --primary-light: #A29BFE;
  --primary-dark: #5A4BD1;
  --accent: #00CEC9;
  --accent-light: #55EFC4;
  --accent-dark: #00B5B1;
  --orange: #FF6B35;
  --pink: #FD79A8;
  --yellow: #FDCB6E;

  /* Dark palette */
  --bg-dark: #0A0A1A;
  --bg-card: #12122A;
  --bg-card-hover: #1A1A3E;
  --bg-glass: rgba(18, 18, 42, 0.7);
  --bg-glass-light: rgba(255, 255, 255, 0.05);

  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);

  /* Borders */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(108, 92, 231, 0.3);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #6C5CE7 0%, #A29BFE 100%);
  --gradient-accent: linear-gradient(135deg, #00CEC9 0%, #55EFC4 100%);
  --gradient-hero: linear-gradient(135deg, #0A0A1A 0%, #1A1A3E 50%, #0A0A1A 100%);
  --gradient-card: linear-gradient(145deg, rgba(108, 92, 231, 0.1), rgba(0, 206, 201, 0.05));

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(108, 92, 231, 0.3);
  --shadow-glow-accent: 0 0 30px rgba(0, 206, 201, 0.3);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Typography */
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 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: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  list-style: none;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(108, 92, 231, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--bg-dark);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-accent);
}

/* Glass card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: var(--transition-base);
}

.glass-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
  padding: var(--space-sm) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
  padding: var(--space-xs) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.6rem 1.5rem !important;
  background: var(--gradient-primary);
  color: white !important;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-sm);
  flex-shrink: 0;
  position: relative;
}

.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(0, 206, 201, 0.1) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-5%, 5%) scale(1.1);
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(108, 92, 231, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 92, 231, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--accent-light);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.5);
  }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .accent-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}

/* Floating elements */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.15;
  animation: float 6s ease-in-out infinite;
}

.floating-shape:nth-child(1) {
  width: 80px;
  height: 80px;
  background: var(--primary);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 60px;
  height: 60px;
  background: var(--accent);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  border-radius: 50%;
}

.floating-shape:nth-child(3) {
  width: 40px;
  height: 40px;
  background: var(--pink);
  bottom: 25%;
  left: 20%;
  animation-delay: 4s;
}

.floating-shape:nth-child(4) {
  width: 50px;
  height: 50px;
  background: var(--yellow);
  top: 15%;
  right: 25%;
  animation-delay: 1s;
  border-radius: 50%;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--space-lg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ========================================
   DEMOS / PORTFOLIO SECTION
   ======================================== */
.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.demo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
}

.demo-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.demo-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.demo-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.demo-card:hover .demo-thumbnail img {
  transform: scale(1.05);
}

.demo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 26, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: var(--transition-base);
}

.demo-card:hover .demo-overlay {
  opacity: 1;
}

.demo-overlay .btn {
  font-size: 0.875rem;
  padding: 0.6rem 1.5rem;
}

.demo-info {
  padding: var(--space-lg);
}

.demo-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(108, 92, 231, 0.15);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.demo-info h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.demo-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.pricing-card {
  text-align: center;
  padding: var(--space-2xl);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(108, 92, 231, 0.15), rgba(0, 206, 201, 0.05));
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'PHỔ BIẾN';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.3rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: var(--space-xs);
}

.pricing-price .currency {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--text-muted);
}

.pricing-price .unit {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-xl);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  padding: var(--space-sm) 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-xl);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  z-index: 2;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item .detail strong {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item .detail p {
  color: var(--text-primary);
  font-size: 1rem;
  margin: 0;
}

.contact-form {
  padding: var(--space-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--bg-card);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-glass);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .nav-links {
    gap: var(--space-md);
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 968px) {
  .nav-links {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0A0A1A;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    z-index: 99999;
  }

  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    font-size: 1.3rem;
    color: #fff;
  }

  .nav-links a::after {
    display: none;
  }

  .mobile-toggle {
    display: flex !important;
    z-index: 999999;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .hero-stat .number {
    font-size: 2rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .demos-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile menu open: hide everything behind overlay */
body.menu-open .floating-cta,
body.menu-open section,
body.menu-open footer,
body.menu-open .page-banner,
body.menu-open .page-header {
  visibility: hidden !important;
}

@media (max-width: 640px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   DEMO PAGE BACK BUTTON
   ======================================== */
.back-to-main {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  padding: 0.6rem 1.2rem;
  background: rgba(10, 10, 26, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: white;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.back-to-main:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ========================================
   FLOATING CONTACT BUTTONS
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.floating-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}

.floating-cta a:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 25px rgba(0, 0, 0, .4);
}

.floating-cta .fc-zalo {
  background: #0068FF;
}

.floating-cta .fc-phone {
  background: #27c93f;
  animation: fcPulse 2s ease-in-out infinite;
}

.floating-cta .fc-messenger {
  background: linear-gradient(135deg, #0695FF, #A334FA, #FF6968);
}

.floating-cta a .fc-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 26, .9);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
  font-family: var(--font-body);
}

.floating-cta a:hover .fc-tooltip {
  opacity: 1;
}

@keyframes fcPulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3), 0 0 0 0 rgba(39, 201, 63, .4);
  }

  50% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, .3), 0 0 0 12px rgba(39, 201, 63, 0);
  }
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 16px;
    right: 16px;
    gap: 10px;
  }

  .floating-cta a {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }

  .floating-cta a .fc-tooltip {
    display: none;
  }
}
@media (max-width: 768px) {
  .pricing-card {
    padding: var(--space-xl) var(--space-lg);
  }
}

/* ========================================
   PAGE BANNER (Internal pages)
   ======================================== */
.page-banner {
  position: relative;
  height: 50vh;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  background: var(--bg-dark);
}

.page-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,26,.3), rgba(10,10,26,.95));
  z-index: 1;
}

.page-banner > .content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-xl);
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.page-banner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.page-banner .breadcrumb a {
  color: var(--primary-light);
}

.page-banner .breadcrumb a:hover {
  text-decoration: underline;
}

/* ========================================
   PAGE HEADER (FAQ page alternative)
   ======================================== */
.page-header {
  padding: 8rem var(--space-xl) 2rem;
  text-align: center;
  background: linear-gradient(to bottom, rgba(108,92,231,.08), transparent);
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: .75rem;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 550px;
  margin: 0 auto;
}

.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.page-header .breadcrumb a {
  color: var(--primary-light);
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-story img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--border-glass);
}

.about-story h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-story p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-xl);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.stat-box {
  padding: var(--space-xl);
}

.stat-box .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-xs);
}

.stat-box .lab {
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  display: block;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.7;
}

/* ========================================
   SERVICES PAGE
   ======================================== */
.svc-detail {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border-glass);
}

.svc-detail:last-child {
  border-bottom: none;
}

.svc-detail.reverse {
  direction: ltr;
}

.svc-detail .icon-big {
  font-size: 3.5rem;
  text-align: center;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.svc-detail h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.svc-detail p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.svc-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm) var(--space-xl);
}

.svc-features li {
  color: var(--text-secondary);
  font-size: .95rem;
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.svc-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.tech-tag {
  padding: .5rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition-base);
}

.tech-tag:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(108, 92, 231, .1);
}

/* ========================================
   PORTFOLIO PAGE
   ======================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.filter-tab {
  padding: .5rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
}

.filter-tab:hover,
.filter-tab.active {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(108, 92, 231, .15);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
}

.port-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  transition: var(--transition-base);
  display: block;
}

.port-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.port-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.port-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.port-card:hover .port-thumb img {
  transform: scale(1.05);
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,26,.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  transition: var(--transition-base);
}

.port-card:hover .port-overlay {
  opacity: 1;
}

.port-info {
  padding: var(--space-lg);
}

.port-tag {
  display: inline-block;
  padding: .2rem .7rem;
  background: rgba(108, 92, 231, .15);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: var(--space-sm);
}

.port-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.port-info p {
  color: var(--text-secondary);
  font-size: .85rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.port-tech {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}

.port-tech span {
  padding: .15rem .5rem;
  background: rgba(0, 206, 201, .1);
  border: 1px solid rgba(0, 206, 201, .2);
  border-radius: var(--radius-sm);
  font-size: .7rem;
  color: var(--accent-light);
  font-weight: 500;
}

/* Case Study */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.case-study img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-study h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.case-study p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.case-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-result {
  text-align: center;
}

.case-result .num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
}

.case-result .lab {
  color: var(--text-muted);
  font-size: .8rem;
}

/* ========================================
   PRICING PAGE (price-card variant)
   ======================================== */
.price-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  transition: var(--transition-base);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(108,92,231,.15), rgba(0,206,201,.05));
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.card-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: .3rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.card-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.card-desc {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.card-features {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.card-features li {
  padding: var(--space-xs) 0;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.card-features .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.msg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: .6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .9rem;
  color: var(--primary-light);
  border: 1px solid var(--border-glass);
  background: transparent;
  transition: var(--transition-base);
  text-align: center;
}

.msg-btn:hover {
  border-color: var(--primary);
  background: rgba(108, 92, 231, .1);
}

/* Compare Table */
.compare-section {
  padding: var(--space-4xl) 0;
  background: rgba(108, 92, 231, .03);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.compare-table th,
.compare-table td {
  padding: .85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border-glass);
  font-size: .9rem;
}

.compare-table th {
  background: rgba(108, 92, 231, .1);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: .95rem;
}

.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-secondary);
}

.compare-table td {
  color: var(--text-secondary);
}

.compare-table .hl {
  background: rgba(108, 92, 231, .08);
}

.compare-table th.hl {
  background: rgba(108, 92, 231, .2);
}

.compare-table .yes {
  color: var(--accent);
  font-weight: 600;
}

.compare-table .no {
  color: var(--text-muted);
}

.compare-table tbody tr:hover {
  background: rgba(255, 255, 255, .02);
}

/* Addons Grid */
.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.addon-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.25rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: .9rem;
}

.addon-item strong {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

/* CTA Box */
.cta-box {
  text-align: center;
  padding: var(--space-3xl);
  margin-top: var(--space-3xl);
  background: linear-gradient(145deg, rgba(108,92,231,.12), rgba(0,206,201,.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ========================================
   BLOG PAGE
   ======================================== */
.blog-featured {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-2xl);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  align-items: center;
  transition: var(--transition-base);
}

.blog-featured:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.blog-feat-img {
  font-size: 4rem;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.blog-feat-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.blog-feat-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-size: .95rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-size: .85rem;
  color: var(--text-muted);
}

.blog-category {
  background: rgba(108, 92, 231, .15);
  color: var(--primary-light);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
}

.read-more {
  color: var(--primary-light);
  font-weight: 600;
  font-size: .9rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.blog-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: var(--space-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  align-items: center;
  transition: var(--transition-base);
}

.blog-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.blog-card-img {
  font-size: 2rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.blog-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.blog-card-content p {
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.sidebar-widget {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.sidebar-widget h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.sidebar-cta {
  background: linear-gradient(145deg, rgba(108,92,231,.12), rgba(0,206,201,.05));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
}

.sidebar-cta h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.sidebar-cta p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: var(--space-md);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.tag {
  padding: .3rem .75rem;
  background: rgba(108, 92, 231, .1);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  font-size: .8rem;
  color: var(--primary-light);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tag:hover {
  background: rgba(108, 92, 231, .2);
  border-color: var(--primary);
}

.recent-item {
  display: block;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-item:hover {
  color: var(--primary-light);
}

.recent-item h5 {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .15rem;
  line-height: 1.4;
}

.recent-item span {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.c-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) !important;
}

.c-card:hover {
  transform: translateY(-2px);
}

.c-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.c-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: .2rem;
  font-size: .95rem;
}

.c-card p {
  color: var(--text-secondary);
  font-size: .9rem;
  margin: 0;
}

.c-card a {
  color: var(--primary-light);
}

.c-card a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  font-size: 1.3rem;
  transition: var(--transition-base);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Contact Form Page */
.contact-form-page {
  padding: var(--space-2xl) !important;
}

.contact-form-page h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.contact-form-page .desc {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ========================================
   RESPONSIVE: Internal Pages
   ======================================== */
@media (max-width: 968px) {
  .about-story {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .svc-detail {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .svc-detail .icon-big {
    margin: 0 auto;
  }

  .svc-features {
    grid-template-columns: 1fr;
  }

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

  .case-study {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: scale(1);
  }

  .price-card.featured:hover {
    transform: translateY(-4px);
  }

  .blog-featured {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .blog-feat-img {
    margin: 0 auto;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

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

@media (max-width: 640px) {
  .page-banner {
    min-height: 280px;
    height: 40vh;
  }

  .page-header {
    padding: 6rem var(--space-md) 1.5rem;
  }

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

  .stat-box .num {
    font-size: 2rem;
  }

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

  .filter-tabs {
    gap: var(--space-xs);
  }

  .filter-tab {
    font-size: .8rem;
    padding: .4rem 1rem;
  }

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

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

  .blog-card-img {
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .compare-table th,
  .compare-table td {
    padding: .6rem .5rem;
    font-size: .75rem;
  }
}
