@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #05070d;
  --surface-main: #111827;
  --surface-secondary: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #1f2937;
  --primary-glow: rgba(79, 172, 254, 0.3);
  --primary-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(11, 15, 25, 0.7);
}

:root[data-theme="light"] {
  --bg-color: #ffffff;
  --surface-main: #f3f4f6;
  --surface-secondary: #e5e7eb;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: #d1d5db;
  --glass-bg: rgba(255, 255, 255, 0.75);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Typography Headings */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

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

/* HEADER - Glassmorphism */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

nav a {
  margin-left: 32px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-muted);
}

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

/* CONTAINERS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 8px;
}

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

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

.btn-secondary {
  background: var(--surface-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: var(--surface-main);
  border-color: #4facfe;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  animation: pulseFloat 2s infinite ease-in-out alternate;
}

@keyframes pulseFloat {
  0% { transform: translateY(0); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); }
  100% { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 60px 20px 40px;
  border-top: 1px solid var(--border-color);
  margin-top: 80px;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-contact {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-contact a:hover {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-copy {
  margin-top: 24px;
  font-size: 14px;
  color: #64748b;
}

/* Page Standard padding for fixed header */
.page-wrapper {
  padding-top: 100px;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 24px;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
  vertical-align: middle;
}

.theme-toggle:hover {
  border-color: #4facfe;
  color: #4facfe;
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: 2px solid #4facfe;
  outline-offset: 2px;
}

/* Light-mode header border */
:root[data-theme="light"] header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

:root[data-theme="light"] .whatsapp-float {
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}
