/* ============================================================
   ZayOS — style.css
   Recreated from scratch by Zara.
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Variables & Root Styles
   ------------------------------------------------------------ */
:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);

  --bg-dark: #0a0a0a;
  --bg-dark-alt: #111111;
  --text-primary: #e6e6e6;
  --text-secondary: #a0a0a0;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-purple: rgba(157, 78, 221, 0.4);
  --purple-accent: #9d4edd;
  --purple-glow: rgba(157, 78, 221, 0.2);

  --nav-height: 70px;
  --container-width: 1140px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

a {
  color: var(--purple-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

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

ul {
  list-style: none;
}

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

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--bg-dark-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.text-center {
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 40px auto;
}

/* ------------------------------------------------------------
   3. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn--primary {
  background-color: var(--purple-accent);
  color: #fff;
}

.btn--primary:hover {
  background-color: #b36dff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn--outline {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.btn--outline:hover {
  background-color: var(--border-light);
  color: #fff;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn--full-width {
    width: 100%;
}


/* ------------------------------------------------------------
   4. Navigation
   ------------------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.nav__inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo-img {
  height: 40px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  color: var(--text-secondary);
  font-weight: 600;
  position: relative;
  padding: 8px 0;
}

.nav__link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--purple-accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav__link:hover:after,
.nav__link.active:after {
  transform: scaleX(1);
}

.nav__link.active,
.nav__link:hover {
  color: #fff;
}

.nav__toggle {
  display: none; /* Mobile only */
}

/* ------------------------------------------------------------
   5. Hero Section
   ------------------------------------------------------------ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding-top: var(--nav-height);
}

.hero__eyebrow {
  font-size: 1rem;
  font-weight: 600;
  color: var(--purple-accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.hero__title {
  font-size: 4rem;
  margin-bottom: 16px;
}

.hero__title .highlight {
  color: var(--purple-accent);
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.hero__cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.page-hero {
  text-align: center;
  padding: 120px 0 80px 0;
}

.page-hero__title {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.page-hero__subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: -webkit-linear-gradient(45deg, #9d4edd, #e0aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ------------------------------------------------------------
   6. Cards
   ------------------------------------------------------------ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.cards-grid--constrained {
    max-width: 1000px;
    margin: 0 auto;
}

.card {
  background-color: var(--bg-dark-alt);
  border: 1px solid var(--border-light);
  padding: 32px;
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--purple-glow);
}

.card__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 20px;
}

.card__title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.card__text {
  color: var(--text-secondary);
}

.card__text--margin-bottom-sm {
    margin-bottom: 8px;
}

.card__price {
  font-size: 1.4rem;
  margin-top: 16px;
  color: var(--purple-accent);
  font-weight: 700;
}

.card--highlight {
  border-color: var(--border-purple);
}

.card--pricing {
    display: flex;
    flex-direction: column;
}

.card--pricing .btn {
    margin-top: auto;
}

.card__price-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.card__features {
    margin-bottom: 24px;
}

.card__features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
}

.card__features li::before {
    content: '✓';
    color: var(--purple-accent);
    position: absolute;
    left: 0;
}

.featured {
    border-color: var(--purple-accent);
    box-shadow: 0 0 25px var(--purple-glow);
    transform: scale(1.05);
}


/* ------------------------------------------------------------
   7. Footer
   ------------------------------------------------------------ */
.footer {
  padding: 60px 0 30px 0;
  border-top: 1px solid var(--border-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand-logo {
    margin-bottom: 16px;
}

.footer__tagline {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    color: var(--text-secondary);
}

.footer__social-btn:hover {
    background-color: var(--border-light);
    color: #fff;
}

.footer__col-title {
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__link {
    color: var(--text-secondary);
}

.footer__link:hover {
    color: #fff;
}

.footer__divider {
    height: 1px;
    background-color: var(--border-light);
    margin-bottom: 30px;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer__copy span {
    font-weight: 600;
    color: #fff;
}

/* ------------------------------------------------------------
   8. Contact Form
   ------------------------------------------------------------ */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    background-color: var(--bg-dark-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--purple-accent);
    box-shadow: 0 0 10px var(--purple-glow);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__submit {
    width: 100%;
}

.contact-info__title {
    font-size: 2rem;
    margin-bottom: 32px;
}

.contact-info__item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.contact-info__icon {
    font-size: 1.5rem;
}

.contact-info__label {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info__value {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.social-link {
    flex: 1;
    text-align: center;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
}

/* ------------------------------------------------------------
   9. About Page Styles
   ------------------------------------------------------------ */
.story {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.story__visual {
    position: relative;
}

.story__image-wrapper {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.story__stat-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--purple-accent);
    color: #fff;
    padding: 16px;
    border-radius: var(--radius-md);
    text-align: center;
    line-height: 1.2;
}

.story__stat-badge strong {
    font-size: 2.5rem;
    display: block;
}

.card--team .card__role {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.story__image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #0D1B2A 0%, rgba(94,23,235,0.15) 50%, #0D1B2A 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
}

.story__logo-svg {
    width: 220px;
    height: 220px;
    filter: drop-shadow(0 0 28px rgba(94,23,235,0.6));
}

.story__logo-text {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(157,78,221,0.7);
    font-weight: 600;
}

.story__content .section-title {
    text-align: left;
    margin-bottom: 28px;
}

.story__content .btn {
    margin-top: 16px;
}

.card--team .card__text {
    margin-top: 14px;
}

/* ------------------------------------------------------------
   10. Services Page Styles
   ------------------------------------------------------------ */
.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 30px;
}

.step {
    text-align: center;
}

.step__number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-accent);
    margin-bottom: 12px;
}

.step__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.step__text {
    color: var(--text-secondary);
}

.step-arrow { /* The arrows */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
    font-size: 1.8rem;
    opacity: 0.4;
    position: relative;
    width: 100%;
    top: 40px;
}

.step-arrow::after {
    content: '→';
}

/* ------------------------------------------------------------
   11. Polish & Utility
   ------------------------------------------------------------ */

/* Scroll-to-top button */
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background-color: var(--purple-accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    transform: translateY(20px);
    z-index: 100;
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* NoScript Fallback */
.noscript-fallback {
    background-color: #ffc107;
    color: #000;
    text-align: center;
    padding: 16px;
    font-weight: 600;
}

.text-center--margin-bottom-lg {
    margin-bottom: 60px;
}

.section-subtitle--no-margin-bottom {
    margin-bottom: 0;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Stylesheet */
@media print {
  body {
    background-color: #fff;
    color: #000;
  }
  .nav, .footer, .cta-banner, .btn, #scrollTopBtn {
    display: none;
  }
  .section {
    padding: 40px 0;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}
