/* ============================================================
   X-Area Advertising Website — styles.css
   Font: Albert Sans | Colors: project palette + cyan gradient
   ============================================================ */

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

:root {
  --cyan-vivid:  #26C5D2;
  --cyan-mid:    #4DD0DC;
  --cyan-dark:   #0e8a9e;
  --navy:        #0d4a5a;
  --navy-light:  #1a6878;
  --white:       #ffffff;
  --card-bg:     rgba(255, 255, 255, 0.65);
  --card-border: rgba(255, 255, 255, 0.85);
  --font: 'Albert Sans', sans-serif;
  --radius: 18px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: linear-gradient(180deg,
    #1DBECF 0%,
    #3ECBD9 10%,
    #6BD8E4 28%,
    #9DE8F0 50%,
    #C5F2F7 72%,
    #DFF8FC 88%,
    #EEF9FB 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  color: var(--navy);
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(14,138,158,0.35); border-radius: 3px; }

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  backdrop-filter: blur(12px);
  background: rgba(38, 197, 218, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: background 0.3s;
}
.navbar.scrolled {
  background: rgba(20, 170, 185, 0.35);
  box-shadow: 0 2px 16px rgba(14,138,158,0.15);
}
.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: 'Mistral', cursive;
  font-size: 1.75rem;
  color: var(--navy);
  letter-spacing: 0;
}
.nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.45);
  border-radius: 50px;
  padding: 5px 8px;
  border: 1px solid rgba(255,255,255,0.7);
}
.nav-link {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover {
  background: rgba(255,255,255,0.6);
}
.nav-right { display: flex; gap: 10px; align-items: center; }

.btn-signin {
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(14,138,158,0.4);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-signin:hover { background: rgba(255,255,255,0.75); }

.btn-getstarted {
  background: var(--navy);
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-getstarted:hover { background: var(--cyan-dark); transform: translateY(-1px); }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 52px 48px 60px;
  text-align: center;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 36px;
  letter-spacing: -2px;
  color: var(--navy);
}

.animated-word {
  display: inline-block;
  color: var(--navy);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.animated-word.fade-out {
  opacity: 0;
  transform: translateY(-12px);
}
.animated-word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.headline-suffix {
  color: var(--navy);
  font-weight: 300;
}

/* Hero Card */
.hero-card {
  background: linear-gradient(135deg, rgba(10, 60, 78, 0.82) 0%, rgba(14, 120, 140, 0.72) 100%);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 12px 48px rgba(10,60,78,0.28), 0 2px 8px rgba(14,138,158,0.15);
}
.hero-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px 52px;
  gap: 32px;
}
.hero-text {
  text-align: left;
  flex: 0 0 auto;
  max-width: 340px;
}
.hero-h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 32px;
}
.hero-bold { font-weight: 900; }

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-primary-lg {
  background: var(--cyan-vivid);
  color: var(--navy);
  border: none;
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(38,197,218,0.4);
}
.btn-primary-lg:hover {
  background: #1fb8c6;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38,197,218,0.5);
}

.btn-outline-lg {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-lg:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
}

.hero-social {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.75);
}
.hero-social strong { color: white; }

.hero-illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-svg {
  width: 100%;
  max-width: 640px;
  height: auto;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  opacity: 0.85;
}
.hero-tagline strong { font-weight: 700; }

/* ================================================================
   WHO USES
   ================================================================ */
.who-uses {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 48px 72px;
  text-align: center;
}
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 28px;
  opacity: 0.85;
}
.user-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.user-card {
  background: rgba(255,255,255,0.6);
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  padding: 28px 24px;
  max-width: 240px;
  flex: 1 1 180px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.2s, box-shadow 0.2s;
}
.user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(14,138,158,0.14);
}
.user-card.featured {
  background: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,1);
}
.user-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
}
.user-icon svg { width: 100%; height: 100%; }
.user-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.user-card p {
  font-size: 0.8rem;
  color: var(--navy-light);
  line-height: 1.5;
}

/* ================================================================
   FEATURES
   ================================================================ */
