/* ============================================================
   Confidia.me — styles-v7.css
   Mobile-first, fully responsive, all classes defined
   ============================================================ */

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

:root {
  --bg-dark: #07090f;
  --bg-panel: rgba(13, 19, 33, 0.6);
  --bg-section-dark: rgba(7, 9, 15, 0.95);
  --bg-section-light: rgba(10, 14, 23, 0.8);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-bg: rgba(13, 19, 33, 0.4);
  --accent-cyan: #00f0ff;
  --accent-purple: #b300ff;
  --text-main: #f0f4f8;
  --text-muted: #8b9bb4;
  --gradient-glow: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
  --header-height: 80px;
  --nav-bg: rgba(7, 9, 15, 0.95);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

::selection {
  background: var(--accent-cyan);
  color: var(--bg-dark);
}

/* === SKIP LINK (a11y) === */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-cyan);
  color: var(--bg-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* === TYPOGRAPHY === */
h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 1rem; color: var(--text-main); }
h4 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 1rem; }
strong { color: var(--text-main); }

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.pt-2 { padding-top: 2rem; }
.w-100 { width: 100%; }
.gap-large { gap: 4rem; }
.align-center { align-items: center; }

/* === BUTTONS === */
.btn-glow {
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  background: var(--bg-panel);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  text-align: center;
}
.btn-glow:hover {
  background: var(--gradient-glow);
  color: var(--bg-dark);
  text-shadow: none;
  box-shadow: 0 0 25px rgba(179, 0, 255, 0.4);
}

/* === HEADER / NAVBAR === */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.35s ease;
  background: rgba(7, 9, 15, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
#navbar.scrolled {
  background: rgba(7, 9, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-container img {
  height: 36px;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.4));
  transition: height 0.3s ease;
}
#navbar.scrolled .logo-container img { height: 32px; }

/* Desktop nav links — clean text style */
#navbar nav { display: flex; align-items: center; gap: 0.25rem; }
#navbar nav .nav-link {
  color: rgba(240, 244, 248, 0.75);
  text-decoration: none;
  margin-left: 0;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.01em;
}
#navbar nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1.1rem;
  right: 1.1rem;
  height: 1.5px;
  background: var(--accent-cyan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
#navbar nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
#navbar nav .nav-link:hover::after { transform: scaleX(1); }
#navbar nav .nav-link.active {
  color: var(--accent-cyan);
}
#navbar nav .nav-link.active::after { transform: scaleX(1); }

/* CTA button — distinct gradient pill */
#navbar nav .nav-cta {
  padding: 0.6rem 1.5rem;
  border-radius: 24px;
  background: var(--gradient-glow);
  border: none;
  color: var(--bg-dark);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: 1rem;
  box-shadow: 0 2px 16px rgba(179, 0, 255, 0.25);
  letter-spacing: 0.02em;
}
#navbar nav .nav-cta:hover {
  box-shadow: 0 4px 24px rgba(0, 240, 255, 0.35);
  transform: translateY(-1px);
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
@media (max-width: 900px) {
  .hamburger { display: flex; }

  #navbar nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transition: right 0.35s ease;
    border-left: 1px solid var(--glass-border);
    align-items: stretch;
  }
  #navbar nav.active { right: 0; }

  #navbar nav a,
  #navbar nav .nav-link,
  #navbar nav .nav-cta {
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    margin-left: 0;
    color: var(--text-main);
  }
  #navbar nav .nav-cta {
    background: var(--gradient-glow);
    color: var(--bg-dark);
    font-weight: 700;
    border: none;
    text-align: center;
  }
  #navbar nav a:hover,
  #navbar nav .nav-link:hover {
    background: rgba(0, 240, 255, 0.08);
  }
  #navbar nav .nav-link::after { display: none; }

  /* Overlay behind mobile nav */
  #navbar nav.active::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: -1;
  }
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('../images/hero_background.png');
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: -1;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === SECTIONS === */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* Section backgrounds */
.section-dark {
  background-color: var(--bg-section-dark);
}
.section-light {
  background-color: var(--bg-section-light);
}

