/* 
 * EaseTech - Futuristic Enterprise Holding Page
 * Sleek, high-tech design with modern animations
 */

:root {
  /* Brand Colors */
  --primary: #0082FF;
  --secondary: #00E5FF;
  --accent: #9D2CFF;
  --neon-blue: #00EEFF;
  --neon-purple: #B300FF;
  --dark-bg: #050A1C;
  --dark-surface: #0B1124;
  --dark-surface-2: #171E36;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-purple: linear-gradient(135deg, var(--accent), var(--neon-purple));
  --ink: #F5F9FC;
  --muted: #A5B9D9;
  --success: #00FFB1;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 129, 255, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 129, 255, 0.3), 0 10px 15px rgba(0, 129, 255, 0.15);
  --shadow-lg: 0 10px 25px rgba(0, 129, 255, 0.2);
  --shadow-neon: 0 0 15px rgba(0, 238, 255, 0.5);
  
  /* Sizing */
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 24px;
  
  /* 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;
}

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

html {
  scroll-behavior: smooth;
  /* Scale down the entire site by 15% */
  font-size: 85%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background-color: var(--dark-bg);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 130, 255, 0.03) 0%, transparent 30%),
    radial-gradient(circle at 80% 40%, rgba(157, 44, 255, 0.04) 0%, transparent 40%);
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  background: linear-gradient(to bottom, rgba(0,130,255,0.05) 0%, transparent 30%);
  pointer-events: none;
  z-index: -1;
}

body.loaded .geometric-shape {
  opacity: 0.6;
  transform: scale(1);
  visibility: visible;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--secondary);
}

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

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-3xl) 0 var(--space-3xl);
  position: relative;
  z-index: 1;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
}

.col-4 {
  grid-column: span 4;
}

.col-6 {
  grid-column: span 6;
}

.col-12 {
  grid-column: span 12;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

p {
  margin-bottom: var(--space-lg);
}

.gradient-text {
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  text-shadow: none;
}

.gradient-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(8px);
  opacity: 0.5;
  z-index: -1;
}

.purple-gradient-text {
  background: var(--gradient-purple);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.muted-text {
  color: var(--muted);
  font-size: 0.9rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  outline: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 129, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(30deg);
  animation: sheen 5s infinite;
}

@keyframes sheen {
  0%, 100% {
    transform: rotate(30deg) translateX(-300%);
  }
  30% {
    transform: rotate(30deg) translateX(300%);
  }
}

.btn-outline {
  background: rgba(11, 17, 36, 0.7);
  color: var(--ink);
  border: 1px solid rgba(0, 129, 255, 0.3);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md), 0 0 10px rgba(0, 229, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(30deg);
  animation: sheen 5s infinite;
}

.btn-link {
  background: transparent;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-link:hover {
  color: var(--secondary);
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Components */

/* Notification Bar */
.notification-bar {
  background: linear-gradient(90deg, #FF8A00, #FF5F00);
  color: #ffffff;
  padding: 1rem 0;
  position: relative;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 100;
  font-weight: 500;
  box-shadow: 0 0 25px rgba(255, 138, 0, 0.5);
  animation: notification-pulse 3s infinite ease-in-out;
  transition: all 0.5s ease-in-out;
  height: auto !important; /* Force height to be auto */
  max-height: 200px !important; /* Set a reasonable max height */
  opacity: 1 !important; /* Force visibility */
  display: block !important; /* Force display */
  visibility: visible !important; /* Force visibility */
}

/* When notification is dismissed via sessionStorage, hide it properly */
.notification-bar.dismissed {
  height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  margin: 0 !important;
  max-height: 0 !important;
  visibility: hidden !important;
  transition: all 0.5s ease-in-out !important;
}

@keyframes notification-pulse {
  0% { box-shadow: 0 0 15px rgba(255, 138, 0, 0.4); }
  50% { box-shadow: 0 0 25px rgba(255, 138, 0, 0.7); }
  100% { box-shadow: 0 0 15px rgba(255, 138, 0, 0.4); }
}

.notification-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.notification-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  gap: 0.5rem;
}

.notification-text {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.notification-subtext {
  font-size: 0.85rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.status-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #4cff4c;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(76, 255, 76, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 255, 76, 0.7); }
  70% { box-shadow: 0 0 0 5px rgba(76, 255, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 255, 76, 0); }
}

.status-operational {
  background-color: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.status-degraded {
  background-color: #FFB800;
  box-shadow: 0 0 10px #FFB800;
}

.status-maintenance {
  background-color: #FF9500;
  box-shadow: 0 0 10px #FF9500;
}

.status-outage {
  background-color: #FF3B30;
  box-shadow: 0 0 10px #FF3B30;
}

.dismiss-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dismiss-btn:hover {
  color: var(--ink);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  height: 50px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: none;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo img {
  height: 24px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  mix-blend-mode: normal;
  filter: none;
}

/* Hero Section */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: var(--dark-bg);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 var(--space-lg);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: var(--space-2xl);
  color: var(--muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-xl);
}

/* Decorative elements */
.geometric-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.6;
  filter: blur(0);
  transform: scale(1);
  transition: all 0.8s ease-out;
  display: block;
  visibility: visible;
  animation: float 15s ease-in-out infinite;
}

.shape-1 {
  top: 15%;
  left: 10%;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.15), rgba(0, 229, 255, 0.05));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: float 8s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(0, 178, 255, 0.3);
}

.shape-2 {
  top: 60%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(157, 44, 255, 0.08), rgba(179, 0, 255, 0.04));
  border-radius: 58% 42% 38% 62% / 42% 55% 45% 58%;
  animation: float 10s ease-in-out infinite;
  animation-delay: 1s;
  box-shadow: 0 0 20px rgba(157, 44, 255, 0.3);
}

.shape-3 {
  bottom: 10%;
  left: 20%;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.1), rgba(0, 178, 255, 0.05));
  border-radius: 42% 58% 58% 42% / 30% 43% 57% 70%;
  animation: float 12s ease-in-out infinite;
  animation-delay: 2s;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.shape-4 {
  top: 30%;
  right: 25%;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(157, 44, 255, 0.06), rgba(0, 229, 255, 0.03));
  border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  animation: float 9s ease-in-out infinite;
  animation-delay: 3s;
  box-shadow: 0 0 20px rgba(157, 44, 255, 0.2);
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-10px, 10px) rotate(2deg);
  }
  50% {
    transform: translate(5px, -5px) rotate(-1deg);
  }
  75% {
    transform: translate(-5px, -10px) rotate(1deg);
  }
}

