/* ==========================================
   PARAHOST shared hosting - CSS Stylesheet
   Design Language: Premium Cyber-Dark & Neon Red
   ========================================== */

/* Color Tokens & System Variables */
:root {
  /* Brand Constants */
  --primary-red: #D6242A;
  --primary-red-hover: #dd1920;
  
  --success: #10B981;
  --success-glow: rgba(16, 185, 129, 0.15);
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  
  --font-main: 'Cairo', system-ui, -apple-system, sans-serif;
}

/* Scoped Scenarios */
.theme-dark {
  --bg-primary: #070B17;
  --bg-secondary: #0D1325;
  --bg-tertiary: #131A30;
  
  --text-white: #FFFFFF;
  --text-light: #E2E8F0;
  --text-muted: #94A3B8;
  
  --border-light: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(255, 51, 58, 0.3);
  --primary-red-glow: rgba(255, 51, 58, 0.35);

  --card-bg: rgba(19, 26, 48, 0.5);
  --card-hover-bg: rgba(19, 26, 48, 0.7);
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 15px 40px rgba(0, 0, 0, 0.4);
  --card-icon-bg: rgba(255, 51, 58, 0.1);
  --card-badge-bg: rgba(255, 255, 255, 0.03);
}

.theme-light {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F5F9;
  
  --text-white: #0F172A;
  --text-light: #334155;
  --text-muted: #64748B;
  
  --border-light: rgba(255, 255, 255, 0.5);
  --border-glow: rgba(255, 51, 58, 0.25);
  --primary-red-glow: rgba(255, 51, 58, 0.15);

  --card-bg: rgba(255, 255, 255, 0.45);
  --card-hover-bg: rgba(255, 255, 255, 0.75);
  --shadow-sm: 0 8px 32px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 16px 48px rgba(15, 23, 42, 0.08);
  --card-icon-bg: rgba(15, 23, 42, 0.03);
  --card-badge-bg: rgba(15, 23, 42, 0.03);
}

/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

/* Grid Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Background Ambient Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: var(--radius-full);
  filter: blur(140px);
  z-index: -10;
  pointer-events: none;
  opacity: 0.2;
  animation: orb-float 20s infinite ease-in-out alternate;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
  top: -100px;
  right: -200px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #2563EB 0%, transparent 70%);
  top: 50%;
  left: -300px;
  animation-delay: -5s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary-red) 0%, transparent 70%);
  bottom: 0;
  right: -100px;
  animation-delay: -10s;
}

.whatsapp-green {
  color: #2b2b2b!important;
}

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

/* Base Typo & Sections Styling */
section {
  padding: 100px 0;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--text-light);
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-header {
  max-width: 800px;
  margin: 0 auto 60px;
}

.subtitle {
  color: var(--primary-red);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 51, 58, 0.08);
  border: 1px solid rgba(255, 51, 58, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.3;
  margin-bottom: 20px;
}

.section-desc {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 500;
}

/* Button UI Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: var(--font-main);
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary-red);
  color:#f9f9f9;
}

.btn-primary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px var(--primary-red-glow);
}

.btn-glow {
  box-shadow: 0 8px 20px var(--primary-red-glow);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-nav-cta {
  background: linear-gradient(135deg, var(--primary-red) 0%, #D61C22 100%);
  color: #f9f9f9;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 12px var(--primary-red-glow);
}

.btn-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--primary-red-glow);
  filter: brightness(1.1);
}

.btn-whatsapp-cta {
  background-color: #F4F2F2;
  color: var(--text-white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  border-bottom: 2px solid #eee;
}

.btn-whatsapp-cta:hover {
  background-color: var(--primary-red);
  color: #f9f9f9;
  box-shadow: 0 10px 25px var(--success-glow);
  transform: translateY(-2px);
}

.btn-whatsapp-large {
  background-color: #10B981;
  color: var(--text-white);
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: 0 8px 24px var(--success-glow);
}

.btn-whatsapp-large:hover {
  background-color: #059669;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px var(--success-glow);
}

.text-success {
  color: #10B981;
}

/* ==========================================
   NAVIGATION BAR SECTION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  padding: 8px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link:hover {
  color: var(--primary-red);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Responsive Nav Drawer */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: right var(--transition-normal);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .btn-nav-cta {
    display: none;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  padding-top: 180px;
  padding-bottom: 140px;
  overflow: hidden;
  position: relative;
  /* Premium light gradient with soft warm colors */
  background: radial-gradient(120% 120% at 50% 0%, #F1F5F9 0%, #E2E8F0 100%);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.015) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center;
  mask-image: radial-gradient(circle at 50% 50%, black 50%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 140px;
  background: linear-gradient(180deg, transparent, #F8FAFC);
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 5;
}

.hero-content {
  max-width: 660px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 51, 58, 0.08);
  border: 1px solid rgba(255, 51, 58, 0.15);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-red);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 2.75rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.8;
}

/* Trust Badge in Hero */
.trust-badge-container {
  margin-bottom: 40px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.02);
  border: 1px solid var(--border-light);
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.trust-badge::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-red);
}