/* === GRID LAYOUTS === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* === GLASS CARD === */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.2);
}

/* === ICON WRAPPER === */
.icon-wrapper {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* === CONTENT BLOCK === */
.content-block h2 { margin-bottom: 1rem; }
.content-block p { margin-bottom: 1.5rem; }

/* === CHECK LIST === */
.check-list { list-style: none; padding: 0; text-align: left; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-purple);
  font-weight: bold;
}

/* === TAG CLOUD === */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.tag-cloud span {
  display: inline-block;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

/* === PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-steps .step { padding: 1.5rem; }
.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-glow);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

/* === HIGHLIGHT BORDER + NEON TITLE === */
.highlight-border {
  border: 1px solid var(--accent-cyan) !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15) !important;
}
.neon-title {
  background: var(--gradient-glow);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}
.highlight-text {
  color: var(--accent-cyan);
  text-decoration: none;
}
.highlight-text:hover { color: var(--accent-purple); }

/* === FAQ === */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-card {
  margin-bottom: 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion {
  background-color: transparent;
  color: var(--text-main);
  cursor: pointer;
  padding: 18px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  transition: background 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion:hover { background: rgba(255,255,255,0.03); }
.accordion:after {
  content: '+';
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}
.accordion.active:after {
  content: '−';
  transform: rotate(180deg);
}
.panel {
  padding: 0 20px;
  background-color: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}
.panel p { margin: 15px 0; color: var(--text-muted); }

/* === FORMS === */
.form-container h3 { text-align: center; }
.form-sub { text-align: center; }

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea,
form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}
form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.08);
}
form select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300f0ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
form select option {
  background: var(--bg-dark);
  color: var(--text-main);
}

.form-group {
  margin-bottom: 1.25rem;
}
.form-group.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 0.25rem;
}

.checkbox-label {
  display: flex !important;
  align-items: center;
  text-transform: none !important;
  letter-spacing: normal !important;
  color: var(--text-main) !important;
  font-weight: 400 !important;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--accent-cyan);
}

.form-status {
  display: none;
  padding: 10px;
  border-radius: 5px;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* === CONTACT METHODS === */
.contact-methods { display: flex; flex-direction: column; gap: 1rem; }
.contact-item { }
.email-btn {
  display: inline-block;
}

/* === VISUAL BLOCK === */
.visual-block img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* === FOOTER === */
footer {
  background-color: rgba(3, 5, 10, 0.95);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 0 1.5rem;
  color: var(--text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col { text-align: left; }
.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}
footer a { color: var(--accent-purple); text-decoration: none; }

/* === ANIMATIONS === */
.fade-up, .zoom-in {
  /* Always visible - animation is enhancement only */
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .fade-up.anim-target, .zoom-in.anim-target {
    opacity: 1;
    transform: none;
  }
  .fade-up.anim-target.in-view {
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  .zoom-in.anim-target.in-view {
    animation: zoomIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

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

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .grid-2 { gap: 2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process-steps, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  section { padding: 4rem 0; }
}

/* Small Tablet / Large Phone (≤768px) */
@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-col:first-child { grid-column: 1 / -1; }

  .hero { min-height: auto; padding: 7rem 1.5rem 4rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }

  section { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .gap-large { gap: 2rem; }

  .form-group.grid-2 { grid-template-columns: 1fr; }

  .process-steps, .grid-4 { grid-template-columns: 1fr; gap: 1rem; }
  .process-steps .step { padding: 1rem; }

  .glass-card { padding: 1.5rem; }
}

/* Mobile (≤480px) */
@media (max-width: 480px) {
  :root { --header-height: 65px; }

  #navbar { padding: 0.5rem 1rem; }
  .logo-container img { height: 32px; }

  .hero { padding: 6rem 1rem 3rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-glow { width: 100%; max-width: 300px; }

  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }

  .container { padding: 0 1rem; }

  section { padding: 2.5rem 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-col { text-align: center; }

  .btn-glow { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
  .accordion { padding: 14px 16px; font-size: 0.95rem; }
}