/* Capability Cards */
.capabilities-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding-bottom: calc(var(--space-3xl) + 2rem);
  background-color: var(--dark-surface);
  margin-top: 0;
  padding-top: calc(var(--space-3xl) + 2rem);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-description {
  color: var(--muted);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.capability-card {
  background: linear-gradient(145deg, var(--dark-surface), var(--dark-surface-2));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  transform: translateY(20px);
  opacity: 0;
}

.capability-card.visible {
  transform: translateY(0);
  opacity: 1;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  opacity: 0.8;
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md), var(--shadow-neon);
}

.capability-icon {
  width: 50px;
  height: 50px;
  margin-bottom: var(--space-lg);
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.5));
}

.capability-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  font-weight: 600;
}

.capability-description {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0;
}

/* Section Divider with proper positioning */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  margin: 0;
  padding: 0;
  opacity: 0.7;
  position: relative;
  z-index: 3;
  box-shadow: 0 0 8px rgba(0, 130, 255, 0.5);
}

/* Specific divider styling for different sections */
.what-we-do-section + .section-divider {
  background: linear-gradient(90deg, var(--dark-surface), var(--primary), var(--dark-surface));
}

.capabilities-section + .section-divider {
  background: linear-gradient(90deg, var(--dark-surface), var(--primary), var(--dark-surface));
}

.uptime-section + .section-divider {
  background: linear-gradient(90deg, var(--dark-bg), var(--primary), var(--dark-bg));
}

/* Common properties for all dividers */
.section-divider {
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0.7;
  position: relative;
  z-index: 5;
  box-shadow: 0 0 8px rgba(0, 130, 255, 0.5);
}

/* Remove overlap issues */
.section + .section-divider + .section {
  margin-top: 0;
  padding-top: calc(var(--space-3xl) + 1rem);
}

/* Remove circle from all section dividers */
.section-divider::before {
  display: none;
}

.section-divider::after {
  display: none;
}

/* Increase section padding */
.section {
  padding: calc(var(--space-3xl) + 1.5rem) 0 calc(var(--space-3xl) + 1.5rem);
  position: relative;
  z-index: 1;
}

/* Add more specific padding for certain sections */
.what-we-do-section {
  padding-top: calc(var(--space-3xl) + 3rem);
  padding-bottom: calc(var(--space-3xl) + 3rem);
}

