﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Malayalam:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  /* Brand Core Palette */
  --primary-color: #222c78;
  --secondary-color: #00a8c7;
  --secondary-light: #38c8e5;
  --pure-white: #FFFFFF;
  
  /* Deep Navy & Indigo Surfaces */
  --bg-darkest: #070a1e;
  --bg-indigo-950: #0b102e;
  --bg-indigo-900: #101742;
  --bg-indigo-850: #162054;
  --bg-indigo-800: #1e296b;
  
  /* Glass Cards */
  --bg-card: rgba(16, 23, 66, 0.75);
  --bg-card-hover: rgba(22, 32, 84, 0.88);
  
  /* Borders */
  --border-cyan: rgba(0, 168, 199, 0.28);
  --border-primary: rgba(34, 44, 120, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(0, 168, 199, 0.7);
  
  /* Buttons & Gradients */
  --btn-cyan-gradient: linear-gradient(135deg, #00c6eb 0%, #00a8c7 50%, #0087a1 100%);
  --btn-cyan-hover: linear-gradient(135deg, #33d4f2 0%, #00b9db 50%, #009abb 100%);
  --btn-primary-gradient: linear-gradient(135deg, #2b3899 0%, #222c78 50%, #171e54 100%);
  
  /* Text */
  --text-primary: #FFFFFF;
  --text-secondary: #D4DCF2;
  --text-muted: #9BA8CE;
  --text-dim: #6F7DAB;
  
  /* Glows & Shadows */
  --shadow-cyan: 0 10px 30px -8px rgba(0, 168, 199, 0.4);
  --shadow-card: 0 20px 40px -15px rgba(4, 7, 24, 0.75);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Noto Sans Malayalam', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-darkest);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(34, 44, 120, 0.48), transparent 70%),
    radial-gradient(ellipse 60% 40% at 90% 35%, rgba(0, 168, 199, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 70%, rgba(34, 44, 120, 0.25), transparent 60%);
  background-attachment: fixed;
}

/* Ambient glow backgrounds */
.ambient-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 44, 120, 0.42) 0%, rgba(7, 10, 30, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-cyan {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 168, 199, 0.15) 0%, rgba(0, 168, 199, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(50px);
}

/* Typography styles */
.font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', 'Noto Sans Malayalam', sans-serif;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #38c8e5 50%, #00a8c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.silver-gradient-text {
  background: linear-gradient(180deg, #FFFFFF 30%, #BAC7E8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Primary Cyan CTA Button */
.btn-cyan {
  background: var(--btn-cyan-gradient);
  color: #FFFFFF;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.95rem 2rem;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-cyan);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.btn-cyan:hover {
  background: var(--btn-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 35px -6px rgba(0, 168, 199, 0.55);
  color: #FFFFFF;
}

.btn-cyan:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(34, 44, 120, 0.35);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(10px);
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(34, 44, 120, 0.55);
  border-color: var(--secondary-color);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Glassmorphic Cards */
.premium-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.premium-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-cyan);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(4, 7, 24, 0.8), 0 0 24px 0 rgba(0, 168, 199, 0.12);
}

.card-cyan-accent {
  border-top: 2px solid var(--secondary-color);
}

.card-badge {
  background: rgba(0, 168, 199, 0.12);
  border: 1px solid rgba(0, 168, 199, 0.35);
  color: var(--secondary-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Sticky CTA Bar */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 16, 46, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(0, 168, 199, 0.35);
  box-shadow: 0 -10px 30px rgba(4, 7, 24, 0.65), 0 -1px 15px rgba(0, 168, 199, 0.15);
  z-index: 990;
  padding: 0.85rem 1.5rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Padding fix so bottom sticky bar never obscures footer */
.page-bottom-padding {
  padding-bottom: 6rem;
}

/* Form Styles */
.form-input {
  width: 100%;
  background: rgba(12, 18, 52, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.75rem;
  padding: 0.95rem 1.15rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: rgba(18, 27, 72, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 168, 199, 0.25);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2300a8c7'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.15rem center;
  background-size: 1.15rem;
}

/* Accordion */
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease;
}

.faq-button {
  width: 100%;
  text-align: left;
  padding: 1.35rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
}

.faq-button:hover {
  color: var(--secondary-light);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-content.open {
  max-height: 600px;
  padding-bottom: 1.35rem;
  transition: max-height 0.5s ease-in-out;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-button[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

/* Scroll Fade Animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Navigation link active state */
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
  text-decoration: none;
  padding: 0.35rem 0;
}

.nav-link:hover {
  color: #FFFFFF;
}

.nav-link.active {
  color: var(--secondary-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--btn-cyan-gradient);
  border-radius: 2px;
}

/* Pulse animation */
@keyframes soft-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 168, 199, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 168, 199, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 168, 199, 0);
  }
}

.pulse-cyan {
  animation: soft-pulse 2.2s infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: rgba(34, 44, 120, 0.6);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}
