/* Radical New Design - Complete Overhaul */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #0a0e27;
  --primary-blue: #1e3a8a;
  --accent-gold: #fbbf24;
  --accent-purple: #8b5cf6;
  --text-light: #f8fafc;
  --text-dark: #1e293b;
  --bg-dark: #0f172a;
  --bg-light: #ffffff;
  --bg-gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --bg-gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--bg-light);
  overflow-x: hidden;
}

/* Floating Navigation Bar */
.top-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-gold);
  padding: 1rem 0;
  box-shadow: var(--shadow-xl);
}

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

.brand-logo img {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.5));
}

.top-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.top-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.top-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.top-menu a:hover::after,
.top-menu a.active::after {
  width: 80%;
}

.top-menu a:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Hero Banner Section */
.hero-banner {
  margin-top: 70px;
  background: var(--bg-gradient-1);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-light);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.cta-button {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-xl);
}

.cta-primary {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.cta-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.cta-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.cta-secondary:hover {
  background: var(--text-light);
  color: var(--primary-dark);
}

/* Main Content Wrapper - Full Width Layout */
.main-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

/* Content Sections */
.content-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Author Profile Card */
.author-profile {
  background: var(--bg-gradient-2);
  border-radius: 25px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-xl);
  color: var(--text-light);
}

.author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.author-details {
  flex: 1;
}

.author-details strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Content Blocks */
.content-block {
  background: var(--bg-light);
  border-radius: 25px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.content-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--bg-gradient-1);
}

.content-block h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--accent-gold);
  position: relative;
}

.content-block h2::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100px;
  height: 3px;
  background: var(--accent-purple);
}

.content-block h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-gold);
}

.content-block h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.content-block p {
  margin-bottom: 1.5rem;
  line-height: 1.9;
  color: var(--text-dark);
  font-size: 1.05rem;
}

.content-block ul,
.content-block ol {
  margin: 1.5rem 0;
  padding-left: 2.5rem;
}

.content-block li {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.content-block strong {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Enhanced Tables */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  background: var(--bg-light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.data-table thead {
  background: var(--bg-gradient-1);
  color: var(--text-light);
}

.data-table th {
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.data-table td {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.data-table tbody tr {
  transition: all 0.3s ease;
}

.data-table tbody tr:hover {
  background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
  transform: translateX(5px);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

/* Links */
a {
  color: var(--accent-purple);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-light);
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 5rem;
  border-top: 3px solid var(--accent-gold);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--bg-gradient-1);
}

/* Responsive Design */

@media (max-width: 768px) {
  .top-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
  }

  .top-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .main-content-wrapper {
    padding: 2rem 1rem;
  }

  .content-block {
    padding: 2rem 1.5rem;
  }

  .author-profile {
    flex-direction: column;
    text-align: center;
  }
}

/* Utility Classes */
.text-gradient {
  background: var(--bg-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-glow {
  box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

/* Code blocks */
code, pre {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  padding: 0.2em 0.4em;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

/* FAQ Accordion */
.faq .item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  margin: 10px 0;
  background: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq .q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: var(--bg-gradient-3);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  transition: all 0.3s ease;
  color: var(--text-light);
}

.faq .q:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.faq .a {
  display: none;
  padding: 1.5rem;
}

.faq .item.open .a {
  display: block;
}