.capabilities-section {
  padding-top: calc(var(--space-3xl) + 3rem);
  padding-bottom: calc(var(--space-3xl) + 3rem);
}

.uptime-section {
  padding-top: calc(var(--space-3xl) + 2.5rem);
  padding-bottom: calc(var(--space-3xl) + 2.5rem);
}

.progress-section {
  padding-top: calc(var(--space-3xl) + 3rem);
  padding-bottom: calc(var(--space-3xl) + 3.5rem);
  background-color: var(--dark-bg); /* Darker background */
  margin-top: 0;
  z-index: 2;
}

/* Footer Layout - Improved structure */
.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  margin-top: 0.5rem;
}

.footer-copyright {
  width: 100%;
  text-align: center;
  margin: 0.5rem 0 1rem;
}

.footer-contact {
  margin-top: 0.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.footer-contact a {
  color: var(--ink);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(0, 129, 255, 0.1);
  border: 1px solid rgba(0, 129, 255, 0.2);
  text-align: center;
  display: inline-block;
  max-width: 220px;
}

.footer-contact a:hover {
  color: var(--primary);
  background: rgba(0, 129, 255, 0.15);
  box-shadow: 0 0 10px rgba(0, 129, 255, 0.3);
  transform: translateY(-2px);
}

/* Adjust for mobile */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: 0.25rem;
  }
  
  /* Add more space to mobile sections */
  .section {
    padding: calc(var(--space-2xl) + 1rem) 0;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Optimizations */
@media (max-width: 1024px) {
  :root {
    --space-3xl: 3rem;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: var(--space-2xl) 0;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .capability-card, .offering-card {
    height: 100%;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
    padding: var(--space-lg);
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  .hero-stat {
    width: 100%;
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .hero-stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 2.5rem;
    --container-width: 100%;
  }
  
  html {
    font-size: 90%; /* Slightly larger base font for better readability */
  }
  
  body {
    line-height: 1.5;
  }
  
  h1 {
    font-size: 2.2rem;
    margin-bottom: var(--space-md);
  }
  
  h2 {
    font-size: 1.7rem;
    margin-bottom: var(--space-md);
  }
  
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }
  
  .hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
  }
  
  .container {
    padding: 0 var(--space-lg);
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--space-md);
  }
  
  .btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Improve section spacing on mobile */
  .section {
    padding: var(--space-2xl) 0;
  }
  
  /* Adjust grid layouts */
  .capabilities-grid,
  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .edge-grid {
    grid-template-columns: 1fr;
  }
  
  /* Mobile notification bar */
  .notification-bar {
    padding: 0.5rem 0;
  }
  
  .notification-content {
    padding: 0.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .notification-text {
    font-size: 0.9rem;
  }
  
  .notification-subtext {
    font-size: 0.75rem;
  }
  
  /* Adjust cards for mobile */
  .capability-card,
  .offering-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    height: auto;
    width: 100%;
  }
  
  .progress-card {
    padding: var(--space-lg);
  }
  
  .uptime-card {
    padding: var(--space-lg);
  }
  
  /* Adjust progress phases for mobile */
  .progress-phases {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .phase {
    padding: var(--space-md);
  }
  
  /* Make sure footer looks good on mobile */
  .footer {
    padding: var(--space-md) 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .footer-brand {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .footer-contact {
    margin-top: var(--space-sm);
  }
  
  .footer-contact a {
    width: 100%;
    max-width: 250px;
    display: block;
    margin: 0 auto;
  }
  
  /* Fix small phone screens */
  .hero-title {
    word-break: normal;
    hyphens: manual;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 85%;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 var(--space-md);
  }
  
  .section {
    padding: var(--space-xl) 0;
  }
  
  .scroll-indicator {
    bottom: 1rem;
  }
  
  .down-arrow {
    width: 30px;
    height: 30px;
  }
  
  .notification-content {
    padding: 0.25rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .notification-message {
    width: calc(100% - 30px);
    text-align: left;
    align-items: flex-start;
  }
  
  .notification-text {
    font-size: 0.85rem;
  }
  
  .notification-subtext {
    font-size: 0.7rem;
  }
  
  .dismiss-btn {
    padding: 0.35rem;
    min-width: 30px;
    min-height: 30px;
    margin-left: 0.5rem;
  }
  
  .logo-container {
    margin-bottom: var(--space-md);
  }
  
  .logo-icon {
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .capability-title, .offering-title {
    font-size: 1.2rem;
  }
  
  .capability-description, .offering-description {
    font-size: 0.9rem;
  }
  
  .footer-tagline {
    font-size: 0.75rem;
  }
  
  /* Fix compressed appearance */
  .hero-stat {
    padding: var(--space-sm) 0;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
  }
  
  /* Add some breathing room to elements */
  .section-header {
    margin-bottom: var(--space-lg);
  }
  
  .progress-container {
    margin: var(--space-md) 0;
  }
  
  /* Ensure touch targets are large enough */
  .dismiss-btn {
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Further compress footer on mobile */
  .footer {
    padding: var(--space-xs) 0 var(--space-sm);
  }
  
  .footer-content {
    gap: 0.3rem;
  }
  
  .footer-copyright {
    margin: 0.15rem 0 0.3rem;
  }
  
  .footer-tagline {
    margin-top: 0.15rem;
    font-size: 0.75rem;
  }
  
  .footer-brand {
    margin-bottom: 0.15rem;
  }
  
  .footer-contact a {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

/* Fix specific issues with very small screens */
@media (max-width: 360px) {
  html {
    font-size: 80%;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .container {
    padding: 0 var(--space-sm);
  }
  
  .notification-bar {
    padding: 0.5rem 0;
  }
  
  .hero {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-xl);
  }
  
  /* Simplify the notification on very small screens */
  .notification-subtext {
    display: none;
  }
}

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: space-between;
  background-color: var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-2xl);
  box-shadow: var(--shadow-md), 0 0 20px rgba(0, 129, 255, 0.2);
  border: 1px solid rgba(0, 129, 255, 0.1);
  position: relative;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.hero-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 229, 255, 0.15), transparent 70%);
  pointer-events: none;
  animation: pulse-glow 3s infinite alternate;
}

.hero-stats::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 30px rgba(0, 229, 255, 0.2);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

@keyframes pulse-glow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.hero-stat {
  flex: 1;
  text-align: center;
  padding: 0 var(--space-md);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0;
  position: relative;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.stat-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--gradient);
  border-radius: var(--radius-sm);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
  line-height: 1.4;
}

/* What We Do Section */
.what-we-do-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  background: linear-gradient(to bottom, var(--dark-bg), var(--dark-surface));
  margin-top: 0;
  z-index: 2;
}

.what-we-do-section::before {
  display: none;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.offering-card {
  background: linear-gradient(145deg, var(--dark-surface), rgba(11, 17, 36, 0.8));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.1);
}

.offering-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  opacity: 0.6;
}

.offering-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.offering-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.5));
}

