:root {
  --bg: #0a0a0a;
  --panel: #141413;
  --text: #e8ecf1;
  --muted: #9aa4b2;
  --accent: #ff8c1a;
  --glow: rgba(77,163,255,0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


/* GLOBAL SPACING */
:root {
  --max-width: 1200px;
  --side-padding: 1.5rem;
}

section {
  padding: 6rem 0;
  background: var(--bg);
}

.section-title,
.section-subtitle,
.about-content,
.contact,
.apps {
  padding-left: var(--side-padding);
  padding-right: var(--side-padding);
}


.apps,
.about-content,
.contact,
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}



/* NAV */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem var(--side-padding);

  display: flex;
  align-items: center;
  justify-content: space-between;
}


.logo {
  font-weight: 800;
  font-size: 24px;
}



.nav nav a {
  margin-right: 24px;
  color: var(--muted);
  text-decoration: none;
}

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

.cta {
  padding: 10px 18px;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;

  background-image: url("assets/hero-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 var(--side-padding);
}


.badge {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
}


.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.hero-actions button {
  margin-right: 16px;
}

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


/* BUTTONS */
.primary {
  position: relative;
  background: var(--accent);
  color: #000;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;

  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 0.12s ease,
    background-color 0.12s ease;
}

.primary:hover {
  background-color: #ff9a33;
}

.primary:active {
  transform: scale(0.96);
}



.secondary {
  background: transparent;
  color: #d8d8d8;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 14px 28px;
  border-radius: 8px;

  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;

  transition:
    border-color 0.12s ease,
    color 0.12s ease;
}

.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}




.logo {
  font-weight: 600;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}

.logo:hover {
  opacity: 0.85;
}



/* APPS */
.apps {
  background: var(--bg);
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-title {
  font-size: 42px;
}

.section-subtitle {
  color: var(--muted);
  margin: 10px 0 80px;
}

.app {
  display: grid;
  position: relative;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  margin-top: 5rem;
}

.app::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(
    circle at center,
    rgba(255,140,26,0.06),
    transparent 0%
  );
  z-index: -1;
}


@media (max-width: 900px) {
  .app {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.app img {
  border-radius: 20px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  transition: transform 0.3s ease;
}

.app:hover img {
  transform: scale(1.03);
}


.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: #666;
}

.app-content h3 {
  font-size: 2.2rem;
  margin: 0.5rem 0 1rem;
}

.app-content p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 1rem;
  max-width: 480px;
  opacity: 0.85;
}

.app-content ul {
  list-style: none;
  margin-bottom: 30px;
}

.app-content li {
  margin-bottom: 8px;
}

/* ABOUT */
.about {
  background: var(--bg);
  padding: 120px 80px;
}

.about-content {
  max-width: 640px;
}

.about h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.about p {
  color: var(--muted);
  margin-bottom: 16px;
}

/* CONTACT */
.contact {
  padding: 120px 80px;
}

.contact h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.contact p {
  color: var(--muted);
  margin-bottom: 40px;
}

.contact-form {
  max-width: 520px;
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  border-radius: 8px;
}

/* FOOTER */
.footer {
  padding: 60px 80px 30px;
  background: #0a0a0a;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 6px;
}

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

copyright {
  text-align: center;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content {
    margin-left: 40px;
  }

  .app {
    grid-template-columns: 1fr;
  }

  .apps,
  .about,
  .contact {
    padding: 100px 40px;
  }
}

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

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


/* MOBILE NAV */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 2px;
  width: 24px;
  background: var(--text);
  margin-bottom: 5px;
}

/* MOBILE */
@media (max-width: 900px) {
  .nav {
    padding: 16px 24px;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: 0;
    background: rgba(7,11,20,0.98);
    backdrop-filter: blur(12px);
    width: 100%;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .nav-links a,
  .nav-links button {
    font-size: 20px;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
  }
}

/* BUTTON MICRO INTERACTIONS */
button {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:hover {
  transform: translateY(-2px);
}

.primary:hover {
  box-shadow: 0 12px 40px var(--glow);
}

.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* subtle shine effect */
button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  transition: left 0.6s ease;
}

button:hover::after {
  left: 120%;
}


/* APP PARALLAX */
.app img {
  transition: transform 0.3s ease;
  will-change: transform;
}


/* PAGE TRANSITION */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--bg);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.page-transition.active {
  opacity: 1;
}


/* APP DETAIL PAGES */
.app-hero {
  min-height: 70vh;
  padding: 160px 80px 80px;
  background: linear-gradient(
    to bottom,
    rgba(7,11,20,0.6),
    rgba(7,11,20,1)
  );
}

.app-hero h1 {
  font-size: 64px;
  margin: 20px 0;
}

.story,
.experience,
.reflection,
.app-cta {
  padding: 100px 80px;
  max-width: 720px;
}

.story h2,
.experience h2,
.reflection h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.story p,
.reflection p {
  color: var(--muted);
  margin-bottom: 32px;
}

.experience ul {
  list-style: none;
}

.experience li {
  margin-bottom: 12px;
}

.visual {
  padding: 0 80px 120px;
}

.visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}

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