/* ===== CSS Variables ===== */
:root {
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #e94560;
  --color-accent-hover: #ff6b6b;
  --color-text: #eaeaea;
  --color-text-muted: #a0a0a0;
  --color-card-bg: rgba(255, 255, 255, 0.08);
  --color-card-border: rgba(255, 255, 255, 0.12);
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.3);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--color-text);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, #0f3460 100%);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(79, 172, 254, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Navigation ===== */
.top-nav {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  z-index: 100;
  animation: slideInRight 0.6s var(--transition-smooth) both;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-button svg {
  flex-shrink: 0;
}

.nav-button-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, #ff6b6b 100%);
  border-color: transparent;
}

.nav-button-accent:hover {
  background: linear-gradient(135deg, #ff6b6b 0%, var(--color-accent) 100%);
  box-shadow: 0 8px 32px rgba(233, 69, 96, 0.4);
}

/* ===== Container ===== */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 60px 24px 40px;
  position: relative;
  z-index: 1;
}

/* ===== Hero Section ===== */
.hero-section {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.8s var(--transition-smooth) both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-logo {
  width: 45vw;
  max-width: 380px;
  min-width: 200px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1) drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
  transition: transform var(--transition-smooth);
}

.main-logo:hover {
  transform: scale(1.02);
}

.tagline {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0;
}

/* ===== Section Title ===== */
.section-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  position: relative;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.2s both;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

/* ===== Brand Logos Grid ===== */
.brand-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
  animation: fadeInUp 0.8s var(--transition-smooth) 0.4s both;
}

.brand-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.brand-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(233, 69, 96, 0.1);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-smooth);
  filter: brightness(1.05);
}

.brand-card:hover .brand-logo {
  transform: scale(1.08);
}

/* ===== Footer ===== */
.footer {
  width: 100%;
  padding: 40px 24px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.footer-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer-address svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
  .brand-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .brand-card {
    padding: 16px;
    border-radius: 20px;
  }
}

@media (max-width: 600px) {
  .top-nav {
    padding: 12px;
    gap: 8px;
  }
  
  .nav-button {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
  
  .container {
    padding: 80px 16px 32px;
  }
  
  .main-logo {
    width: 70vw;
    max-width: 280px;
    margin-bottom: 16px;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 0.85rem;
    margin-bottom: 32px;
  }
  
  .brand-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .brand-card {
    padding: 12px;
    border-radius: 16px;
  }
  
  .footer-address {
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .brand-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .nav-button span {
    display: none;
  }
}