.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 51, 58, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.badge-text h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.badge-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating Hero Graphic */
.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, rgba(255, 51, 58, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5));
}

.floating-ui-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.floating-ui-card i {
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-ui-card h5 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-white);
}

.floating-ui-card span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.card-speed {
  top: 15%;
  right: -20px;
  animation: card-float-1 6s infinite ease-in-out alternate;
}

.card-security {
  bottom: 15%;
  left: -20px;
  animation: card-float-2 6s infinite ease-in-out alternate;
  animation-delay: -3s;
}

@keyframes card-float-1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

@keyframes card-float-2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(15px); }
}

.animate-floating {
  animation: visual-float 8s infinite ease-in-out alternate;
}

@keyframes visual-float {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-10px) rotate(1deg); }
}

/* ==========================================
   CORE PILLARS SECTION (Smart Bento Features)
   ========================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.pillar-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 58, 0.4), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 20px rgba(255, 51, 58, 0.05);
  background: var(--card-hover-bg);
}

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

.pillar-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--card-icon-bg);
  border: 1px solid rgba(255, 51, 58, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.75rem;
  margin-bottom: 28px;
  transition: var(--transition-fast);
}

.pillar-card:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px var(--primary-red-glow);
}

.pillar-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.pillar-highlight {
  color: var(--primary-red);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 500;
}

.pillar-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pillar-footer .badge {
  font-size: 0.8rem;
  padding: 6px 12px;
  background: var(--card-badge-bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Featured Core Card (Email Management highlighted) */
.featured-card {
  border-color: rgba(255, 51, 58, 0.3);
  background: rgba(255, 51, 58, 0.03);
}

.featured-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 51, 58, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: 40px;
  left: 40px;
  background: var(--primary-red);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* ==========================================
   EASY WEBSITE BUILDER SECTION
   ========================================== */
.builder-container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: center;
}

