/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

/* ROOT VARIABLES */
:root {
  --bg-dark: #0F1218;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-card: rgba(255, 255, 255, 0.1);
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-gradient: linear-gradient(90deg, #818cf8, #2dd4bf);
  --accent-glow-start: #818cf8;
  --accent-glow-end: #2dd4bf;
  --container-width: 1200px;
}

/* GLOBAL RESET & STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ANIMATED BACKGROUND */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, rgba(129, 140, 248, 0.1), transparent 30%), 
                radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.1), transparent 30%);
    animation: pulse-glow 15s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { background: radial-gradient(circle at 20% 20%, rgba(129, 140, 248, 0.1), transparent 30%), radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.1), transparent 30%); }
    50% { background: radial-gradient(circle at 80% 20%, rgba(129, 140, 248, 0.1), transparent 30%), radial-gradient(circle at 20% 70%, rgba(45, 212, 191, 0.1), transparent 30%); }
    100% { background: radial-gradient(circle at 20% 20%, rgba(129, 140, 248, 0.1), transparent 30%), radial-gradient(circle at 80% 70%, rgba(45, 212, 191, 0.1), transparent 30%); }
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

h1 { font-size: clamp(3rem, 10vw, 6rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 7vw, 3.5rem); line-height: 1.2; }
h3 { font-size: 1.75rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }
a { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-glow-end); }

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

/* LAYOUT */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* HEADER & NAVIGATION */
.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  background: rgba(15, 18, 24, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-card);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  position: relative;
  padding-bottom: 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding-top: 0;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content .subheadline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 1rem;
}

.btn-primary {
  background: var(--text-gradient);
  color: var(--bg-dark);
}

.btn-primary:hover {
  box-shadow: 0 0 25px var(--accent-glow-start);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--accent-glow-end);
  box-shadow: 0 0 15px rgba(45, 212, 191, 0.5);
  transform: translateY(-3px);
}


/* TRUST BAR */
.trust-bar {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.trust-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 2rem;
  filter: grayscale(1) opacity(0.4);
}

.trust-logos span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

/* GLASSMORPHISM CARD */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-card .icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--text-gradient);
    border-radius: 8px;
    color: var(--bg-dark);
    text-align: center;
    line-height: 32px;
    font-weight: bold;
}

/* SOLUTIONS PAGE - TIMELINE */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: var(--text-gradient);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-dark);
    border: 3px solid var(--accent-glow-end);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    backdrop-filter: blur(10px);
    position: relative;
    border-radius: 6px;
}

/* ACADEMY PAGE */
.academy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.webinar-card {
    overflow: hidden;
}

.webinar-card .thumbnail {
    height: 200px;
    background: linear-gradient(45deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.webinar-card .card-content {
    padding: 1.5rem;
}

/* CONTACT PAGE */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.contact-form .form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--accent-glow-end);
    box-shadow: 0 0 10px rgba(45, 212, 191, 0.5);
}

/* FOOTER */
.site-footer {
  background-color: #0c0e12;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-card);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-column h4 {
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-column p, .footer-column a {
  color: var(--text-secondary);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-secondary);
}

.footer-bottom p {
    font-size: 0.8rem;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 18, 24, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-primary);
  padding: 1.5rem;
  z-index: 1000;
  border-top: 1px solid var(--border-card);
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 1rem;
}

/* FADE-IN ANIMATION */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-menu { display: none; /* Simplification for this example, would need a mobile menu toggle */ }
    .cta-buttons { flex-direction: column; }
    .contact-grid { grid-template-columns: 1fr; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.left::after, .timeline-item.right::after { left: 15px; }
    .timeline-item.right { left: 0%; }
    .cookie-content { flex-direction: column; }
}
