/* ==========================================================================
   GooEdu System — Ultra-Responsive SaaS Landing Page Stylesheet
   Color Palette: Oceanic Blue (#0284c7) -> Sky Cyan (#06b6d4) -> Emerald Turquoise (#10b981)
   ========================================================================== */

:root {
  --goo-ocean: #0284c7;
  --goo-cyan: #06b6d4;
  --goo-emerald: #10b981;
  --goo-dark: #0f172a;
  --goo-slate: #334155;
  --goo-muted: #475569;
  --goo-light: #f8fafc;
  --goo-white: #ffffff;

  --goo-gradient-primary: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #10b981 100%);
  --goo-gradient-reverse: linear-gradient(135deg, #10b981 0%, #06b6d4 50%, #0284c7 100%);
  --goo-gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(6, 182, 212, 0.18) 50%, rgba(16, 185, 129, 0.2) 100%);
  
  --goo-shadow-sm: 0 4px 6px -1px rgba(2, 132, 199, 0.08);
  --goo-shadow-md: 0 10px 25px -5px rgba(2, 132, 199, 0.16);
  --goo-shadow-lg: 0 20px 40px -15px rgba(6, 182, 212, 0.28);
  --goo-shadow-glow: 0 0 25px rgba(6, 182, 212, 0.4);

  --goo-radius-sm: 12px;
  --goo-radius-md: 20px;
  --goo-radius-lg: 32px;
  --goo-radius-pill: 9999px;
  --goo-radius-arch: 100px 100px 24px 24px;

  --goo-font-family: 'Cairo', 'Readex Pro', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  font-family: var(--goo-font-family);
  direction: rtl;
  text-align: right;
  background-color: var(--goo-light);
  color: var(--goo-dark);
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Typography Scaling
   -------------------------------------------------------------------------- */
.goo-section-title {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--goo-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.goo-section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--goo-muted);
  max-width: 720px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

.text-gradient {
  background: var(--goo-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Buttons & Floating Animated Badges
   -------------------------------------------------------------------------- */
.goo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--goo-radius-pill);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

@media (max-width: 576px) {
  .goo-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

.goo-btn-primary {
  background: var(--goo-gradient-primary);
  color: var(--goo-white) !important;
  box-shadow: var(--goo-shadow-md);
}

.goo-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--goo-shadow-glow);
}

.goo-btn-secondary {
  background: var(--goo-white);
  color: var(--goo-ocean) !important;
  border: 2px solid var(--goo-cyan);
  box-shadow: var(--goo-shadow-sm);
}

.goo-btn-secondary:hover {
  background: var(--goo-gradient-glow);
  transform: translateY(-2px);
}

.goo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--goo-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--goo-gradient-glow);
  color: var(--goo-ocean);
  border: 1px solid rgba(6, 182, 212, 0.3);
  margin-bottom: 12px;
}

/* Dynamic Animated Floating Glass Cards */
.goo-floating-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-radius: var(--goo-radius-pill);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.25);
  border: 2px solid rgba(6, 182, 212, 0.4);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--goo-dark);
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.goo-floating-card-1 {
  top: 6%;
  right: -4%;
  animation-delay: 0s;
}

.goo-floating-card-2 {
  bottom: 8%;
  left: -4%;
  animation-delay: 1.5s;
}

.goo-floating-card-3 {
  top: 45%;
  right: -6%;
  animation-delay: 2.5s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@media (max-width: 991px) {
  .goo-floating-card {
    position: relative;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    animation: floatAnim 4s ease-in-out infinite alternate;
    margin: 6px;
  }
}

/* --------------------------------------------------------------------------
   Navbar Styling
   -------------------------------------------------------------------------- */
.goo-navbar {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 0;
}

.goo-nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--goo-dark);
  text-decoration: none;
}

.goo-nav-logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--goo-gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.goo-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--goo-slate);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 8px 12px;
}

.goo-nav-link:hover {
  color: var(--goo-ocean);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.goo-hero-section {
  padding: 60px 0 80px 0;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.14) 0%, transparent 45%),
              radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.12) 0%, transparent 45%);
}

.goo-hero-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.25;
  margin: 16px 0;
}

.goo-hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--goo-slate);
  margin-bottom: 30px;
}

.goo-hero-img-box {
  width: 100%;
  border-radius: var(--goo-radius-lg);
  overflow: hidden;
  box-shadow: var(--goo-shadow-lg);
  border: 4px solid var(--goo-white);
  background: var(--goo-white);
  position: relative;
}

.goo-hero-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Visual Grid & Pillars Cards
   -------------------------------------------------------------------------- */
.goo-visual-grid-section {
  padding: 70px 0;
  background: var(--goo-white);
}

.goo-grid-card {
  height: 100%;
  background: var(--goo-light);
  border-radius: var(--goo-radius-md);
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.goo-grid-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--goo-shadow-md);
  border-color: var(--goo-cyan);
}

/* --------------------------------------------------------------------------
   Pill Cards Section
   -------------------------------------------------------------------------- */
.goo-pill-section {
  padding: 70px 0;
  background: var(--goo-light);
}

.goo-pill-card {
  height: 100%;
  background: var(--goo-white);
  border-radius: var(--goo-radius-lg);
  padding: 28px 24px;
  box-shadow: var(--goo-shadow-sm);
  border-top: 4px solid var(--goo-ocean);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.goo-pill-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--goo-shadow-lg);
}

.goo-pill-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--goo-gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   Comparison Section Cards
   -------------------------------------------------------------------------- */
.goo-comparison-section {
  padding: 70px 0;
  background: var(--goo-white);
}

.goo-compare-card {
  height: 100%;
  background: var(--goo-light);
  border-radius: var(--goo-radius-md);
  padding: 28px 24px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.goo-compare-card-featured {
  background: var(--goo-white);
  border-color: var(--goo-cyan);
  box-shadow: var(--goo-shadow-lg);
}

.goo-icon-badge-success {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--goo-emerald);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-weight: bold;
}

.goo-icon-badge-danger {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   App Download Section
   -------------------------------------------------------------------------- */
.goo-app-section {
  background: var(--goo-gradient-primary);
  color: var(--goo-white);
  border-radius: var(--goo-radius-lg);
  padding: clamp(32px, 5vw, 60px);
  box-shadow: var(--goo-shadow-lg);
}

.goo-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.9);
  color: var(--goo-white);
  border-radius: var(--goo-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.goo-app-btn:hover {
  background: var(--goo-dark);
  color: white;
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   High-Contrast Footer (Crisp Readable Arabic Text)
   -------------------------------------------------------------------------- */
.goo-footer {
  background: #090d16;
  color: #ffffff !important;
  padding: 60px 0 30px 0;
}

.goo-footer h4, .goo-footer h5, .goo-footer h6 {
  color: #ffffff !important;
  font-weight: 800;
}

.goo-footer p {
  color: #e2e8f0 !important;
  font-size: 0.95rem;
  line-height: 1.7;
}

.goo-footer-link {
  color: #cbd5e1 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.goo-footer-link:hover {
  color: var(--goo-cyan) !important;
  transform: translateX(-4px);
}

.goo-footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #f8fafc !important;
  text-align: center;
}
