/* ============================================
   FRAG MANU — Dark Tech Marketing Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --red: #e63946;
  --red-dark: #c5303c;
  --red-glow: rgba(230, 57, 70, 0.35);
  --red-glow-soft: rgba(230, 57, 70, 0.12);
  --text: #f0f0f0;
  --text-muted: #999;
  --text-dim: #666;
  --border: #222;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --max-width: 1140px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: #ff4d5a;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 8px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-inner {
  max-width: var(--max-width);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -0.03em;
}
.nav-logo span {
  color: var(--red);
}

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

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

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav-cta:hover {
  background: var(--red-dark);
  box-shadow: 0 0 20px var(--red-glow);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 40px 24px;
  flex-direction: column;
  gap: 24px;
}
.nav-mobile.active {
  display: flex;
}
.nav-mobile a {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-muted);
}
.nav-mobile a:hover {
  color: var(--text);
}

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

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 20px;
}
.hero-content h1 span {
  color: var(--red);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 0 80px var(--red-glow), 0 20px 60px rgba(0,0,0,0.6);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at center, var(--red-glow-soft), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    order: 1;
  }
  .hero-image {
    order: 0;
  }
  .hero-image img {
    max-width: 280px;
  }
  .hero-subtitle {
    margin: 0 auto 32px;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 30px var(--red-glow);
}
.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 0 50px var(--red-glow);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* --- Section Spacing --- */
.section {
  padding: 100px 0;
}
.section-alt {
  background: #0e0e0e;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow var(--transition);
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(230, 57, 70, 0.08);
}
.feature-card:hover::before {
  box-shadow: inset 0 0 30px rgba(230, 57, 70, 0.05);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  counter-reset: step;
}

.step-card {
  text-align: center;
  padding: 40px 24px;
  counter-increment: step;
  position: relative;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.12);
  border: 2px solid var(--red);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 24px;
}

.step-card h3 {
  margin-bottom: 10px;
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Step connectors */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 68px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-card::after {
    display: none;
  }
}

/* --- Pricing --- */
.pricing-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 16px;
}

.pricing-group h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.pricing-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: 0 4px 30px rgba(230, 57, 70, 0.06);
}

.pricing-card.popular {
  border-color: var(--red);
  box-shadow: 0 0 40px var(--red-glow-soft);
}

.pricing-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
}

.pricing-info {
  flex: 1;
}
.pricing-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.pricing-desc {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.pricing-price {
  text-align: right;
  white-space: nowrap;
}
.pricing-amount {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
}
.pricing-period {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.pricing-card .btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .pricing-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-card {
    flex-wrap: wrap;
  }
  .pricing-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.7;
}

.about-content .social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-weight: 600;
  margin-top: 12px;
}
.about-content .social-link svg {
  width: 20px;
  height: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

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

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.active {
  border-color: rgba(230, 57, 70, 0.3);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
.faq-question:hover {
  color: var(--red);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 1px;
  transition: transform var(--transition);
}
.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

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

.footer-brand {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.footer-brand span {
  color: var(--red);
}
.footer-tagline {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.footer-social a {
  color: var(--text-dim);
  transition: color var(--transition);
}
.footer-social a:hover {
  color: var(--red);
}
.footer-social svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* --- Floating CTA (Mobile) --- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}
.floating-cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 14px;
}

@media (max-width: 768px) {
  .floating-cta { display: block; }
  body { padding-bottom: 72px; }
}

/* --- Legal Pages --- */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 32px;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-content h3 {
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-content ul, .legal-content ol {
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-left: 24px;
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--red);
}

.legal-meta {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-bottom: 40px;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}
