/* ============================================
   ElectraCode — Global Tokens & Resets
   ============================================ */

:root {
  --brand-blue: #1A4C8B;
  --electric-blue: #3FA9F5;
  --cyan: #00E5FF;
  --teal: #2ED9C3;
  --neon-green: #A6E22E;
  --dark-navy: #0A1E33;
  --dark-surface: #11171F;
  --dark-elevated: #172537;
  --light-bg: #F5F9FF;
  --white: #FFFFFF;
  --text-primary: #1A1A1A;
  --text-secondary: #4E4E4E;
  --text-muted: #7A869A;
  --border-light: #D8E1E8;
  --border-dark: #243447;

  --success: #22C55E;
  --warning: #F59E0B;
  --error: #EF4444;
  --info: #3FA9F5;
}

/* ============================================
   Global Reset
   ============================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {

  min-height:100vh;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(63,169,245,.18),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      #0A1E33 0%,
      #1A4C8B 55%,
      #3FA9F5 100%
    );

  color: var(--white);

  font-family: 'Poppins', sans-serif;

  line-height: 1.6;

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;

  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   Typography & Links
   ============================================ */

a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: color 0.25s ease;
  font-family: inherit;
}

a:hover {
  color: var(--white);
}

h1 {
  font-weight: 800;
}

h2 {
  font-weight: 700;
}

h3 {
  font-weight: 600;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================
   Layout
   ============================================ */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 24px);
  width: 100%;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  transition: 0.25s;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--electric-blue);
  color: var(--dark-navy);
}

.btn-primary:hover {
  background: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan);
}

/* ============================================
   Section Titles
   ============================================ */

.section-title {
  color: var(--white);
  font-size: clamp(1.4rem, 3.5vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.01em;
}

/* ============================================
   Accessibility
   ============================================ */

:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #071326;
}

::-webkit-scrollbar-thumb {
  background: #1A263B;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-blue);
}

/* ============================================
   Text Selection
   ============================================ */

::selection {
  background: rgba(63, 169, 245, 0.35);
  color: var(--white);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.9rem);
    margin-bottom: 36px;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 48px 16px 24px;
  }
}

/* ============================================
   Footer Styling
   ============================================ */
footer {
  background: #11171F;
  color: #FFFFFF;
  padding: 80px 20px 30px;
  position: relative;
  z-index: 10;
  width: 100%;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto 50px;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 50px;
}

.footer-section h3 {
  color: #00E5FF;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-section p {
  color: #7A869A;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 12px;
  color: #7A869A;
  font-size: 0.95rem;
}

.footer-section a {
  color: #7A869A;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-section a:hover {
  color: #A6E22E;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid #243447;
  padding-top: 28px;
  text-align: center;
  color: #7A869A;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-content .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
}
