:root {
    --bg: #0b0b10;
    --surface: rgba(255, 255, 255, 0.04);
    --muted: #9ca3af;
    --text: #eef2ff;
    --accent1: #ffffff;
    --radius: 12px;
    --nav-h: 72px;
    --gap: 1rem;
    --hero-text: #fff;
    --hero-gradient: linear-gradient(to bottom, #747474, #000000); /* default dark gradient */
}

:root[data-theme='light'] {
    --hero-text: #000;
    --hero-gradient: linear-gradient(to bottom, #10b981 0%, #ffffff 60%); /* green → white */
    --accent1: #000000;
}

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

html {
    scroll-behavior: smooth
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
    line-height: 1.5;
    background: var(--bg);
    color: var(--text);
    padding-top: var(--nav-h)
}


.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 1.5rem
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between; /* distribute space between logo and menu/actions */
    gap: 2rem;
    padding: 0 1.5rem;
    height: var(--nav-h);
    width: min(1180px, 95%);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.08); /* slightly brighter border */
    border-radius: 20px; /* softer corners */
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.06);
}

/* LOGO */
.logo {
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: 1px;
    color: var(--accent1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* NAV MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    color: var(--muted);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.nav-menu a:hover {
    color: var(--text);
    background: rgba(99, 102, 241, 0.15); /* subtle accent hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* THEME TOGGLE */
.theme-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.theme-toggle input {
  display: none;
}

.toggle-label {
  width: 50px;
  height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50px;
  position: relative;
  transition: background 0.3s ease;
}

.toggle-ball {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: var(--accent1);
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
}

input:checked + .toggle-label {
  background: rgba(99,102,241,0.3);
}

input:checked + .toggle-label .toggle-ball {
  transform: translateX(24px);
  background: var(--accent2);
}

/* HAMBURGER (mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
}

.hamburger span {
    width: 22px;
    height: 2.5px;
    background: var(--text);
    display: block;
    border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 860px) {
    /* Overlay */
    .nav-menu-overlay {
        display: none; /* hide by default */
        position: fixed;
        inset: 0;
        backdrop-filter: blur(12px);
        z-index: 900; /* below menu */
    }

    .nav-menu-overlay.active {
        display: block; /* show only when menu active */
    }

    /* Mobile Menu */
    .nav-menu {
        position: fixed;
        top: calc(var(--nav-h) + 12px);
        left: 50%;
        transform: translateX(0%);
        width: 90%;
        max-width: 360px;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1.5rem;
        background: rgba(18, 18, 25, 0.95);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        display: none;
        z-index: 1001; /* above overlay */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}


/* HERO */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 70vh;
    color: var(--hero-text);
    background: var(--hero-gradient);
    transition: background 0.5s ease, color 0.5s ease;
    margin-top: calc(-1 * var(--nav-h)); /* pull hero up behind navbar */
    padding-top: calc(var(--nav-h) + 6rem);
}

.hero-inner h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 700;
}

.hero-inner .lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto 2rem;
    color: var(--hero-text);
}

/* COMING SOON BADGE INSIDE HERO */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    padding: 0.8rem 1.8rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.coming-soon-badge:hover {
    transform: translateY(-3px) scale(1.07);
}

/* Rocket Animation */
.rocket {
    display: inline-block;
    animation: rocket-bounce 1.5s infinite;
    font-size: 1.3rem;
}

@keyframes rocket-bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-15deg); }
}

/* Glow Pulse Animation */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.3), 0 0 30px rgba(99, 102, 241, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(59, 130, 246, 0.45), 0 0 45px rgba(99, 102, 241, 0.3);
    }
}

/* Responsive Adjustments */
@media (max-width: 786px) {
    .hero-inner h1 {
        font-size: 1.6rem;
    }
    .hero-inner .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .coming-soon-badge {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }
    .rocket {
        font-size: 1.1rem;
    }
}

/* FEATURES */
section {
    padding: 2rem 0
}

.muted {
    color: var(--muted)
}

h2 {
    text-align: center;          /* center the heading */
    font-size: 2.5rem;           /* make it big */
    font-weight: 700;             /* bold */
    color: var(--accent1);        /* accent color */
    margin-bottom: 2rem;          /* space below heading */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    justify-content: center; /* center the grid horizontally */
    justify-items: center;   /* center individual cards */
    margin-top: 2rem;
}

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 20px; /* rounded, not full circle for better text fit */
    min-height: 180px;
    width: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.feature-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
    color: var(--accent1);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--muted);
}

/* Hover effect */
.feature-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.08);
}


/* WORKFLOW (ordered) */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  padding: 0 20px;
}

.timeline__event {
  position: relative;
  width: 50%;
  padding: 20px 40px;
  box-sizing: border-box;
}

.timeline__event--left {
  left: 0;
  text-align: right;
}

.timeline__event--right {
  left: 50%;
  text-align: left;
}

.timeline__event::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  background: var(--accent1);
  border-radius: 50%;
  z-index: 1;
}

.timeline__event--left::before {
  right: -10px;
}

.timeline__event--right::before {
  left: -10px;
}

