/* ==========================================================================
   FOCUSSIVE — Official Website Stylesheet
   Designed for SOLASE Studio (focussive.solase.studio)
   Color Palette: Focussive Dark Mode Theme
   ========================================================================== */

:root {
  /* Focussive Dark Theme Palette */
  --bg-primary: #151828;
  --bg-secondary: #1F243B;
  --surface: #272D4A;
  --surface-alt: #343B5F;
  --surface-glass: rgba(39, 45, 74, 0.7);
  --border: #424A70;
  --border-light: rgba(93, 110, 117, 0.25);
  --border-glow: rgba(139, 167, 148, 0.35);

  /* Brand Accents */
  --accent: #8BA794;          /* Cambridge Blue / Calm Sage */
  --accent-light: #A9C2B1;
  --accent-dark: #587042;     /* Deep Fern */
  --accent-glow: rgba(139, 167, 148, 0.2);

  /* Typography */
  --text-main: #F3EFEA;       /* Alabaster Warm White */
  --text-muted: #BAC6B8;      /* Ash Gray */
  --text-subtle: #7F8B93;     /* Paynes Gray Tint */

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(139, 167, 148, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 90% 40%, rgba(47, 52, 86, 0.5) 0%, transparent 50%),
              var(--bg-primary);
  background-attachment: fixed;
}

/* Subtle background grid */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 900px;
  background-image: 
    linear-gradient(to right, rgba(93, 110, 117, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(93, 110, 117, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

a:hover {
  color: var(--accent-light);
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(21, 24, 40, 0.85);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

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

.nav-link:hover {
  color: var(--text-main);
}

.nav-cta {
  background: var(--accent);
  color: #121422 !important;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(139, 167, 148, 0.25);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  padding: 96px 0 64px;
  text-align: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(139, 167, 148, 0.12);
  border: 1px solid rgba(139, 167, 148, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title span {
  background: linear-gradient(135deg, #E9E4DC 30%, #8BA794 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

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

.btn-primary {
  background: var(--accent);
  color: #121422;
  box-shadow: 0 4px 20px rgba(139, 167, 148, 0.3);
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #121422;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(139, 167, 148, 0.4);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  color: var(--text-main);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.hero-notice {
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin-top: 12px;
}

.hero-notice strong {
  color: var(--accent-light);
  background: rgba(139, 167, 148, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Video Showcase Section */
.section {
  padding: 96px 0;
  position: relative;
}

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

.section-tag {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(93, 110, 117, 0.3) 0%, rgba(139, 167, 148, 0.2) 100%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Screenshot UI Showcase Section */
.screenshots-section {
  background: linear-gradient(180deg, transparent 0%, rgba(31, 36, 59, 0.5) 50%, transparent 100%);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--surface);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  color: var(--text-main);
  background: var(--surface-alt);
}

.tab-btn.active {
  background: var(--accent);
  color: #121422;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(139, 167, 148, 0.25);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-pane.active {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mockup-card {
  position: relative;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  max-width: 440px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.mockup-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.mockup-info {
  max-width: 460px;
}

.mockup-info h3 {
  font-size: 1.85rem;
  margin-bottom: 16px;
}

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

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.check-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Research-Backed Features (Bento Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(139, 167, 148, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

.citation-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-light);
  background: rgba(47, 52, 86, 0.8);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #1F243B 0%, #2F3456 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  text-align: center;
  margin: 64px auto 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-banner h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 16px;
}

.cta-banner p {
  max-width: 600px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 64px 0 32px;
  margin-top: 96px;
  background: #111320;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-group {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(93, 110, 117, 0.15);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-subtle);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 64px 0 40px;
  }
  .tab-pane.active {
    flex-direction: column;
  }
  .mockup-card {
    max-width: 100%;
  }
  .footer-links-group {
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
