/* ================================
   RESET & GLOBAL
================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, Arial, sans-serif;
    background: #0b0e13;
    color: #eaeaea;
    scroll-snap-type: y mandatory;
    -webkit-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ================================
   GLOBAL RESPONSIVE BASE
================================ */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
}

/* ================================
   FONT AWESOME
================================ */
.fa, .fa-solid, .fa-regular {
    font-family: "Font Awesome 7 Free" !important;
}

.fa-brands {
    font-family: "Font Awesome 7 Brands" !important;
}

/* ================================
   SECTION BASE
================================ */
.section,
.section-dark {
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0;
}

.section {
    padding: 120px 20px;
    align-items: center;
    box-sizing: border-box;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 12px;
    color: #e6ebff;
}

.ecosystem-text {
    max-width: 800px;
    margin: auto;
    text-align: center;
    margin-bottom: 60px;
    color: #b8c0ff;
    line-height: 1.6;
    font-size: 1.1rem;
    opacity: 0.85;
}

.container {
    max-width: 100%;
    padding: 0 16px;
}

/* ===============================
   GRID LAYOUT (3x3)
================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===============================
   CARD STYLE
================================ */
.step-card {
    background: #121a2f;
    color: #e6ebff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

/* ===============================
   CARD CONTENT
================================ */
.step-date {
    font-size: 0.85rem;
    color: #f5c26b;
    margin-bottom: 6px;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4da3ff;
    margin-bottom: 12px;
}

.step-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d6dcff;
}

.step-content ul {
    padding-left: 18px;
    margin: 10px 0;
}

.step-content li {
    margin-bottom: 6px;
}
.anime-right {
  position: fixed;
  right: 10px;
  bottom: 0;
  width: 120px;
  height: 120px;
  z-index: 1000;
}

.anime-right img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* Tooltip */
.tooltip-text {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 8px 12px;
  border-radius: 6px;
  position: absolute;
  bottom: 100%;
  right: 0;
  left: auto;
  transform: translateX(0);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: normal;
  min-width: 180px;
  font-size: 10px;
  line-height: 1.4em;
}

.anime-right:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* ================================
   HERO & BACKGROUNDS
================================ */
.hero {
    background:
        linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
        url("bg-hero.webp") center/cover no-repeat fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* ================================
   PROJECT SECTIONS
================================ */
#leo,
#leo-webapp,
#libra,
#taurus,
#ecosystem,
#timeline,
#say {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image:
        linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75));
}

#taurus { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-taurus.webp");
}
#leo { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-leo.webp");
}
#leo-webapp { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-leo-webapp.webp");
}
#libra { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-libra.webp");
}
#ecosystem { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-ecosystem.webp");
}
#timeline { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-timeline.webp");
}
#say { background-image: 
    linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
    url("bg-say.webp");
}

footer {
    color: #888;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.9em;
    background:
        linear-gradient(rgba(15,8,8,0.75), rgba(15,8,8,0.75)),
        url("bg-footer.webp");
    background-repeat: repeat;
    background-position: top left;
    background-size: auto;
}
/* ================================
   HERO TEXT
================================ */
.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.85;
}

/* ================================
   FEATURES GRID
================================ */
.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: auto;
}

.features-single {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: auto;
}

.feature-box {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.feature-box h3 {
    margin-top: 0;
    color: #00d4ff;
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: auto;
}

.testimonial {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    font-style: italic;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ================================
   BUTTONS
================================ */
.btn-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn, .my-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.btn {
    background: #1f6bff;
    color: #fff;
}

.btn.outline {
    background: transparent;
    border: 2px solid #1f6bff;
}

.my-btn {
    background: linear-gradient(120deg, #0d6efd, #6610f2);
    color: #fff;
}

.my-btn:hover {
    background: linear-gradient(120deg, #6610f2, #0d6efd);
    transform: scale(1.05);
}

/* ================================
   IMAGE ICONS
================================ */
.img-icon,
.img-icon-header {
    border: 0;
    display: inline-block;
    outline: none;
    vertical-align: middle;
}

.img-icon-header {
    width: 48px;
    height: 48px;
}

/* ================================
   ANIMATION & EFFECTS
================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE BREAKPOINTS
================================ */
@media (max-width: 1024px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .steps {
        grid-template-columns: 1fr;
    }
}