.features {
  padding: 72px 48px;
  background: rgba(255,255,255,0.12);
}
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.section-header p {
  font-size: 0.95rem;
  color: var(--navy-light);
  opacity: 0.85;
}
.highlight {
  color: var(--cyan-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 60px 52px;
  box-shadow: 0 2px 16px rgba(14,138,158,0.07);
  border: 1px solid rgba(255,255,255,0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(14,138,158,0.13);
}
.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.feature-icon svg { width: 36px; height: 36px; }
.feature-icon.blue   { background: #4a90d9; }
.feature-icon.green  { background: #43b97f; }
.feature-icon.orange { background: #e8833a; }
.feature-icon.purple { background: #8b62d9; }
.feature-icon.teal   { background: #26a6b5; }
.feature-icon.pink   { background: #e05a8a; }

.feature-card h3 {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.feature-card p {
  font-size: 1.05rem;
  color: #4a6272;
  line-height: 1.7;
  margin-bottom: 24px;
}
.feature-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  background: #eef8fa;
  color: var(--cyan-dark);
  border: 1px solid rgba(38,197,218,0.25);
}

.features-cta {
  text-align: center;
  margin-top: 40px;
}
.btn-explore {
  background: var(--cyan-vivid);
  color: var(--navy);
  border: none;
  padding: 13px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(38,197,218,0.4);
  transition: background 0.2s, transform 0.15s;
}
.btn-explore:hover { background: #1fb8c6; transform: translateY(-2px); }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how-it-works {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 48px;
}
.workflow-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 52px;
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(255,255,255,0.85);
  border-radius: 50px;
  padding: 5px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 24px;
}
.tab-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, font-weight 0.1s;
}
.tab-btn.active {
  background: var(--navy);
  color: white;
  font-weight: 700;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.steps { display: flex; flex-direction: column; gap: 28px; }

.step {
  display: flex;
  align-items: center;
  gap: 24px;
}
.step.right { flex-direction: row-reverse; }

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.65);
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: var(--radius);
  padding: 24px 22px;
  flex: 1;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(14,138,158,0.08);
  transition: transform 0.2s;
}
.step-card:hover { transform: translateY(-2px); }

.step-number {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.step-info p {
  font-size: 0.82rem;
  color: var(--navy-light);
  line-height: 1.55;
}

.step-visual {
  width: 160px;
  min-width: 160px;
  height: 130px;
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(255,255,255,0.8);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.step-visual svg { width: 100%; height: 100%; }

.step-cta {
  text-align: center;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.step-cta-note {
  font-size: 0.8rem;
  color: var(--navy-light);
  opacity: 0.75;
}
.link-hl {
  color: var(--cyan-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* ================================================================
   PRODUCT SCREENSHOTS — Gallery
   ================================================================ */
.screenshots {
  padding: 80px 48px;
  text-align: center;
}

.slideshow {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}

.slideshow-track {
  position: relative;
  width: 100%;
}

.slide {
  display: none;
}
.slide.active {
  display: block;
  animation: slideFade 0.4s ease;
}

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

.slide img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(14,138,158,0.2);
  border: 1px solid rgba(255,255,255,0.6);
  display: block;
}

/* Prev / Next buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.95);
  color: var(--navy);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(14,138,158,0.15);
  transition: background 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.slide-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.08);
}
.slide-btn--prev { left: -24px; }
.slide-btn--next { right: -24px; }

/* Dots */
.slide-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(14,138,158,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}
.slide-dot.active {
  background: var(--navy);
  transform: scale(1.3);
}
.slide-dot:hover:not(.active) {
  background: rgba(14,138,158,0.5);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 80px 48px;
  text-align: center;
}
.cta-inner {
  background: var(--navy);
  border-radius: 28px;
  padding: 60px 40px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(13,74,90,0.3);
}
.cta-inner h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  color: white;
  margin-bottom: 14px;
}
.cta-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-outline-dark {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 2px solid rgba(255,255,255,0.35);
  padding: 11px 26px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-dark:hover {
  border-color: rgba(255,255,255,0.7);
  color: white;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: rgba(13,74,90,0.08);
  border-top: 1px solid rgba(255,255,255,0.3);
  padding: 52px 48px 24px;
}
.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.footer-logo {
  font-family: 'Mistral', cursive;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 0.82rem;
  color: var(--navy-light);
  max-width: 220px;
  line-height: 1.55;
}
.footer-cols { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 0.82rem;
  color: var(--navy-light);
  text-decoration: none;
  transition: color 0.2s;
  opacity: 0.75;
}
.footer-col a:hover { color: var(--cyan-dark); opacity: 1; }

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(14,138,158,0.12);
  font-size: 0.78rem;
  color: var(--navy-light);
  opacity: 0.6;
  text-align: center;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card-inner { flex-direction: column; padding: 36px 28px; }
  .hero-text { max-width: 100%; text-align: center; }
  .hero-actions { justify-content: center; }
  .nav-center { display: none; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .step { flex-direction: column !important; }
  .step-visual { width: 100%; }
  .footer-cols { flex-direction: column; gap: 24px; }
  .nav-container { padding: 0 20px; }
  .hero { padding: 36px 20px 40px; }
  .macbook { width: 100%; }
}
