/* Fallback CSS - Modern Dark Theme */
* {
  box-sizing: border-box;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #020617;
  color: #f1f5f9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #f1f5f9;
  font-weight: 600;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: bold;
}

.nav-links {
  display: none;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  position: relative;
}

.nav-link:hover {
  color: #60a5fa;
  background-color: rgba(30, 41, 59, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #3b82f6;
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Main content */
main {
  padding-top: 4rem;
}

/* Hero section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #020617, #1e293b, #1e40af);
}

.hero-content {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  color: #f1f5f9;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #3b82f6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero p {
  font-size: 1.25rem;
  color: #94a3b8;
  margin-bottom: 2rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
  margin: 0.5rem;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: rgba(30, 41, 59, 0.5);
  color: #e2e8f0;
  border: 1px solid rgba(51, 65, 85, 0.5);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(71, 85, 105, 0.5);
}

/* Cards */
.card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  border: 1px solid rgba(30, 41, 59, 0.5);
  padding: 2rem;
  transition: all 0.3s;
}

.card:hover {
  border-color: rgba(51, 65, 85, 0.5);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.1);
}

.card h3 {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card p {
  color: #94a3b8;
  line-height: 1.6;
}

/* Post cards */
.post-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  border: 1px solid rgba(30, 41, 59, 0.5);
  overflow: hidden;
  transition: all 0.3s;
  position: relative;
}

.post-card:hover {
  border-color: rgba(51, 65, 85, 0.5);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.1);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.post-card-content {
  padding: 1.5rem;
}

.post-card h2 {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-card p {
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

/* Sections */
.section {
  padding: 6rem 0;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 1rem;
}

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

.section-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #f1f5f9;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: #94a3b8;
  max-width: 48rem;
  margin: 0 auto;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Footer */
footer {
  background: #0f172a;
  border-top: 1px solid #1e293b;
  padding: 3rem 0;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  color: #f1f5f9;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 28rem;
}

.footer-links h3 {
  color: #e2e8f0;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #60a5fa;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}

/* Utilities */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive utilities */
@media (max-width: 767px) {
  .md\:hidden {
    display: none;
  }
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex {
    display: flex;
  }
}

