/* =============================================
    FTW — Future, Tech & Wisdom
    Main Stylesheet
   ============================================= */

/* ----- Design Tokens ----- */
:root {
  --bg: #080808;
  --surface: #111111;
  --border: #1c1c1c;
  --border-light: #2a2a2a;
  --white: #f5f5f0;
  --muted: #555;
  --muted2: #888;
  --accent: #d4ff00;
  --accent2: #ff4d00;
  --smm: #d4ff00;
  --self: #bf80ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ----- Custom Cursor ----- */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 255, 0, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.25s, height 0.25s, border-color 0.25s;
}

body:has(a:hover) .cursor {
  width: 14px;
  height: 14px;
}

body:has(a:hover) .cursor-ring {
  width: 56px;
  height: 56px;
  border-color: rgba(212, 255, 0, 0.7);
}

/* ----- Navigation ----- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}

.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.08em;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-badge {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

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

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: #e8ff33;
  transform: scale(1.04);
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(212, 255, 0, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(0, 200, 255, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeUp 0.8s ease both;
}

.hero-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--muted);
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 12vw, 180px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 em {
  font-style: normal;
  -webkit-text-stroke: 1px var(--white);
  color: transparent;
}

.hero-sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-desc {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted2);
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-shrink: 0;
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  animation: fadeUp 1s ease 0.5s both;
}

/* ----- Services Strip ----- */
.services-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-tab {
  padding: 32px 40px;
  border-right: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
  display: block;
}

.service-tab:last-child {
  border-right: none;
}

.service-tab:hover {
  background: var(--surface);
}

.tab-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 16px;
}

.tab-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.service-tab[data-service="smm"] .tab-name { color: var(--smm); }
.service-tab[data-service="video"] .tab-name { color: var(--video); }
.service-tab[data-service="photo"] .tab-name { color: var(--photo); }
.service-tab[data-service="self"] .tab-name { color: var(--self); }

.tab-desc {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* ----- Section Commons ----- */
section {
  padding: 120px 48px;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 64px;
  gap: 40px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.section-body {
  max-width: 400px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted2);
  margin-top: 8px;
}

/* ----- Pricing ----- */
.pricing-section {
  background: var(--bg);
}

.pricing-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 4px;
  width: fit-content;
}

.ptab {
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted2);
  transition: all 0.2s;
}

.ptab.active {
  background: var(--white);
  color: var(--bg);
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.plan-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.plan-card.featured {
  border-color: rgba(212, 255, 0, 0.3);
  background: linear-gradient(145deg, #111 0%, rgba(212, 255, 0, 0.04) 100%);
}

.plan-card.featured::before {
  content: 'Più richiesto';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg);
  padding: 4px 10px;
  border-radius: 100px;
}

.plan-tier {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

[data-active="smm"] .plan-tier { color: var(--smm); }
[data-active="video"] .plan-tier { color: var(--video); }
[data-active="photo"] .plan-tier { color: var(--photo); }
[data-active="self"] .plan-tier { color: var(--self); }

.plan-price-wrap {
  margin-bottom: 32px;
}

.plan-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.plan-currency {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  vertical-align: top;
  margin-top: 8px;
  display: inline-block;
  color: var(--muted2);
}

.plan-period {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.plan-monthly {
  font-size: 13px;
  color: var(--muted2);
  margin-top: 4px;
}

.plan-divider {
  height: 1px;
  background: var(--border);
  margin: 28px 0;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.plan-features li {
  font-size: 13px;
  color: var(--muted2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '→';
  color: var(--muted);
  flex-shrink: 0;
  font-size: 11px;
  margin-top: 2px;
}

.plan-cta {
  display: block;
  margin-top: auto;
  padding: 14px;
  text-align: center;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--border-light);
  color: var(--white);
  transition: all 0.2s;
}

.plan-cta:hover {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

.plan-card.featured .plan-cta {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.plan-card.featured .plan-cta:hover {
  background: #e8ff33;
  border-color: #e8ff33;
}

/* ----- Commission Section ----- */
.commission-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.commission-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.comm-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.comm-card:hover {
  border-color: var(--border-light);
}

.comm-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.comm-card.smm-comm::after { background: var(--smm); }
.comm-card.self-comm::after { background: var(--self); }

.comm-cat {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.smm-comm .comm-cat { color: var(--smm); }
.self-comm .comm-cat { color: var(--self); }

.comm-type {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--muted2);
  margin-bottom: 8px;
}

.comm-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.smm-comm .comm-amount { color: var(--smm); }
.self-comm .comm-amount { color: var(--self); }

.comm-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.5;
}

.comm-total {
  grid-column: 1 / -1;
  background: rgba(212, 255, 0, 0.06);
  border: 1px solid rgba(212, 255, 0, 0.15);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comm-total-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted2);
}

.comm-total-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* ----- Contact ----- */
.contact-section {
  background: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-big {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 100px);
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.contact-big span {
  color: var(--accent);
}

.contact-info {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.contact-item-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-item-value {
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-value:hover {
  color: var(--accent);
}

/* ----- Footer ----- */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ----- Animations ----- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.7); }
}

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

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Contract Modal ----- */
.contract-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contract-modal.open {
  display: flex;
}

.contract-modal-content {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.contract-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.contract-modal-header h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--white);
}

.contract-modal-close {
  background: none;
  border: none;
  color: var(--muted2);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

.contract-modal-close:hover {
  color: var(--white);
}

.contract-modal-body {
  padding: 28px 32px;
  overflow-y: auto;
  flex: 1;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted2);
  white-space: pre-wrap;
}

.contract-modal-footer {
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.contract-btn-accept {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.contract-btn-accept:hover {
  background: #e8ff33;
}

.contract-btn-accept:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .contract-modal-content { max-height: 92vh; border-radius: 14px; }
  .contract-modal-header, .contract-modal-body, .contract-modal-footer { padding-left: 20px; padding-right: 20px; }
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { padding: 0 24px 60px; }
  section { padding: 80px 24px; }
  .services-strip { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid.four-col { grid-template-columns: 1fr 1fr; }
  .commission-cards { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .section-header { flex-direction: column; }
  .comm-card { grid-template-columns: 1fr; padding: 32px; }
}
