/* ==============================================
   CICLO – Landing Page Styles
   Inspired by goodluca.framer.website
   Primary: #30D454 | Font: Inter
   ============================================== */

/* ---------- IMPORTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
    --green: #30D454;
    --green-light: #e8fbe9;
    --green-dark: #1fa83e;
    --bg: #f4f8ff;
    --bg-hero: linear-gradient(160deg, #eef6f0 0%, #e8f5fb 30%, #f4f0fc 60%, #fefefe 100%);
    --text-dark: #0d1b2a;
    --text-body: #4a5568;
    --text-light: #718096;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.08);
    --shadow-card: 0 4px 24px rgba(48,212,84,.10);
    --transition: .35s cubic-bezier(.4,0,.2,1);
    --transition-slow: .6s cubic-bezier(.4,0,.2,1);
}

/* ---------- RESET & BASE ---------- */

/* Utility: Plus Jakarta Sans helpers (use `.plus-jakarta-sans-<weight>`) */
.plus-jakarta-sans-300 { font-family: "Plus Jakarta Sans", sans-serif; font-optical-sizing: auto; font-weight: 300; font-style: normal; }
.plus-jakarta-sans-400 { font-family: "Plus Jakarta Sans", sans-serif; font-optical-sizing: auto; font-weight: 400; font-style: normal; }
.plus-jakarta-sans-500 { font-family: "Plus Jakarta Sans", sans-serif; font-optical-sizing: auto; font-weight: 500; font-style: normal; }
.plus-jakarta-sans-600 { font-family: "Plus Jakarta Sans", sans-serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; }
.plus-jakarta-sans-700 { font-family: "Plus Jakarta Sans", sans-serif; font-optical-sizing: auto; font-weight: 700; font-style: normal; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body, .body-index {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    background-image: none !important;
    line-height: 1.6;
    overflow-x: hidden;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

.highlight {
    color: var(--green);
}

/* Utility: white text */
.text-white { color: var(--white); }

/* ---------- NAVBAR ---------- */
.navbar-ciclo {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 10px 20px;
    background: var(--green);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 30px rgba(48,212,84,.25);
    transition: var(--transition);
    width: auto;
    max-width: 95%;
}

.navbar-ciclo.scrolled {
    padding: 8px 16px;
    box-shadow: 0 8px 40px rgba(48,212,84,.35);
}

.navbar-ciclo.hidden {
    /* keep centered (translateX) but only move vertically when hiding */
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.nav-logo img {
    height: 20px;
    transition: var(--transition);
    filter: brightness(10);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover { color: var(--white); }

/* remove underline-on-hover for nav links */
.nav-links a::after {
    display: none; /* disable underline pseudo-element */
}

/* keep hover visual feedback via color only (no underline) */
.nav-links a:hover { color: var(--white); text-decoration: none; }

.btn-primary-ciclo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--green);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    border: 2px solid var(--green);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary-ciclo:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48,212,84,.3);
    color: var(--white);
}

.btn-outline-ciclo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(0,0,0,.12);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-outline-ciclo:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    text-align: center;
}

.nav-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: var(--white);
    color: black;
    font-weight: 600;
    font-size: 14px;
    border-radius: 9999px; /* pill */
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    position: relative; /* sit above decorative shapes */
    z-index: 1100;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.nav-signup-btn:hover {
    background: rgba(255,255,255,.95);
    color: var(--green-dark);
    transform: scale(1.03);
}

/* Mobile open menu: keep pill visible on green background */
.nav-links.open .nav-signup-btn {
    margin-top: 8px;
    background: var(--white);
    color: var(--green-dark);
}


/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--bg-hero);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
}

.shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(48,212,84,.3), transparent 70%);
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(100,150,255,.2), transparent 70%);
    bottom: -50px; left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(200,150,255,.15), transparent 70%);
    top: 30%; left: 40%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(.95); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: flex;
}

.avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid var(--white);
    margin-left: -8px;
}

.avatar:first-child { margin-left: 0; }

