/* 
  Podledger Premium Design System
  Theme: Dark, Modern, Infrastructure/Tech
*/

:root {
  /* Colors */
  --bg-dark: #0f111a;
  --bg-card: #1a1d2d;
  --bg-card-hover: #22253a;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-accent: #38bdf8;

  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.4);

  --secondary: #818cf8;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);

  --border-color: rgba(255, 255, 255, 0.08);

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

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

.container {
  max-width: var(--container-width);
  padding: 0 2rem;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Components */
.section {
  padding: 6rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(15, 17, 26, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
}

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 80px;
  width: auto;
}

nav ul {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  color: var(--text-muted);
}

nav a:hover {
  color: var(--text-main);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 6rem);
  padding-bottom: 6rem;
  overflow: hidden;
}

/* Background grid effect */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.hero-image-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  padding: 8px;
  /* Inner glow spacing */
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.2) 0%, rgba(0, 0, 0, 0) 100%);
  box-shadow: 0 0 100px -20px rgba(56, 189, 248, 0.2);
}

.hero-image {
  border-radius: 8px;
  width: 100%;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
}

.partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 4rem;
  opacity: 0.6;
}

.partners img {
  height: 32px;
  filter: grayscale(100%) brightness(1.2);
  transition: filter 0.3s;
}

.partners img:hover {
  filter: grayscale(0) brightness(1);
}

/* Icon Styles */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

/* Large Icon Styles */
.icon-box-lg {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  margin-left: auto;
  /* Center in card */
  margin-right: auto;
}

.icon-box-lg svg {
  width: 40px;
  height: 40px;
}

/* Feature List in Solution */
.feature-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-bottom {
  text-align: center;
  font-size: 0.875rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  nav {
    display: none;
    /* Mobile menu todo */
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* New Animations */

/* Floating Animation */
@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.float {
  animation: float 6s ease-in-out infinite;
}

/* Pulse Glow Animation */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 4px 14px var(--primary-glow);
  }

  50% {
    box-shadow: 0 4px 25px rgba(56, 189, 248, 0.6);
  }

  100% {
    box-shadow: 0 4px 14px var(--primary-glow);
  }
}

.pulse {
  animation: pulse-glow 3s infinite;
}

/* Texture/Gradient Shimmer */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.text-gradient {
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
}

/* Staggered Delays for Animate-in */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}