/* GTM Hub - Editorial Gaming Interface Stylesheet */
/* Created: Nov 2025 */
/* Design: Dark theme with cyan/lime gradients and gaming UI elements */

/* Design System Variables */
:root {
  --color-deep-indigo: #0F172A;
  --color-indigo-900: #1E293B;
  --color-indigo-800: #334155;
  --color-cyan: #06B6D4;
  --color-cyan-light: #22D3EE;
  --color-lime: #84CC16;
  --color-amber: #F59E0B;
  --color-amber-light: #FCD34D;
  --color-rose: #F43F5E;
  --color-slate-50: #F8FAFC;
  --color-slate-100: #F1F5F9;
  --color-slate-200: #E2E8F0;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-deep-indigo);
  color: var(--color-slate-100);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise Texture Overlay - Using external SVG file instead of data URI */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("/assets/noise.svg");
  z-index: 1000;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.1;
}

/* Navigation */
.gtm-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

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

.gtm-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.gtm-logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-lime));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  color: var(--color-deep-indigo);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.gtm-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.5px;
}

.gtm-nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.gtm-nav-link {
  color: var(--color-slate-100);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.gtm-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cyan);
  transition: width 0.3s;
}

.gtm-nav-link:hover {
  color: var(--color-cyan);
}

.gtm-nav-link:hover::after {
  width: 100%;
}

.gtm-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.gtm-btn-primary {
  background: linear-gradient(135deg, var(--color-cyan), var(--color-lime));
  color: var(--color-deep-indigo);
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.gtm-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(6, 182, 212, 0.4);
}

.gtm-btn-secondary {
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-cyan);
  border: 2px solid var(--color-cyan);
}

.gtm-btn-secondary:hover {
  background: var(--color-cyan);
  color: var(--color-deep-indigo);
}

/* Hero Section */
.gtm-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gtm-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(132, 204, 22, 0.1), transparent 50%);
}

.gtm-hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  opacity: 0.5;
}

.gtm-hero-content {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.gtm-hero-main h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, white, var(--color-cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gtm-hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--color-slate-200);
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.4;
}

.gtm-hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gtm-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(6, 182, 212, 0.2);
}

.gtm-stat {
  text-align: left;
}

.gtm-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-amber);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.gtm-stat-label {
  font-size: 0.9rem;
  color: var(--color-slate-200);
  font-weight: 500;
}

/* Skill Cards */
.gtm-hero-sidebar {
  position: relative;
}

.gtm-skill-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.gtm-skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-cyan), var(--color-lime));
  opacity: 0;
  transition: opacity 0.3s;
}

.gtm-skill-card:hover {
  transform: translateX(8px);
  border-color: var(--color-cyan);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.2);
}

.gtm-skill-card:hover::before {
  opacity: 1;
}

.gtm-skill-level {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-lime));
  color: var(--color-deep-indigo);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gtm-skill-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.5rem;
}

.gtm-skill-desc {
  color: var(--color-slate-200);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.gtm-skill-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-cyan-light);
}

/* Achievement Badge */
.gtm-achievement {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-amber), var(--color-rose));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Section Styles */
.gtm-section {
  padding: 6rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.gtm-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.gtm-section-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-cyan);
  border: 1px solid var(--color-cyan);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.gtm-section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, white, var(--color-cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gtm-section-subtitle {
  font-size: 1.25rem;
  color: var(--color-slate-200);
  max-width: 700px;
  margin: 0 auto;
}

/* Feature Grid */
.gtm-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.gtm-feature-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s;
}

.gtm-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-cyan);
  background: rgba(30, 41, 59, 0.6);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.15);
}

.gtm-feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.gtm-feature-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: white;
}

.gtm-feature-desc {
  color: var(--color-slate-200);
  line-height: 1.7;
}

/* Case Studies */
.gtm-cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.gtm-case-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.gtm-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-lime));
}

.gtm-case-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.2);
}

.gtm-case-amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.gtm-case-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1rem;
}

.gtm-case-desc {
  color: var(--color-slate-200);
  line-height: 1.6;
}

/* CTA Section */
.gtm-cta-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(132, 204, 22, 0.1));
  border: 2px solid var(--color-cyan);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  margin-top: 4rem;
}

.gtm-cta-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.gtm-cta-subtitle {
  font-size: 1.25rem;
  color: var(--color-slate-200);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gtm-cta-button {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-lime));
  color: var(--color-deep-indigo);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.3);
}

.gtm-cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.5);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  .gtm-hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .gtm-hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gtm-nav-links {
    display: none;
  }

  .gtm-cases {
    grid-template-columns: 1fr;
  }

  .gtm-features {
    grid-template-columns: 1fr;
  }
}

/* Scroll Animations */
.gtm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

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