/* ========================================
   ALANERA CREATIVE HUB - Design System
   ======================================== */

:root {
  /* Alanera Brand Colors */
  --gold: #d4a44a;
  --green: #5ef09d;
  --red: #ef4444;
  --blue: #7cb8ff;
  
  /* Muted text colors */
  --muted: #a7a7a7;
  --muted2: #8b8b8b;
  
  /* Background shades */
  --bg-primary: #1a1a1a;
  --bg-secondary: #222222;
  --bg-tertiary: #2a2a2a;
  --bg-card: #252525;
  --bg-card-hover: #2f2f2f;
  
  /* Text colors */
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: var(--muted);
  
  /* Borders */
  --border: #333333;
  --border-light: #404040;
  
  /* Accent variants */
  --gold-dark: #b8923f;
  --gold-light: #e0b85e;
  --green-dark: #4cd685;
  --red-dark: #d63c3c;
  --blue-dark: #6aa3e6;
  --blue-light: #9fd0ff;
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  --gradient-blue: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 20px rgba(212, 164, 74, 0.3);
  --shadow-blue: 0 0 20px rgba(124, 184, 255, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
h1 { font-size: 3rem; } h2 { font-size: 2.25rem; } h3 { font-size: 1.5rem; } h4 { font-size: 1.25rem; } h5 { font-size: 1rem; } h6 { font-size: 0.875rem; }
.text-gold { color: var(--gold); } .text-green { color: var(--green); } .text-red { color: var(--red); } .text-blue { color: var(--blue); }
.text-gradient { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* LAYOUT */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-lg); }
.section { padding: var(--space-3xl) 0; }
.grid { display: grid; gap: var(--space-lg); }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; } .flex-between { display: flex; align-items: center; justify-content: space-between; }

/* NAVIGATION */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26, 26, 26, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.navbar-content { display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 var(--space-lg); max-width: 1400px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: var(--space-md); font-size: 1.25rem; font-weight: 700; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: var(--space-xl); list-style: none; }
.nav-links a { color: var(--muted); font-weight: 500; transition: color var(--transition-fast); padding: var(--space-sm) 0; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--gold); transition: width var(--transition-normal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--space-md); }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 0.75rem 1.5rem; font-weight: 600; font-size: 0.875rem; border-radius: var(--radius-lg); transition: all var(--transition-fast); white-space: nowrap; }
.btn-primary { background: var(--gold); color: var(--bg-primary); box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--shadow-gold); }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border-light); }
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--blue); color: var(--blue); }
.btn-ghost { color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--blue); border-color: var(--blue); background: rgba(124, 184, 255, 0.1); }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: var(--radius-full); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }

/* CARDS */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; transition: all var(--transition-normal); }
.card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--bg-card-hover); }
.card-content { padding: var(--space-lg); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: var(--space-md); }
.card-title { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.card-badge { padding: 0.25rem 0.75rem; font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); background: var(--gold); color: var(--bg-primary); }
.card-badge.secondary { background: var(--muted2); color: var(--text-primary); }
.card-badge.accent { background: var(--green); color: var(--bg-primary); }
.card-badge.blue { background: var(--blue); color: var(--bg-primary); }
.card-badge.red { background: var(--red); color: var(--bg-primary); }
.card-meta { display: flex; align-items: center; gap: var(--space-lg); color: var(--muted); font-size: 0.875rem; margin-top: var(--space-md); padding-top: var(--space-md); border-top: 1px solid var(--border); }
.card-meta svg { width: 16px; height: 16px; margin-right: var(--space-xs); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 72px; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(212, 164, 74, 0.1) 0%, transparent 50%), radial-gradient(ellipse at 80% 50%, rgba(94, 240, 157, 0.05) 0%, transparent 50%), var(--bg-primary); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(124, 184, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 184, 255, 0.03) 1px, transparent 1px); background-size: 60px 60px; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-sm); padding: 0.5rem 1rem; background: rgba(94, 240, 157, 0.1); border: 1px solid var(--green); border-radius: var(--radius-full); font-size: 0.875rem; color: var(--green); margin-bottom: var(--space-xl); }
.hero-badge span { width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { margin-bottom: var(--space-lg); }
.hero p { font-size: 1.25rem; color: var(--muted); margin-bottom: var(--space-2xl); }
.hero-actions { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: var(--space-3xl); margin-top: var(--space-3xl); padding-top: var(--space-2xl); border-top: 1px solid var(--border); }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 2rem; font-weight: 700; color: var(--blue); }
.hero-stat-label { font-size: 0.875rem; color: var(--muted); margin-top: var(--space-xs); }

/* FEATURED */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: var(--space-xl); }
.section-title { margin-bottom: var(--space-xs); }
.section-subtitle { color: var(--muted); }
.featured-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; }
.featured-image { width: 100%; height: 100%; object-fit: cover; }
.featured-content { padding: var(--space-2xl); display: flex; flex-direction: column; justify-content: center; }
.featured-label { display: inline-block; padding: 0.25rem 0.75rem; background: rgba(124, 184, 255, 0.1); border: 1px solid var(--blue); border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; color: var(--blue); margin-bottom: var(--space-lg); width: fit-content; }
.featured-title { font-size: 1.75rem; margin-bottom: var(--space-md); }
.featured-description { color: var(--muted); margin-bottom: var(--space-lg); line-height: 1.7; }
.featured-content .tags { margin-bottom: var(--space-xl); }
.featured-meta { display: flex; gap: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--border); }
.featured-stat { text-align: center; }
.featured-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--blue); }
.featured-stat-label { font-size: 0.75rem; color: var(--muted); }

/* PROJECTS GRID */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-xl); }
.project-card { display: flex; flex-direction: column; }