.trust-text {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

/* Phone Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
    width: 160px;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid #1a1a2e;
    background: #1a1a2e;
    z-index: 2;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 16px 16px;
    z-index: 5;
}

.phone-screen {
    width: 100%;
    display: block;
    border-radius: 28px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: opacity, transform;
    position: relative;
    z-index: 1;
}

/* overlay image used for cross-fade inside phone mockup */
/* Scoped fix for step phone: make both images absolutely positioned to avoid layout shifts */
#stepPhone { position: relative; overflow: hidden; display: block; width: 180px; height: 338px; max-width: 100%; }
#stepPhone .phone-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 20px; z-index: 1; }
.phone-screen--overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 420ms cubic-bezier(.2,.9,.2,1); pointer-events: none; border-radius: 20px; z-index: 4; }

@supports (aspect-ratio: 1 / 1) {
    #stepPhone { width: 180px; aspect-ratio: 9 / 19; height: auto; }
}

.phone-small {
    width: 160px;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.card-points {
    top: 15%;
    right: -30px;
    animation-delay: 0s;
}

.card-recycled {
    bottom: 20%;
    left: -30px;
    animation-delay: 2s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.floating-card-icon {
    font-size: 28px;
}

.floating-card-content {
    display: flex;
    flex-direction: column;
}

.floating-card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.floating-card-label {
    font-size: 12px;
    color: var(--text-light);
}

/* ---------- LOGOS STRIP ---------- */
.logos-strip {
    padding: 50px 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,.04);
    border-bottom: 1px solid rgba(0,0,0,.04);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 30px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.logos-track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-slide {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: scroll-logos 25s linear infinite;
    width: max-content;
}

.partner-logo {
    height: 50px;
    opacity: .6;
    filter: grayscale(40%);
    transition: var(--transition);
    flex-shrink: 0;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works {
    position: relative;
    background: var(--white);
    /* Remove min-height constraint to let content dictate, 
       but we want it tall for scroll effect */
}

.scrolly-layout {
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* --- Sticky Side --- */
.sticky-visual-wrapper {
    width: 50%;
    /* Keep it sticky */
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure it stays visible above scrolling cards */
    z-index: 120;
}

.sticky-visual {
    position: relative;
    width: 180px; /* Adjust based on phone size */
    height: 338px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Perspective settings moved to wrapper or element */
.phone-perspective-wrapper {
    perspective: 1500px;
    width: 100%;
    height: 100%;
}

.phone-perspective {
    width: 100%;
    height: 100%;
    /* GoodLuca style rotation: tilted back and slightly rotated */
    transform: rotateX(15deg) rotateY(15deg) rotateZ(-5deg);
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 
        -20px 30px 50px rgba(0,0,0,0.2), 
        -5px 10px 15px rgba(0,0,0,0.1);
    border-radius: 40px; /* Match phone radius */
    background: #000;
}

/* Sticker / Blob Badge */
.step-badge {
    position: absolute;
    top: -30px;
    left: -40px;
    width: 120px;
    height: 120px;
    background: var(--green);
    color: var(--white);
    font-size: 56px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20; /* Above phone */
    /* Blob shape */
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    box-shadow: 0 15px 35px rgba(48,212,84,0.4);
    /* Float animation */
    transform: translateZ(50px); /* If 3D space allows */
    transition: all 0.5s cubic-bezier(0.3, 1.5, 0.5, 1), border-radius 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    /* Remove continuous morph to allow step-specific shapes, 
       or keep it subtle if desired. Let's use specific shapes per step. */
}

/* Shapes per step */
.step-badge[data-shape="1"] {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background-color: var(--green);
}

.step-badge[data-shape="2"] {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background-color: #26ab44; /* Slightly darker green or different tint */
}

.step-badge[data-shape="3"] {
    border-radius: 73% 27% 59% 41% / 57% 59% 41% 43%;
    background-color: #30D454;
}

.step-badge[data-shape="4"] {
    border-radius: 28% 72% 38% 62% / 65% 33% 67% 35%;
    background-color: #1fa83e;
}

/* Pop animation when changing steps */
.step-badge.changing {
    animation: blobPop 0.4s ease-out;
}

@keyframes blobPop {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(15deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Optional Backdrop Blob behind phone */
.blob-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(48,212,84,0.08), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* --- Scrollable Steps Side --- */
.steps-scroller {
    width: 45%;
    display: flex;
    flex-direction: column;
    /* Padding to align first step nicely */
}

/* Spacers to center steps vertically relative to viewport */
.step-spacer { height: 30vh; }
.step-spacer-bottom { height: 30vh; }

.step-card {
    height: 90vh; /* Each step takes almost full screen height */
    display: flex;
    align-items: center; /* Center content vertically */
    padding: 20px;
    opacity: 0.3;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-card.active {
    opacity: 1;
    transform: scale(1);
}

.step-content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.step-number-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(48,212,84,0.06);
    line-height: 1;
    z-index: 0;
}

.step-card .section-title,
.step-card .step-desc {
    position: relative;
    z-index: 1;
}

/* Override existing step styles if needed */
.section-title {
    font-size: 32px;
    margin-bottom: 16px;
    font-weight: 700; /* make headings bold */
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ---------- TESTIMONIAL HIGHLIGHT ---------- */
.testimonial-highlight {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-hero);
}

.testimonial-bg-shapes .shape-4 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(48,212,84,.15), transparent 70%);
    top: -100px; left: -100px;
    animation: float 9s ease-in-out infinite;
}

.testimonial-bg-shapes .shape-5 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(100,200,255,.1), transparent 70%);
    bottom: -100px; right: -100px;
    animation: float 11s ease-in-out infinite reverse;
}

.quote-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.big-quote {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.big-quote .highlight {
    font-weight: 800;
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* Ensure the author text is left-aligned while the block remains centered */
.quote-author > div {
    text-align: left;
}

.quote-avatar {
    width: 52px; height: 52px;
    background: var(--green-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.quote-author strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    text-align: left; /* explicit */
}

.quote-author span {
    font-size: 14px;
    color: var(--text-light);
    text-align: left; /* explicit */
}

/* ---------- FEATURE CARDS (fan layout) ---------- */
.feature-cards-section {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.cards-fan {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: flex-end;
    perspective: 1000px;
}

.feature-card {
    width: 320px;
    min-height: 360px;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: rotate(var(--rotation, 0deg));
    transition: var(--transition-slow);
    cursor: default;
    position: relative;
}

.feature-card:hover {
    transform: rotate(0deg) translateY(-12px) scale(1.03);
    z-index: 2;
}

.card-pink { background: #fde8ef; }
.card-yellow { background: #fef9e7; }
.card-green { background: #e8fbe9; }

.card-icon-badge {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.card-icon-badge.pink { background: rgba(220,100,150,.15); }
.card-icon-badge.yellow { background: rgba(200,170,60,.15); }
.card-icon-badge.green { background: rgba(48,212,84,.15); }

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-pink h3 { color: #9b2c5b; }
.card-yellow h3 { color: #8b6914; }
.card-green h3 { color: #1a7a2e; }

.feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body);
}

/* ---------- BENTO SECTION ---------- */
.bento-section {
    padding: 120px 0;
    background: var(--bg);
}

.section-title-center {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    max-width: 700px;
    margin: 0 auto 60px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid rgba(0,0,0,.06);
    transition: var(--transition);
    overflow: hidden;
}

.bento-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.bento-large {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-large p { color: rgba(255,255,255,.85); font-size: 16px; }

.bento-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.bento-number {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -2px;
}

.bento-unit {
    font-size: 18px;
    font-weight: 500;
    opacity: .8;
}

.bento-medium { grid-column: span 1; }

.bento-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.bento-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.bento-card p { font-size: 15px; color: var(--text-body); line-height: 1.6; }

.bento-app-preview {
    grid-column: span 2;
}

.mini-app-cards {
    display: flex;
    gap: 20px;
}

.mini-card {
    flex: 1;
    text-align: center;
}

.mini-screen {
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    margin-bottom: 10px;
    max-height: 260px;
    object-fit: cover;
    width: 100%;
}

.mini-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
}

.bento-wide {
    grid-column: span 1;
}

/* ---------- PRICING ---------- */
.pricing-section {
    padding: 120px 0;
    background: var(--white);
}

.pricing-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--text-body);
    max-width: 500px;
    margin: -40px auto 50px;
}

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid rgba(0,0,0,.08);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-card);
    transform: translateY(-6px);
}

.pricing-header {
    margin-bottom: 36px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 4px;
}

.currency {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.price {
    font-size: 56px;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -2px;
}

.pricing-period {
    font-size: 16px;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 36px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    font-size: 15px;
    color: var(--text-body);
    border-bottom: 1px solid rgba(0,0,0,.04);
}

.pricing-features li:last-child { border-bottom: none; }

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg);
}

.section-subtitle {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid rgba(0,0,0,.06);
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-card);
    transform: translateY(-4px);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-author strong {
    display: block;
    font-size: 15px;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* ---------- FAQ ---------- */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.faq-question span {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
}

.faq-arrow {
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--text-light);
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s cubic-bezier(.4,0,.2,1);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-hero);
}

.cta-bg-shapes .shape-6 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(48,212,84,.2), transparent 70%);
    top: -150px; right: -100px;
    animation: float 10s ease-in-out infinite;
}

.cta-bg-shapes .shape-7 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(100,200,255,.12), transparent 70%);
    bottom: -50px; left: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer-ciclo {
    background: var(--text-dark);
    color: rgba(255,255,255,.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 44px;
    margin-bottom: 16px;
    filter: brightness(10);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
}

/* Contact column — keep email left-aligned even on mobile */
.footer-contact { text-align: left; }
.footer-contact ul { padding-left: 0; }
.footer-contact ul li { text-align: left; }
.footer-contact ul li a[href^="mailto:"] { display: inline-block; text-align: left; }

/* Ensure all footer columns' list items are left-aligned */
.footer-col { text-align: left; }
.footer-col ul { padding-left: 0; }
.footer-col ul li { text-align: left; }

@media (max-width: 768px) {
    /* keep footer columns left-aligned on small screens */
    .footer-contact { text-align: left !important; }
    .footer-col { text-align: left !important; }
    .footer-social { justify-content: flex-start !important; }
    .footer-brand p { margin: 0 0 20px; }
}

.footer-col ul li a:hover {
    color: var(--green);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover {
    background: var(--green);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,.5);
    transition: var(--transition);
}

.footer-bottom-links a:hover { color: var(--green); }

/* ---------- SCROLL ANIMATIONS ---------- */
.animate-on-scroll {
    opacity: 0;
    transition: opacity .8s cubic-bezier(.4,0,.2,1), transform .8s cubic-bezier(.4,0,.2,1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: none !important;
}

.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }

.delay-100 { transition-delay: .1s; }
.delay-200 { transition-delay: .2s; }
.delay-300 { transition-delay: .3s; }
.delay-400 { transition-delay: .4s; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }

    .hero-visual { margin-top: 20px; }

    /* Updated Responsive for Scrolly Layout - Mobile "Sheet" Effect */
    .scrolly-layout {
        flex-direction: column;
        align-items: stretch;
    }

    /* Legacy support removal */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    /* Legacy support removal */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .bento-grid { grid-template-columns: 1fr 1fr; }
    .bento-large { grid-column: span 2; }
    .bento-app-preview { grid-column: span 2; }
    .bento-wide { grid-column: span 2; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar-ciclo {
        top: 10px;
        left: 10px;
        right: 10px;
        transform: none;
        width: auto;
        max-width: none;
        padding: 12px 16px;
    }

    .nav-inner {
        justify-content: space-between;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 10px;
        right: 10px;
        background: var(--green);
        padding: 24px;
        box-shadow: 0 8px 40px rgba(48,212,84,.35);
        border-radius: var(--radius-lg);
        gap: 16px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-12px) scale(.98);
        transform-origin: top center;
        visibility: hidden;
        pointer-events: none;
        transition:
            max-height .38s cubic-bezier(.4,0,.2,1),
            opacity .25s ease,
            transform .38s cubic-bezier(.4,0,.2,1),
            visibility 0s linear .38s;
        will-change: transform, opacity, max-height;
    }
    .nav-toggle { display: flex; }

    .nav-links.open {
        max-height: 420px;
        opacity: 1;
        transform: translateY(0) scale(1);
        visibility: visible;
        pointer-events: auto;
        transition:
            max-height .42s cubic-bezier(.4,0,.2,1),
            opacity .2s ease,
            transform .42s cubic-bezier(.2,.8,.2,1),
            visibility 0s;
    }

    .nav-links.open a {
        color: var(--white);
        font-size: 16px;
        padding: 8px 0;
        animation: navItemFadeIn .35s ease both;
    }

    .nav-links.open a:nth-child(1) { animation-delay: .04s; }
    .nav-links.open a:nth-child(2) { animation-delay: .08s; }
    .nav-links.open a:nth-child(3) { animation-delay: .12s; }
    .nav-links.open a:nth-child(4) { animation-delay: .16s; }
    .nav-links.open a:nth-child(5) { animation-delay: .2s; }

    .nav-links.open .nav-signup-btn {
        margin-top: 8px;
    }

    .hero { padding: 130px 0 60px; min-height: auto; }
    .hero-title { font-size: 36px; }

    .phone-mockup { width: 145px; }
    .phone-small { width: 145px; }

    /* ========== HOW IT WORKS - MOBILE LAYOUT ========== */
    /* Fixed phone at top, text scrolls below */
    .how-it-works {
        padding: 0;
        position: relative;
    }

    .how-it-works .container {
        padding: 0;
        max-width: 100%;
    }

    .scrolly-layout {
        flex-direction: column;
        align-items: center;
    }


@keyframes navItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


    .sticky-visual-wrapper {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 45vh;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 140; /* higher on mobile too */
        pointer-events: none;
        background: linear-gradient(to bottom, var(--white) 70%, transparent 100%);
        /* Hidden by default on mobile */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .sticky-visual-wrapper.visible {
        opacity: 1;
        visibility: visible;
    }

    .sticky-visual {
        transform: scale(0.85);
        transform-origin: center center;
        height: auto;
        width: auto;
    }

    .phone-perspective-wrapper {
        perspective: 1200px;
    }

    .phone-perspective {
        transform: rotateX(5deg) rotateY(-8deg) rotateZ(2deg);
        box-shadow: -15px 25px 40px rgba(0,0,0,0.15);
    }

    /* Badge positioning for mobile */
    .step-badge {
        width: 90px;
        height: 90px;
        font-size: 38px;
        top: 10px;
        left: 50%;
        margin-left: -120px;
        transform: none;
    }

    .blob-backdrop {
        width: 350px;
        height: 350px;
    }

    .steps-scroller {
        width: 100%;
        padding-top: 45vh;
        position: relative;
        z-index: 1; /* below the fixed phone */
    }

    .step-spacer { display: none; }
    .step-spacer-bottom { height: 10vh; }

    .step-card {
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 16px 12px; /* reduced padding */
        margin-bottom: 20vh; /* reduced spacing so cards don't leave huge gaps */
        opacity: 1 !important;
        transform: none !important;
        background: transparent;
        pointer-events: none;
        border: none;
    }

    .step-card:first-of-type {
        margin-top: 10vh;
    }

    .step-card:last-of-type {
        margin-bottom: 30vh;
    }

    .step-content-box {
        pointer-events: auto;
        background: var(--white);
        box-shadow: 0 4px 30px rgba(0,0,0,0.1);
        padding: 32px 24px;
        text-align: center;
        border-radius: 24px;
        max-width: 340px;
        width: 100%;
    }

    .step-number-bg {
        display: none;
    }

    .step-card .section-title {
        font-size: 22px;
        margin-bottom: 12px;
        font-weight: 700; /* bold on mobile too */
        font-family: 'Plus Jakarta Sans', sans-serif;
    }

    .step-card .step-desc {
        font-size: 15px;
        line-height: 1.6;
        color: var(--text-body);
    }

    .floating-card { 
        padding: 10px 14px; 
        font-size: 13px; 
    }
    .card-points { right: -10px; }
    .card-recycled { left: -10px; }

    .cards-fan {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        width: 100%;
        max-width: 340px;
        transform: rotate(0deg) !important;
    }

    .bento-grid { grid-template-columns: 1fr; }
    .bento-large,
    .bento-app-preview,
    .bento-wide { grid-column: span 1; }

    .testimonials-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 0 auto 20px; }
    .footer-social { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .section-title-center { font-size: 28px; }
    .big-quote { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 30px; letter-spacing: -1px; }
    .hero-subtitle { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .bento-number { font-size: 36px; }
    .price { font-size: 42px; }
    .pricing-card { padding: 36px 24px; }
}

/* ---------- MISC OVERRIDES ---------- */
/* Remove old Bootstrap-based body class interference */
.body-index {
    background-image: none !important;
    height: auto !important;
}

.body-comercios {
    margin: 0;
    padding: 0;
    background-image: url('../../images/fondo-comercios.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}