.offering-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink);
}

.offering-description {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* System Uptime Section */
.uptime-section {
  padding: var(--space-2xl) 0;
  position: relative;
  background: linear-gradient(to bottom, var(--dark-surface), var(--dark-bg)); /* Darker gradient */
  margin-top: 0;
  z-index: 2;
}

.uptime-section .section-title {
  margin-bottom: calc(var(--space-md) * 0.75);
  text-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
  background: var(--gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
  width: 100%;
  text-align: center;
}

.uptime-section .section-subtitle {
  margin-bottom: var(--space-xl);
  color: var(--muted);
  text-align: center;
}

.uptime-card {
  background-color: var(--dark-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0, 229, 255, 0.25);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(0, 129, 255, 0.25);
  max-width: 900px;
  margin: 0 auto;
  animation: glow-pulse 4s infinite alternate;
}

@keyframes glow-pulse {
  0% { box-shadow: var(--shadow-md), 0 0 20px rgba(0, 229, 255, 0.2); }
  100% { box-shadow: var(--shadow-md), 0 0 40px rgba(0, 229, 255, 0.4); }
}

.uptime-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  z-index: 1;
}

.uptime-description {
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  color: var(--ink);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.uptime-guarantee {
  background-color: rgba(0, 255, 177, 0.1);
  border-left: 4px solid var(--success);
  padding: var(--space-lg);
  text-align: left;
  border-radius: var(--radius-sm);
  margin-top: var(--space-xl);
  font-weight: 500;
}

/* Competitive Edge Section */
.competitive-edge-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(to bottom, var(--dark-bg), var(--dark-surface));
  position: relative;
}

.edge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.edge-item {
  background: linear-gradient(145deg, var(--dark-surface), rgba(11, 17, 36, 0.8));
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
}

.edge-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient);
  opacity: 0.6;
}

.edge-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 229, 255, 0.15);
  border-color: rgba(0, 229, 255, 0.1);
}

