/* Happy New Year 2027 - Professional Website Styles */
:root {
  --primary: #d4af37; /* Gold */
  --primary-dark: #b8860b;
  --accent: #ff2d55; /* Festive red/pink */
  --bg-dark: #0a0a0f;
  --bg-card: #14141f;
  --bg-section: #0f0f18;
  --text: #f5f5f7;
  --text-muted: #a1a1aa;
  --border: rgba(212, 175, 55, 0.2);
  --gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f18 100%);
  --gold-gradient: linear-gradient(135deg, #d4af37, #f5d76e, #d4af37);
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.4rem; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #f5d76e;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.logo span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-cta {
  background: var(--gold-gradient);
  color: #0a0a0f !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: #0a0a0f !important;
}

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

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--gradient);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 45, 85, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 20px;
}

.hero-text h1 .highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text .subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold-gradient);
  color: #0a0a0f;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Countdown */
.countdown {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
  min-width: 80px;
}

.countdown-item .number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.countdown-item .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero visual / phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #1e1e2e, #12121a);
  border-radius: 40px;
  border: 3px solid #333;
  box-shadow: var(--shadow), 0 0 60px rgba(212, 175, 55, 0.15);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: #0a0a0f;
  border-radius: 20px;
}

.phone-screen {
  text-align: center;
  width: 100%;
}

.phone-screen .app-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.phone-screen .big-year {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 10px 0;
}

.phone-screen .live-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.phone-countdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.phone-cd-item {
  background: rgba(212, 175, 55, 0.1);
  border-radius: 10px;
  padding: 12px 8px;
}

.phone-cd-item .num {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.phone-cd-item .lab {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Features */
.features {
  padding: 100px 0;
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About / App Description */
.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-list {
  list-style: none;
  margin: 24px 0;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-muted);
}

.about-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* Download CTA */
.download-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f18 100%);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.download-cta h2 {
  margin-bottom: 16px;
}

.download-cta p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
}

.app-store-badge {
  display: inline-block;
  transition: var(--transition);
}

.app-store-badge:hover {
  transform: scale(1.05);
}

.app-store-badge img {
  height: 56px;
  width: auto;
}

/* Blog Section */
.blog {
  padding: 100px 0;
  background: var(--bg-section);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.blog-card-img {
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e, #2a1a3e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body .meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-card-body h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.blog-card-body h3 a {
  color: var(--text);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.read-more {
  font-weight: 600;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background: #08080c;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-links h4 {
  margin-bottom: 16px;
  font-size: 1rem;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Article pages */
.article-hero {
  padding: 140px 0 60px;
  background: var(--gradient);
  text-align: center;
}

.article-hero .meta {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.article-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h3 {
  margin-top: 28px;
  margin-bottom: 12px;
}

.article-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.article-content ul, .article-content ol {
  color: var(--text-muted);
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--bg-card);
  border-radius: 0 12px 12px 0;
  color: var(--text);
  font-style: italic;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.back-link:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text .subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .countdown {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }

/* Dense SEO footer */
footer .footer-links ul {
  columns: 1;
}
footer .footer-links li {
  margin-bottom: 6px;
  font-size: 0.85rem;
}
footer .footer-links a {
  color: #9ca3af;
}
footer .footer-links a:hover {
  color: var(--primary);
}

/* ========== Professional SEO Footer ========== */
.footer-seo-section {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding-top: 48px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.footer-seo-section > h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 28px;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-seo-section > h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.footer-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 28px;
}

.footer-category {
  background: rgba(20, 20, 31, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 14px;
  padding: 20px 18px 18px;
  transition: var(--transition);
}

.footer-category:hover {
  border-color: rgba(212, 175, 55, 0.28);
  background: rgba(20, 20, 31, 0.85);
}

.footer-category h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

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

.footer-category li {
  margin-bottom: 7px;
  line-height: 1.35;
}

.footer-category a {
  color: #a1a1aa;
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-category a:hover {
  color: #f5d76e;
  padding-left: 4px;
}

/* Top footer brand area */
footer .footer-grid {
  margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1100px) {
  .footer-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .footer-categories {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .footer-categories {
    grid-template-columns: 1fr;
  }
  .footer-category {
    padding: 16px 14px;
  }
}