/* FILTERS & TABS */
.filters { display: flex; gap: var(--space-sm); margin-bottom: var(--space-lg); flex-wrap: wrap; }
.filter-btn { padding: 0.5rem 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: 0.875rem; color: var(--muted); transition: all var(--transition-fast); }
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--bg-primary); }
.tabs { display: flex; gap: var(--space-xs); background: var(--bg-card); padding: var(--space-xs); border-radius: var(--radius-lg); width: fit-content; }
.tab-btn { padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: all var(--transition-fast); }
.tab-btn:hover { color: var(--gold); }
.tab-btn.active { background: var(--gold); color: var(--bg-primary); }

/* FORMS */
.form-input, .form-textarea, .form-select { width: 100%; padding: 0.875rem 1rem; background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--text-primary); font-size: 1rem; transition: all var(--transition-fast); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(124, 184, 255, 0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: var(--space-sm); color: var(--text-secondary); }
.form-group { margin-bottom: var(--space-lg); }
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: var(--space-xs); }
.form-section { max-width: 800px; margin: 0 auto; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-xl); }

/* FILE UPLOAD */
.file-upload { border: 2px dashed var(--border); border-radius: var(--radius-lg); padding: var(--space-2xl); text-align: center; cursor: pointer; transition: all var(--transition-fast); }
.file-upload:hover { border-color: var(--blue); background: rgba(124, 184, 255, 0.05); }
.file-upload svg { width: 48px; height: 48px; color: var(--muted); margin-bottom: var(--space-md); }
.file-upload-text { color: var(--muted); }
.file-upload-link { color: var(--blue); font-weight: 600; }

/* ROADMAP */
.roadmap-timeline { position: relative; padding-left: var(--space-2xl); }
.roadmap-timeline::before { content: ''; position: absolute; left: 4px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.roadmap-item { position: relative; padding: var(--space-xl); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); margin-bottom: var(--space-xl); }
.roadmap-item::before { content: ''; position: absolute; left: -24px; top: 8px; width: 12px; height: 12px; background: var(--bg-card); border: 2px solid var(--border); border-radius: 50%; }
.roadmap-item.completed::before { background: var(--green); border-color: var(--green); }
.roadmap-item.active::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 164, 74, 0.2); }
.roadmap-header { display: flex; align-items: center; gap: var(--space-md); margin-bottom: var(--space-md); }
.roadmap-stage { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.roadmap-item.active .roadmap-stage { color: var(--gold); }
.roadmap-title { font-size: 1.25rem; margin-bottom: var(--space-sm); }
.roadmap-description { color: var(--muted); margin-bottom: var(--space-md); }
.roadmap-progress { height: 4px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; }
.roadmap-progress-bar { height: 100%; background: linear-gradient(to right, var(--gold) 0%, var(--gold) 25%, var(--blue) 50%, var(--blue) 75%, var(--green) 100%); transition: width 1s ease; }

/* URGENT / WARNING - RED */
.urgent { border-left: 3px solid var(--red); }
.urgent .roadmap-stage { color: var(--red) !important; }
.deadline { color: var(--red); font-weight: 600; }
.warning-badge { background: var(--red); color: white; padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.error-message { background: rgba(239, 68, 68, 0.1); border: 1px solid var(--red); border-radius: var(--radius-lg); padding: var(--space-md); color: var(--red); }

/* PROFILE */
.profile-header { display: flex; gap: var(--space-xl); padding: var(--space-2xl); background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); margin-bottom: var(--space-xl); align-items: center; }
.profile-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--gradient-blue); display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 700; color: var(--bg-primary); flex-shrink: 0; overflow: hidden; }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-info { flex: 1; }
.profile-name { font-size: 1.75rem; margin-bottom: var(--space-sm); }
.profile-bio { color: var(--muted); margin-bottom: var(--space-md); }
.profile-stats { display: flex; gap: var(--space-xl); }
.profile-stat { text-align: center; }
.profile-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--blue); }
.profile-stat-label { font-size: 0.75rem; color: var(--muted); }

/* FOOTER */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border); padding: var(--space-3xl) 0; margin-top: var(--space-3xl); }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--space-2xl); }
.footer-brand { max-width: 280px; }
.footer-brand .logo img { height: 72px; width: auto; margin-bottom: var(--space-lg); }
.footer-brand p { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }
.footer-column { }
.footer-column h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); margin-bottom: var(--space-lg); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links li a { color: var(--muted); font-size: 0.875rem; transition: color var(--transition-fast); display: block; padding: 0.25rem 0; }
.footer-links li a:hover { color: var(--gold); }
.footer-bottom { margin-top: var(--space-2xl); padding-top: var(--space-xl); border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; color: var(--muted2); font-size: 0.875rem; }
.footer-social { display: flex; gap: var(--space-md); }
.footer-social a { width: 40px; height: 40px; border-radius: var(--radius-full); background: var(--bg-card); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); font-size: 1rem; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* RESPONSIVE */
@media (max-width: 1024px) { .footer-content { grid-template-columns: repeat(2, 1fr); } .featured-card { grid-template-columns: 1fr; } .featured-image { aspect-ratio: 16/9; } .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { h1 { font-size: 2rem; } h2 { font-size: 1.5rem; } .nav-links { display: none; } .hero-stats { flex-direction: column; gap: var(--space-xl); } .projects-grid { grid-template-columns: 1fr; } .footer-content { grid-template-columns: 1fr; } .profile-header { flex-direction: column; text-align: center; } .profile-stats { justify-content: center; } .hero-actions { flex-direction: column; } .hero-actions .btn { width: 100%; } }

/* ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.stagger-1 { animation-delay: 0.1s; } .stagger-2 { animation-delay: 0.2s; } .stagger-3 { animation-delay: 0.3s; } .stagger-4 { animation-delay: 0.4s; }