.edge-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, var(--dark-surface-2), var(--dark-surface));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--secondary);
  box-shadow: var(--shadow-sm), 0 0 10px rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.1);
  filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.5));
}

/* Fullpage section */
.fullpage-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 0;
  padding-bottom: 3rem;
  position: relative;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.down-arrow {
  color: var(--primary);
  cursor: pointer;
  animation: bounce 2s infinite;
  box-shadow: 0 0 15px rgba(0, 130, 255, 0.3);
  border-radius: 50%;
  padding: 8px;
  background-color: rgba(5, 10, 28, 0.6);
  backdrop-filter: blur(5px);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

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

/* Fix notification pushing content down */
.notification-bar + .hero.fullpage-section {
  padding-top: 0;
  min-height: calc(100vh - 72px);
}

/* Fix notification pushing content down - expanded with more conditions */
.hero.fullpage-section {
  transition: min-height 0.5s ease-in-out, padding-top 0.5s ease-in-out;
}

/* Progress Section */
.progress-section {
  padding-top: calc(var(--space-3xl) + 2rem);
  padding-bottom: calc(var(--space-3xl) + 2rem);
  background-color: var(--dark-bg); /* Darker background */
  margin-top: 0;
  z-index: 2;
}

.progress-card {
  background: linear-gradient(145deg, var(--dark-surface), var(--dark-bg));
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(0, 229, 255, 0.15);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 129, 255, 0.2);
  animation: card-glow 6s infinite alternate;
  position: relative;
  overflow: hidden;
}

@keyframes card-glow {
  0% { box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 129, 255, 0.1); }
  100% { box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 129, 255, 0.3); }
}

.progress-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  z-index: 1;
}

.progress-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 129, 255, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.progress-container {
  margin: var(--space-lg) 0;
  position: relative;
  z-index: 1;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.progress-bar-container {
  height: 12px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: var(--radius-full);
  position: relative;
  transition: width 1.5s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
  animation: progress-pulse 2s infinite;
}

@keyframes progress-pulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 229, 255, 0.5); }
  50% { box-shadow: 0 0 15px rgba(0, 229, 255, 0.8); }
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%
  );
  animation: progress-shimmer 2s infinite;
}

@keyframes progress-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

#progress-percentage {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.progress-phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
  position: relative;
  z-index: 1;
}

/* Footer */
.footer {
  background-color: var(--dark-bg); /* Match the progress section background */
  padding: 2.5rem 0 2rem;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.7;
}

.phase {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.phase:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.phase.completed {
  background-color: rgba(0, 255, 177, 0.05);
  border-color: rgba(0, 255, 177, 0.2);
}

.phase.active {
  background-color: rgba(0, 130, 255, 0.08);
  border-color: rgba(0, 130, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 130, 255, 0.15);
  animation: active-phase-pulse 3s infinite alternate;
}

@keyframes active-phase-pulse {
  0% { box-shadow: 0 0 20px rgba(0, 130, 255, 0.15); }
  100% { box-shadow: 0 0 30px rgba(0, 130, 255, 0.3); }
}

.phase.completed::before,
.phase.active::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.phase.completed::before {
  background-color: var(--success);
  box-shadow: 0 0 10px rgba(0, 255, 177, 0.5);
}

.phase.active::before {
  background-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 130, 255, 0.5);
  animation: phase-pulse 2s infinite;
}

@keyframes phase-pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 130, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 130, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 130, 255, 0); }
}

.phase-title {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  color: var(--ink);
}

.phase.completed .phase-title {
  color: var(--success);
}

.phase.active .phase-title {
  color: var(--primary);
}

