/* Base Variables */
:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --accent: #eab308;
  --accent-hover: #ca8a04;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #334155;
  
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-accent {
  color: var(--accent);
}

.bg-darker {
  background-color: var(--bg-darker);
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-darker);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(234, 179, 8, 0.4);
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-text {
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-text:hover {
  gap: 0.75rem;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition);
}

nav.scrolled {
  padding: 1rem 0;
  background-color: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

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

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(2,6,23,0.95) 0%, rgba(15,23,42,0.8) 50%, rgba(15,23,42,0.4) 100%);
  z-index: -1;
}

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

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

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

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Features */
.section-title {
  margin-bottom: 4rem;
}

.subtitle {
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: 2.5rem;
}

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

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

.feature-card {
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: rgba(234, 179, 8, 0.3);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(234, 179, 8, 0.1);
  color: var(--accent);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Products */
.title-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.view-all {
  color: var(--text-main);
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

.view-all:hover {
  color: var(--accent);
}

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

.product-card {
  background-color: var(--bg-dark);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--accent);
  color: var(--bg-darker);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
}

.product-info {
  padding: 2rem;
}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.product-info p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

/* CTA Banner */
.cta-banner {
  padding: 4rem 0;
  background-color: var(--bg-dark);
}

.cta-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 41, 59, 0.5) 100%);
  border-radius: 1.5rem;
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.1;
  border-radius: 50%;
}

.cta-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 1.125rem;
}

.cta-action {
  position: relative;
  z-index: 1;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(234, 179, 8, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0); }
}

/* Footer */
.footer {
  background-color: var(--bg-darker);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--bg-darker);
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--text-muted);
}

.footer-links ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact ul li {
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact ul li i {
  color: var(--accent);
  margin-top: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.payments {
  font-size: 1.5rem;
  display: flex;
  gap: 1rem;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .features-grid, .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  
  .hero-content { text-align: center; margin: 0 auto; }
  .hero h1 { font-size: 2.5rem; }
  .hero-buttons { justify-content: center; flex-direction: column; }
  .hero-stats { justify-content: center; flex-wrap: wrap; text-align: center; }
  .divider { display: none; }
  
  .features-grid, .products-grid { grid-template-columns: 1fr; }
  
  .title-flex { flex-direction: column; gap: 1rem; align-items: flex-start; }
  
  .cta-box { flex-direction: column; text-align: center; gap: 2rem; padding: 2rem; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column-reverse; gap: 1rem; text-align: center; }
}

/* Mobile Menu Active State */
.nav-links.mobile-active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--bg-darker);
  padding: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
