/* Fonts */
@import url('../fonts/fonts.css');

/* Variables */
:root {
  --primary: #9446ED; /* The bright purple from the design */
  --primary-hover: #7b38d3;
  --bg-color: #FAFAFC;
  --text-dark: #1A1D20;
  --text-gray: #6B7280;
  --border-color: #EAEAEA;
  --white: #FFFFFF;
  --font-family: 'Inter', sans-serif;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.store-btn img {
  height: 48px !important;
  width: auto !important;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-gray { color: var(--text-gray); }
.text-white { color: var(--white); }

.bg-white { background-color: var(--white); }
.bg-primary { background-color: var(--primary); }
.bg-transparent { background-color: transparent; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.d-none { display: none; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.justify-content-start { justify-content: flex-start; }

.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.gap-4 { gap: 32px; }
.gap-5 { gap: 48px; }
.gap-6 { gap: 64px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  background-color: rgba(255,255,255,0.9);
}

.btn-glass {
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--white);
  border-radius: 40px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}
.btn-glass:hover {
  background-color: rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

/* Header */
.header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition: background-color 0.3s;
  background: transparent;
}

.header.scrolled {
  background: rgba(30, 8, 70, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header.light {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}
.header.light .logo {
  color: var(--text-dark);
}
.logo img {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}
.header.light .nav-links a {
  color: var(--text-gray);
}
.header.light .nav-links a:hover,
.header.light .nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
}
.header.light .mobile-menu-btn {
  color: var(--text-dark);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: 100px 0;
}
.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 48px;
}
.section-tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Footer */
.footer {
  background-color: #120D23;
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
}

.footer-col .logo {
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    color: var(--text-dark) !important;
    padding: 12px 24px;
    width: 100%;
  }
  .header .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