.phase-description {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Mobile touch optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Enlarge touch targets */
  .btn {
    min-height: 48px;
  }
  
  .dismiss-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  /* Active states for touch */
  .btn:active, 
  .offering-card:active,
  .capability-card:active,
  .footer-contact a:active {
    transform: scale(0.98);
    transition: transform 0.1s ease-in-out;
  }
  
  /* Fix scrolling issues */
  .hero {
    min-height: calc(100 * var(--vh, 1vh));
  }
  
  /* Mobile-first hero stats */
  .hero-stats {
    flex-direction: column;
    width: 100%;
  }
  
  /* Ensure full-width buttons */
  .hero-buttons {
    width: 100%;
  }
  
  /* Fix font size/spacing issues */
  .hero-title {
    font-size: 2.2rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  
  /* Better shadows for mobile */
  .capability-card,
  .offering-card,
  .progress-card,
  .uptime-card {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  }
}

/* iOS-specific fixes */
.ios-device {
  /* Fix background attachment on iOS */
  background-attachment: scroll !important;
}

.ios-device .hero {
  /* Fix for iOS 100vh issue */
  min-height: calc(100 * var(--vh, 1vh));
}

.ios-device .geometric-shape {
  /* Fix transform issues on iOS */
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.ios-device .notification-bar {
  /* Prevent notification bar from bouncing */
  position: relative;
  z-index: 100;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Fix webkit rendering issues */
@supports (-webkit-touch-callout: none) {
  .btn, 
  .capability-card,
  .offering-card,
  .hero-stat,
  .footer-contact a {
    /* Prevent sticky hover on iOS */
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Fix momentum scrolling */
  body, html {
    -webkit-overflow-scrolling: touch;
  }
}

/* Section colors and transitions */
.hero {
  background-color: var(--dark-bg);
}

.what-we-do-section {
  background: linear-gradient(to bottom, var(--dark-bg), var(--dark-surface));
  position: relative;
  margin-top: 0;
  z-index: 2;
  padding-top: calc(var(--space-3xl) + 3rem);
  padding-bottom: calc(var(--space-3xl) + 3rem);
}

.capabilities-section {
  background-color: var(--dark-surface);
  position: relative;
  margin-top: 0;
  z-index: 2;
  padding-top: calc(var(--space-3xl) + 3rem);
  padding-bottom: calc(var(--space-3xl) + 3rem);
}

.uptime-section {
  background: linear-gradient(to bottom, var(--dark-surface), var(--dark-bg));
  position: relative;
  margin-top: 0;
  z-index: 2;
  padding-top: calc(var(--space-3xl) + 2.5rem);
  padding-bottom: calc(var(--space-3xl) + 2.5rem);
}

.progress-section {
  background-color: var(--dark-bg);
  position: relative;
  margin-top: 0;
  z-index: 2;
  padding-top: calc(var(--space-3xl) + 3rem);
  padding-bottom: calc(var(--space-3xl) + 3.5rem);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  /* Mobile card layout improvements */
  .offerings-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  /* Single column for all cards */
  .capability-card,
  .offering-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
    height: auto;
    width: 100%;
    max-width: 100%;
  }
  
  /* Simplified section spacing on mobile */
  .what-we-do-section,
  .capabilities-section,
  .uptime-section,
  .progress-section {
    padding-top: calc(var(--space-2xl) + 1rem);
    padding-bottom: calc(var(--space-2xl) + 1rem);
  }
  
  /* Add space between sections for mobile */
  .section-divider {
    padding: 0;
  }
}

/* Smaller screens */
@media (max-width: 480px) {
  /* Further optimize for very small screens */
  .capability-card,
  .offering-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  /* Single column layout with narrower gaps */
  .capabilities-grid,
  .offerings-grid {
    gap: 1rem;
  }
  
  /* Reduce section spacing on small mobile */
  .what-we-do-section,
  .capabilities-section,
  .uptime-section,
  .progress-section {
    padding-top: calc(var(--space-xl) + 1rem);
    padding-bottom: calc(var(--space-xl) + 1rem);
  }
  
  /* Even more space reduction on tiny screens */
  .section-divider {
    padding: 0;
  }
  
  /* Notification bar smaller padding */
  .notification-bar {
    padding: 0.35rem 0;
  }
  
  .notification-content {
    padding: 0.25rem;
  }
  
  .notification-message {
    width: calc(100% - 30px);
    text-align: left;
    align-items: flex-start;
  }
  
  .notification-text {
    font-size: 0.85rem;
  }
  
  .notification-subtext {
    font-size: 0.7rem;
  }
  
  .dismiss-btn {
    padding: 0.35rem;
    min-width: 30px;
    min-height: 30px;
    margin-left: 0.5rem;
  }
  
  /* Further compress footer on mobile */
  .footer {
    padding: var(--space-xs) 0 var(--space-sm);
  }
  
  .footer-content {
    gap: 0.3rem;
  }
  
  .footer-copyright {
    margin: 0.15rem 0 0.3rem;
  }
  
  .footer-tagline {
    margin-top: 0.15rem;
    font-size: 0.75rem;
  }
  
  .footer-brand {
    margin-bottom: 0.15rem;
  }
  
  .footer-contact a {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
  }
}

/* End of file */