/* Modern Global Styles for Ndotonic Platform */

:root {
  --bg-dark: #060807;
  --bg-card: rgba(12, 15, 14, 0.78);
  --text-main: #e8ece9;
  --text-muted: #9aa8a0;
  --accent-primary: #c9a227;
  --accent-secondary: #e0bc3a;
  --border-light: rgba(42, 61, 50, 0.45);
  --glass-bg: rgba(6, 8, 7, 0.72);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.45), 0 10px 10px -5px rgba(0, 0, 0, 0.25);
}

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

html {
  height: 100%;
  min-height: 100vh;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  overflow-x: hidden;
}

/* Typography — Syne for display (glc-theme sets body bg) */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

/* Base Container */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

/* Call to Action Buttons */
.cta-btn {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0a0b0a;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201, 162, 39, 0.35);
  filter: brightness(1.06);
}

/* Category Cards Layout */
.categories {
  padding: 4rem 2rem;
  text-align: center;
}

.categories h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(to right, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Premium Card Styling */
.category-cards .card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 0;
  text-align: left;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  min-height: 380px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.category-cards .card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.category-cards .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(201, 162, 39, 0.28);
}

.category-cards .card:hover::before {
  opacity: 1;
}

.category-cards .card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.5s ease;
}

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

.category-cards .card a {
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
}

.category-cards .card a h3 {
  color: var(--text-main);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.category-cards .card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Sections */
.about, .contact {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 5rem 2rem;
  text-align: center;
  color: var(--text-main);
}

/* Responsive */
@media (max-width: 600px) {
  .categories h2 {
    font-size: 2rem;
  }
}