.timeline__event::after {
  content: '';
  position: absolute;
  top: 40px;
  width: 2px;
  height: 100%;
  background: var(--accent1);
  z-index: 0;
}

.timeline__content {
  background: var(--surface);
  padding: 20px;
  border-radius: 12px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.timeline__event--left .timeline__content {
  margin-right: 30px;
}

.timeline__event--right .timeline__content {
  margin-left: 30px;
}

.timeline__icon {
  background: var(--accent2);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  font-weight: 700;
  text-align: center;
  position: absolute;
  top: 20px;
}

.timeline__event--left .timeline__icon {
  right: -60px;
}

.timeline__event--right .timeline__icon {
  left: -60px;
}

/* Arrow connectors */
.timeline__event--left::after {
  left: auto;
  right: -10px;
}

.timeline__event--right::after {
  left: -10px;
}

/* Hover effects */
.timeline__content:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .timeline__event,
  .timeline__event--left,
  .timeline__event--right {
    width: 100%;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }

  .timeline__icon {
    left: -10px !important;
    right: auto !important;
  }

  .timeline__event::after {
    left: 15px;
    top: 50px;
    height: calc(100% - 50px);
  }
}

@media (max-width: 768px) {
  .timeline {
    padding: 0 10px;
  }

  .timeline__event,
  .timeline__event--left,
  .timeline__event--right {
    width: 100%;
    text-align: left;
    padding: 20px 20px;
    margin-bottom: 40px; /* spacing between events */
    left: 0 !important; /* override left/right positions */
  }

  /* Timeline line */
  .timeline__event::after {
    left: 20px; /* line on the left */
    top: 0;
    height: 100%;
  }

  /* Timeline icon */
  .timeline__icon {
    position: absolute;
    left: 12px !important;
    top: 0;
    right: auto !important;
  }

  /* content margin removed for mobile */
  .timeline__event--left .timeline__content,
  .timeline__event--right .timeline__content {
    margin: 0;
    padding-left: 50px; /* space for icon */
  }
}



/* === TECH STACK === */
#tech {
  padding: 4rem 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0));
}

#tech h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent1);
  margin-bottom: 2.5rem;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 1rem;
  color: var(--text);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.table thead {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}

.table th,
.table td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.table th {
  font-weight: 700;
  color: var(--accent2);
  font-size: 1.1rem;
}

.table tbody tr {
  transition: transform 0.3s ease, background 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
}

.table tbody td {
  font-weight: 500;
}

/* Table Wrapper for scroll */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 768px) {
  .table {
    font-size: 0.85rem;
    width: 100%;
    min-width: unset; /* remove forced min-width */
  }

  .table th, .table td {
    padding: 0.6rem 0.8rem;
  }

  .table tbody tr {
    margin-bottom: 0.3rem;
  }
}






/* === TEAM === */
.developer-section {
  text-align: center;
  position: relative;
  z-index: 1;
}

.developer-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--accent1);
  font-weight: 700;
}

.developer-section p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

/* Grid */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Developer Card */
.developer-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Developer Image */
.developer-image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
}

.developer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.developer-card:hover .developer-img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

/* Developer Info */
.developer-info {
  text-align: center;
}

.developer-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.developer-info p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Overlay for tech stack on hover */
.developer-overlay{
  position: absolute;
  inset: 0;
  background: rgba(18,18,25,0.95);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: #fff;
  border-radius: 16px;
  z-index: 2;
}

.developer-card:hover .developer-overlay {
  opacity: 1;
  transform: translateY(0);
}

.developer-overlay h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.tech-stack {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.developer-overlay .social-links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.developer-overlay .social-links a {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.developer-overlay .social-links a:hover {
  background: var(--accent1);
  transform: scale(1.1);
}


                                        /* === FOOTER === */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
}

.footer-logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    background: linear-gradient(90deg, #6EE7F9, #7C3AED);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
    transition: text-shadow 0.3s ease;
}

.contact-links a {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 20px;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social a:hover {
    background: var(--accent1);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent1);
}

@media screen and (max-width: 1000px) {
  :root {
    --m: 3rem;
  }
}

@media screen and (max-width: 700px) {
  footer {
    flex-direction: column;
    padding: 5rem 20vw;
  }
  .col {
    width: 100%;
  }
}

/* ANIMATIONS / REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s ease, transform .6s ease
}

.fade-in {
    opacity: 1;
    transform: none
}

[data-delay] {
    transition-delay: 0s
}

/* RESPONSIVE */
@media (max-width:860px) {
    .nav-menu {
        position: fixed;
        inset: auto 18px auto 18px;
        top: 84px;
        flex-direction: column;
        padding: 1rem;
        background: var(--surface);
        border-radius: 12px;
        display: none
    }

    .nav-menu.active {
        display: flex
    }

    .hamburger {
        display: flex
    }

    .hero {
        flex-direction: column-reverse;
        align-items: flex-start;
        padding: 1.1rem
    }

    .hero-visual {
        width: 100%;
        display: flex;
        justify-content: flex-end
    }
}

/* THEME (light override) */
:root[data-theme='light'] {
    --bg: #f7f8fb;
    --surface: rgba(10, 10, 15, 0.03);
    --muted: #475569;
    --text: #061023
}