/*
Theme Name: Combinatii Nu Relatii
Theme URI: https://combinatiinurelatii.ro
Author: Combinatii Nu Relatii Agency
Description: Prima agentie de marketing pe limba tuturor. Landing page cu liquid glass design, vibrant si gata de vandut pe TikTok.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: combinatii
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #7B2FBE;
  --purple-light: #A855F7;
  --pink: #FF006E;
  --pink-light: #FF4DA6;
  --blue: #00D4FF;
  --blue-dark: #0099CC;
  --yellow: #FFE600;
  --dark: #0D0D0D;
  --dark-2: #1A1A2E;
  --glass-bg: rgba(255,255,255,0.10);
  --glass-bg-strong: rgba(255,255,255,0.18);
  --glass-border: rgba(255,255,255,0.25);
  --glass-border-strong: rgba(255,255,255,0.45);
  --text-white: #FFFFFF;
  --text-muted: rgba(255,255,255,0.70);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow-glass: 0 8px 32px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.2);
  --shadow-glow-purple: 0 0 40px rgba(123,47,190,0.4);
  --shadow-glow-pink: 0 0 40px rgba(255,0,110,0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--dark-2);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 700; }
p { font-size: clamp(1rem, 2vw, 1.15rem); }

.gradient-text {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--purple-light) 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; position: relative; }

/* ============================================================
   ANIMATED BACKGROUND ORBS
   ============================================================ */
.bg-orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px; height: 600px;
  background: var(--purple);
  top: -200px; left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px; height: 500px;
  background: var(--pink);
  top: 30%; right: -200px;
  animation-delay: -3s;
}

.orb-3 {
  width: 400px; height: 400px;
  background: var(--blue);
  bottom: -100px; left: 30%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.97); }
}

/* ============================================================
   GLASS COMPONENT
   ============================================================ */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glass), var(--shadow-glow-purple);
}

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(13,13,13,0.60);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

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

.nav-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-logo span { color: var(--pink-light); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(255,0,110,0.35);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,0,110,0.5);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
}

.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--purple) 100%);
  border-radius: 100px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(255,0,110,0.4);
  border: none;
  cursor: pointer;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255,0,110,0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  cursor: pointer;
  color: white;
}

.btn-secondary:hover {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border-strong);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stat {
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 130px;
}

.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

.phone-mockup {
  width: 260px;
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid var(--glass-border-strong);
  box-shadow: var(--shadow-glass), 0 0 60px rgba(123,47,190,0.4);
  aspect-ratio: 9/19;
  background: linear-gradient(180deg, var(--purple) 0%, var(--pink) 50%, var(--dark-2) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
}

.tiktok-icon {
  font-size: 4rem;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.5));
}

.phone-text {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.phone-views {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
}

.floating-badge {
  position: absolute;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-strong);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-glass);
  animation: float-badge 4s ease-in-out infinite;
  white-space: nowrap;
}

.float-left {
  left: -20px;
  top: 20%;
  animation-delay: -1s;
}

.float-right {
  right: -20px;
  bottom: 25%;
  animation-delay: -2s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* HERO LAYOUT */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

  .hero-visual { order: -1; }

  .phone-mockup { width: 200px; }

  .float-left { left: 0; }
  .float-right { right: 0; }
}

/* ============================================================
   DESPRE
   ============================================================ */
#despre {
  z-index: 1;
  position: relative;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink-light);
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 20px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 60px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.step-card {
  padding: 32px 28px;
  position: relative;
}

.step-number {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.despre-highlight {
  padding: 40px;
  border-left: 4px solid var(--pink);
  border-radius: var(--radius-md);
}

.despre-highlight p {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-white);
}

.despre-highlight strong { color: var(--pink-light); }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
  .despre-highlight { padding: 28px 24px; }
  .despre-highlight p { font-size: 1.05rem; }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq {
  z-index: 1;
  position: relative;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--glass-border-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  font-weight: 700;
  font-size: 1.05rem;
  gap: 16px;
  user-select: none;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  font-weight: 900;
  transition: transform var(--transition);
  line-height: 1;
  color: white;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s;
  padding: 0 28px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 24px;
}

/* ============================================================
   CONTACT / LEAD FORM
   ============================================================ */
#contact {
  z-index: 1;
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-left h2 { margin-bottom: 20px; }

.contact-left p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.contact-promise {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promise-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  font-weight: 600;
}

.promise-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.lead-form {
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-white);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--purple-light);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.2);
}

.form-select option {
  background: var(--dark-2);
  color: white;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 18px;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  margin-top: 8px;
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 14px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--blue);
}

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

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .lead-form { padding: 28px 20px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
  position: relative;
  z-index: 1;
  background: rgba(13,13,13,0.60);
  backdrop-filter: blur(20px);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 800;
}

.footer-logo span { color: var(--pink-light); }

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

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

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

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

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ============================================================
   CUSTOM SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--purple), var(--pink));
  border-radius: 3px;
}