.builder-content {
  max-width: 600px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.feature-item-inline {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item-inline .icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.feature-item-inline h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 6px;
}

.feature-item-inline p {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.6;
}

/* Premium Browser Mockup Visual */
.builder-mockup {
  width: 100%;
}

.browser-mockup {
  width: 100%;
  border-radius: var(--radius-lg);
  background: #090E1B;
  border: 1px solid var(--border-light);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  overflow: hidden;
}

.browser-header {
  height: 44px;
  background: #0D1325;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
}

.browser-buttons {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 16px;
}

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

.browser-buttons span:nth-child(1) { background: #EF4444; }
.browser-buttons span:nth-child(2) { background: #F59E0B; }
.browser-buttons span:nth-child(3) { background: #10B981; }

.browser-search {
  margin: 0 auto;
  width: 60%;
  max-width: 320px;
  height: 28px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.browser-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 380px;
}

.mockup-sidebar {
  background: #0B1020;
  border-left: 1px solid var(--border-light);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
}

.sidebar-item.active {
  background: rgba(255, 51, 58, 0.08);
  color: var(--primary-red);
}

.mockup-main {
  padding: 24px;
  overflow-y: auto;
}

.mockup-header-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mockup-header-action h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-white);
}

.status-online {
  font-size: 0.75rem;
  color: #10B981;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-online .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

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

.quick-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}

.quick-card i {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.quick-card h6 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 10px;
}

.btn-mockup {
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  color: var(--text-light);
  cursor: pointer;
  width: 100%;
}

.btn-mockup:hover {
  background: rgba(255, 51, 58, 0.1);
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.drag-drop-visual {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.drag-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  margin: 0 4px 8px;
  cursor: grab;
}

.drop-zone {
  margin-top: 10px;
  border: 1px dashed rgba(255, 51, 58, 0.3);
  background: rgba(255, 51, 58, 0.03);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--primary-red);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ==========================================
   PRICING TABLES SECTION
   ========================================== */
.pricing-section {
  background-color: var(--bg-tertiary);
}

.pricing-wrapper {
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.target-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-red);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 12px;
}

.price-container {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.currency {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
}

.price-amount {
  font-size: 3.25rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 1;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-right: 4px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 42px;
}

.card-divider {
  border: 0;
  height: 1px;
  background: var(--border-light);
  margin-bottom: 20px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-light);
}

.plan-features li i {
  margin-top: 4px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.plan-features li span {
  font-weight: 600;
}

.plan-features li strong {
  color: var(--text-white);
}

.pricing-card .btn-whatsapp-cta {
  margin-top: auto;
}

/* Recommended/Best-Value Card Styles */
.pricing-card.recommended-plan {
  border-color: var(--primary-red);
  background: linear-gradient(180deg, rgba(255, 51, 58, 0.04) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 15px 35px rgba(255, 51, 58, 0.08);
  transform: scale(1.02);
  z-index: 10;
}

.pricing-card.recommended-plan:hover {
  transform: scale(1.04) translateY(-8px);
  box-shadow: 0 20px 45px rgba(255, 51, 58, 0.18);
  border-color: #FF5E63;
}

.recommended-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--primary-red);
  color: var(--text-white);
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.pricing-card.recommended-plan {
  padding-top: 44px;
}

.pricing-card.recommended-plan .target-label {
  color: #FF8F93;
}

/* Pricing Section Disclaimer */
.pricing-notes {
  margin-top: 40px;
}

.disclaimer-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================
   DEVELOPER SPECIFICATIONS (Bento Grid)
   ========================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 24px;
}

.bento-item {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.bento-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
  background: var(--card-hover-bg);
}

.bento-glow-helper {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--x, 0px) var(--y, 0px), rgba(255, 51, 58, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.bento-item:hover .bento-glow-helper {
  opacity: 1;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--card-icon-bg);
  border: 1px solid rgba(255, 51, 58, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.bento-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
}

.bento-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 500;
}

/* Dynamic Bento Grid Sizing */
.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-large .bento-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.bento-large p {
  font-size: 0.95rem;
  line-height: 1.7;
}

.bento-large .bento-visual {
  margin-top: 30px;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
}

.cpanel-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cpanel-tags span {
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

.bento-wide {
  grid-column: span 2;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */
.final-cta-section {
  padding: 100px 0;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, #0F172A 0%, #020617 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 51, 58, 0.12) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-text {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: #94A3B8;
  margin-bottom: 40px;
  font-weight: 500;
}

.cta-actions {
  display: flex;
  justify-content: center;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer-section {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-light);
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  height: 44px;
  margin-bottom: 24px;
}

.footer-about {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 28px;
  max-width: 380px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--card-badge-bg);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--primary-red);
  color: var(--text-white);
  border-color: var(--primary-red);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 24px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-red);
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--text-white);
  padding-right: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 24px 0;
}

.footer-bottom p {
  color: #6B7280;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ==========================================
   SCROLL REVEAL INTERSECTION OBSERVER ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* Animate Hero Components on Load */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Pulse animation for CTA buttons */
@keyframes pulseGlow {
  0% { box-shadow: 0 4px 12px var(--primary-red-glow); }
  50% { box-shadow: 0 8px 24px rgba(255, 51, 58, 0.55); }
  100% { box-shadow: 0 4px 12px var(--primary-red-glow); }
}

.btn-primary.btn-glow {
  animation: pulseGlow 3s infinite;
}

/* ==========================================
   MEDIA QUERIES & RESPONSIVE LAYOUTS
   ========================================== */

/* Breakpoint 1200px (Pricing wrapper & Grid adaptation) */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
  }
  .pricing-card.recommended-plan {
    transform: none;
  }
  .pricing-card.recommended-plan:hover {
    transform: translateY(-8px);
  }
  .pricing-card {
    min-height: 520px;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
  }
  .bento-wide {
    grid-column: span 2;
  }
}

/* Breakpoint 991px (Hero & Builders adaptation) */
@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 50px;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .trust-badge {
    text-align: right;
  }
  
  .builder-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .builder-content {
    max-width: 100%;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
}

/* Breakpoint 767px (Pricing, Bento, Footer columns) */
@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  .pricing-card {
    min-height: auto;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-large {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-wide {
    grid-column: span 1;
  }
  .bento-large .bento-visual {
    margin-top: 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: span 1;
  }
  
  .browser-body {
    grid-template-columns: 1fr;
    height: auto;
  }
  .mockup-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
  }
  .sidebar-item {
    white-space: nowrap;
  }
}

/* Breakpoint 480px (General Spacing & Padding) */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  
  .trust-badge {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px;
  }
  
  .trust-badge::before {
    width: 100%;
    height: 4px;
    top: 0;
    right: 0;
  }
  
  .pillar-card {
    padding: 24px;
  }
  
  .cta-card {
    padding: 40px 20px;
  }
}
