/* =========================================================
   TENKS LANDING / MOCKUPS — Stylesheet
   File: styles.css
   Note: This CSS is extracted from the original single-file HTML.
   ========================================================= */

    :root {
      /* Palette */
      --color-primary: #0F172A;       
      --accent-blue: #0284C7;         
      --accent-green: #10B981;        
      --accent-orange: #F97316;       
      --accent-yellow: #F59E0B;
      --accent-purple: #7C3AED;
      --accent-red: #EF4444;
      
      --bg-surface: #FFFFFF;
      --bg-subtle: #F8FAFC;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --border-light: #E2E8F0;

      /* Shadow Premium */
      --shadow-soft: 0 10px 25px -5px rgba(2, 132, 199, 0.06), 0 4px 12px -2px rgba(2, 132, 199, 0.03);
      --shadow-float: 0 20px 30px -5px rgba(2, 132, 199, 0.1), 0 8px 10px -4px rgba(2, 132, 199, 0.04);
      --shadow-glow: 0 8px 20px -4px rgba(249, 115, 22, 0.3);

      /* Design Tokens */
      --radius-xl: 32px;
      --radius-l: 24px;
      --radius-btn: 12px;

      /* Mockup Scaling */
      --mockup-scale-desktop: 0.88;
      --mockup-scale-mobile: 0.82;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    
    body { 
      font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
      color: var(--text-main); 
      background: #FFFFFF; 
      line-height: 1.6; 
      overflow-x: hidden; 
      display: block; 
    }
    
    h1, h2, h3, h4, h5 { font-family: 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text-main); letter-spacing: -0.02em; }
    p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.75; }

    /* AURORA BG */
    .aurora-bg { position: absolute; top: 0; left: 0; width: 100%; height: 120vh; z-index: -1; overflow: hidden; background: radial-gradient(circle at 15% 50%, rgba(14, 165, 233, 0.06), transparent 25%), radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.06), transparent 25%); }

    /* CONTAINER */
    .container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
    .text-center { text-align: center; }
    .d-flex { display: flex; align-items: center; }

    /* HEADER */
    header { padding: 20px 0; position: sticky; top: 0; width: 100%; z-index: 1000; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(241, 245, 249, 0.6); }
    .nav-content { justify-content: space-between; }
    .logo { font-family: 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; font-weight: 800; font-size: 1.75rem; color: var(--color-primary); text-decoration: none; letter-spacing: -0.04em; }
    
    /* Tenks logo accent colors */
    .logo .tnk, .logo .dot { color: var(--accent-blue); }
    .logo span { color: var(--accent-blue); }
    .lang-switch { display: flex; gap: 8px; font-weight: 700; font-size: 0.9rem; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
    
    .lang-btn { cursor: pointer; color: var(--text-muted); transition: 0.2s; padding: 4px 8px; border-radius: 6px; }
    .lang-btn:hover { color: var(--text-main); background: var(--bg-subtle); }
    .lang-btn.active { color: var(--accent-blue); background: rgba(14, 165, 233, 0.1); }

    .btn-solid { background: var(--color-primary); color: white; border: none; padding: 12px 28px; border-radius: var(--radius-btn); font-weight: 600; text-decoration: none; transition: all 0.3s; display: inline-block; cursor: pointer; }
    .btn-solid:hover { background: var(--accent-blue); box-shadow: 0 10px 15px -3px rgba(14, 165, 233, 0.3); transform: translateY(-1px); }

    /* HERO */
    .hero { padding: 100px 0 140px; position: relative; }
    .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
    .hero h1 { font-size: 4.2rem; line-height: 1.1; margin-bottom: 32px; font-weight: 800; background: linear-gradient(180deg, #0F172A 0%, #0284C7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    
    /* --- PHONE MOCKUP STYLES --- */
    .phone-wrapper { position: relative; display: flex; justify-content: center; height: 700px; }
    
    .phone-mockup {
      background: #FFFFFF; border-radius: 48px; width: 360px; height: 740px;
      box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
      border: 8px solid #FFFFFF;
      overflow: hidden; position: relative;
      flex-shrink: 0;
      transform: scale(var(--mockup-scale-desktop));
      transform-origin: top center;
    }
    
    /* Hero Animation */
    .phone-mockup.hero-anim { animation: floatHero 8s ease-in-out infinite; }
    @keyframes floatHero { 
      0%, 100% { transform: rotate(-3deg) translateY(0px) scale(var(--mockup-scale-desktop)); } 
      50% { transform: rotate(-3deg) translateY(-20px) scale(var(--mockup-scale-desktop)); } 
    }
    
    /* Static Phone */
    .phone-mockup.static { 
      transform: scale(var(--mockup-scale-desktop)); 
      transform-origin: top center;
      margin: 0 auto; 
      box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.15); 
      border-width: 6px; 
    }
    /* Marco Tab Content */
    .marco-tab-content {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 60px;
      overflow: hidden;
    }
    .marco-tab-content iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }


    /* Screen Content Area */
    .screen-content {
      position: absolute; top: 0; left: 0; right: 0; bottom: 0;
      overflow-y: auto; background: #FFFFFF;
      padding: 24px 20px 130px 20px; 
      scrollbar-width: none;
    }


/* =========================================================
   GIULIA PHONE SHELL (iframes) — remove extra padding + fix footer gap
   ========================================================= */
#giulia-phone .screen-content{
  padding: 0 !important;
  overflow: hidden !important;
  background: #FFFFFF;
}
/* Keep iframe content above bottom nav */
#giulia-phone .phone-tab-content{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 92px; /* nav bar occupies the bottom */
  padding: 0 !important;
  margin: 0 !important;
}
#giulia-phone .phone-tab-content > div{
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
#giulia-phone .phone-tab-content iframe{
  width: 100% !important;
  height: 100% !important;
  display: block;
}

    .screen-content::-webkit-scrollbar { display: none; }


    /* --- SPLASH SCREEN (Aligned with mockup style) --- */
    .splash-mode {
      background: #FFFFFF !important;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      gap: 14px;
      padding: 22px 18px 26px 18px !important;
    }

    .splash-top {
      position: relative;
      padding: 18px 18px 16px;
      border-radius: 26px;
      border: 1px solid rgba(241, 245, 249, 0.9);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      background:
        radial-gradient(800px 280px at 20% 10%, rgba(14, 165, 233, 0.18), transparent 55%),
        radial-gradient(700px 260px at 80% 20%, rgba(16, 185, 129, 0.16), transparent 60%),
        radial-gradient(700px 260px at 40% 110%, rgba(139, 92, 246, 0.14), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    }

    .splash-brand-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }

    .brand-logo-splash {
      font-family: 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      font-weight: 800;
      font-size: clamp(2.1rem, 6vw, 2.6rem);
      line-height: 1;
      color: var(--color-primary);
      letter-spacing: -1.2px;
    }
    .brand-logo-splash span { color: var(--accent-blue); }

    .chip-beta {
      font-size: 0.72rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.9px;
      padding: 8px 10px;
      border-radius: 999px;
      color: var(--color-primary);
      background: rgba(255, 255, 255, 0.75);
      border: 1px solid rgba(241, 245, 249, 0.9);
      box-shadow: 0 6px 14px -10px rgba(15, 23, 42, 0.25);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      flex-shrink: 0;
    }

    .main-slogan-splash {
      font-family: 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      font-weight: 800;
      font-size: 1.75rem;
      line-height: 1.15;
      color: var(--color-primary);
      letter-spacing: -0.7px;
      margin-top: 4px;
    }

    .sub-slogan-splash {
      margin-top: 10px;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--text-muted);
    }

    .cards-wrapper-splash {
      display: flex;
      flex-direction: column;
      gap: 20px;
      text-align: left;
      align-items: stretch;
      /* More breathing room from the hero block */
      margin-top: 22px;
      padding-top: 6px;
    }

    .label-helper-splash {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #0284C7;
      margin: 6px 0 2px;
      padding-left: 4px;
    }

    /* Splash cards */
    .value-card {
      position: relative;
      width: 100%;
      border-radius: 24px;
      cursor: pointer;
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      min-height: 124px;
    }
    .value-card:hover { transform: translateY(-3px); }
    .value-card:active { transform: scale(0.985); }

    .splash-card {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 22px 20px;
    }

    .splash-card-cta {
      flex-shrink: 0;
      pointer-events: none; /* keep the whole card clickable */
    }

    .enter-pill {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      padding: 0;
      border-radius: 999px;
      font-weight: 800;
      font-size: 0.95rem;
      color: var(--color-primary);
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid rgba(241, 245, 249, 0.95);
      box-shadow: 0 10px 20px -18px rgba(2, 132, 199, 0.35);
    }


    .enter-arrow {
      font-size: 1.05rem;
      line-height: 1;
      transform: translateY(-0.5px);
    }

    .splash-card-icon {
      width: 46px;
      height: 46px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      box-shadow: 0 10px 20px -15px rgba(15, 23, 42, 0.35);
    }
    .splash-card-icon .material-icons-round { font-size: 22px; }

    .splash-card-main { flex: 1; min-width: 0; }

    .card-consumer {
      background: #FFFFFF;
      border: 1px solid rgba(16, 185, 129, 0.18);
      box-shadow: 0 10px 25px -18px rgba(16, 185, 129, 0.35);
    }
    .card-consumer:hover { border-color: rgba(16, 185, 129, 0.5); box-shadow: 0 18px 32px -22px rgba(16, 185, 129, 0.55); }
    .card-consumer .splash-card-icon { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
    .card-consumer .c-label { color: var(--accent-green); }
    .card-consumer .c-title { color: var(--color-primary); }
    .card-consumer .c-desc { color: var(--text-muted); }
    .card-consumer .arrow-icon { color: rgba(2, 132, 199, 0.6); }

    .card-business {
      background: var(--color-primary);
      border: 1px solid rgba(2, 132, 199, 0.18);
      box-shadow: 0 18px 38px -26px rgba(2, 132, 199, 0.7);
      color: #FFFFFF;
    }
    .card-business:hover { box-shadow: 0 24px 44px -30px rgba(2, 132, 199, 0.9); }
    .card-business .splash-card-icon { background: rgba(14, 165, 233, 0.18); color: #0EA5E9; }
    .card-business .c-label { color: #0EA5E9; }
    .card-business .c-title { color: #FFFFFF; }
    .card-business .c-desc { color: #0284C7; }
    .card-business .arrow-icon { color: rgba(255, 255, 255, 0.75); }

    .top-row-splash {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 4px;
    }
    .c-label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; }
    .c-title {
      font-family: 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      font-size: 1.7rem;
      font-weight: 800;
      line-height: 1;
      margin-bottom: 8px;
      letter-spacing: -0.4px;
    }
    .c-desc { font-size: 0.95rem; font-weight: 600; }
    .arrow-icon { font-size: 22px; transition: 0.2s; opacity: 0.7; }
    .value-card:hover .arrow-icon { opacity: 1; transform: translateX(3px); }

    .splash-footnote {
      margin-top: 4px;
      font-size: 0.78rem;
      font-weight: 700;
      color: #0284C7;
      text-align: center;
    }


    /* --- MOCKUP UI ELEMENTS (Standard App) --- */
    .h-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; margin-top: 8px; }
    .h-header div:first-child { text-align: left; } 

    .avatar-circle { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; border: 2px solid white; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.1); }
    .avatar-circle img { width: 100%; height: 100%; object-fit: cover; }

    .search-bar { background: white; border: 1px solid #F1F5F9; padding: 14px 16px; border-radius: 16px; display: flex; align-items: center; gap: 12px; color: #0284C7; margin-bottom: 24px; box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.06); }

    /* Map */
    .map-container { height: 150px; background-color: #F8FAFC; border-radius: 24px; margin-bottom: 24px; position: relative; overflow: hidden; background-image: linear-gradient(white 8px, transparent 8px), linear-gradient(90deg, white 8px, transparent 8px); background-size: 60px 60px; border: 1px solid #0EA5E9; }
    .map-road-1 { position: absolute; width: 120%; height: 12px; background: white; top: 30%; left: -10%; transform: rotate(15deg); box-shadow: 0 2px 4px rgba(15, 23, 42, 0.05); }
    .map-road-2 { position: absolute; width: 120%; height: 10px; background: white; top: 60%; left: -10%; transform: rotate(-5deg); }
    .user-loc { position: absolute; top: 55%; left: 45%; width: 16px; height: 16px; background: #0EA5E9; border: 3px solid white; border-radius: 50%; box-shadow: 0 4px 10px rgba(14, 165, 233, 0.4); z-index: 5; }
    .user-loc::after { content:''; position: absolute; top: -12px; left: -12px; width: 34px; height: 34px; background: rgba(14, 165, 233, 0.2); border-radius: 50%; animation: pulse 2s infinite; z-index: -1; }
    @keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
    .map-pin { position: absolute; font-size: 32px; filter: drop-shadow(0 4px 4px rgba(15, 23, 42, 0.15)); z-index: 10; }

    .flash-banner { background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%); border-radius: 20px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; color: white; margin-bottom: 32px; box-shadow: var(--shadow-glow); }

    .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; padding: 0 4px; }
    .link-all { color: var(--accent-purple); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.2s; }
    .link-all:hover { opacity: 0.8; }

    .shop-card { background: white; padding: 12px; border-radius: 22px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; box-shadow: var(--shadow-soft); border: 1px solid transparent; transition: 0.2s; }
    .shop-card:active { transform: scale(0.98); }
    .shop-img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; flex-shrink: 0; background: #F1F5F9; }
    .shop-info { flex: 1; margin-left: 16px; display: flex; flex-direction: column; justify-content: center; text-align: left; }
    .rating-row { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; font-weight: 700; color: #F59E0B; margin-top: 6px; }
    .dist-text { color: var(--text-muted); font-weight: 500; margin-left: 4px; }
    .save-badge-big { background: var(--accent-orange); color: white; border-radius: 16px; width: 78px; height: 78px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8px 15px -3px rgba(249, 115, 22, 0.3); flex-shrink: 0; }
    .sb-label { font-size: 0.7rem; font-weight: 700; line-height: 1; margin-bottom: 2px; }
    .sb-val { font-size: 1.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
    .sb-left { font-size: 0.65rem; font-weight: 600; margin-top: 4px; opacity: 0.9; }

    .h-scroll-container { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 20px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
    .h-scroll-container::-webkit-scrollbar { display: none; }
    .event-card { min-width: 160px; position: relative; }
    .event-img-wrap { width: 100%; height: 110px; border-radius: 18px; overflow: hidden; margin-bottom: 10px; position: relative; box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05); }
    .event-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .event-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 8px 12px; background: linear-gradient(0deg, rgba(15, 23, 42, 0.7) 0%, transparent 100%); color: white; font-size: 0.75rem; font-weight: 600; }
    .event-title { font-weight: 700; font-size: 0.95rem; color: var(--text-main); }
    .event-sub { font-size: 0.8rem; color: var(--text-muted); }

    .foryou-card { background: white; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-float); border: 1px solid #F1F5F9; margin-top: 8px; }
    .foryou-cover { height: 160px; width: 100%; object-fit: cover; }
    .foryou-content { padding: 20px; }

    /* WALLET ELEMENTS */
    .w-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; margin-top: 8px; }
    .wallet-card { background: linear-gradient(120deg, var(--accent-blue) 0%, #0284C7 100%); padding: 24px; border-radius: 28px; color: white; margin-bottom: 24px; box-shadow: 0 12px 25px -5px rgba(14, 165, 233, 0.30); position: relative; overflow: hidden; }
    .coin-icon { width: 40px; height: 40px; background: var(--accent-yellow); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #F97316; font-size: 1.2rem; margin-right: 12px; box-shadow: 0 4px 6px rgba(15, 23, 42, 0.1); }
    .blob { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.1); pointer-events: none; }
    
    /* NEW: Wallet Pay Button */
    .wallet-pay-btn {
      background: rgba(255, 255, 255, 0.95); color: #0284C7;
      border: none; padding: 10px 18px; border-radius: 12px;
      font-weight: 700; font-size: 0.9rem; cursor: pointer;
      display: flex; align-items: center; gap: 8px;
      box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
      transition: all 0.2s;
    }
    .wallet-pay-btn:hover { transform: translateY(-2px); background: #FFFFFF; }
    .wallet-pay-btn span.material-icons-round { font-size: 20px; }

    .savings-card { background: #F8FAFC; border: 1px solid #F1F5F9; border-radius: 24px; padding: 20px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; position: relative; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.05); }
    .savings-bg-chart { position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23dcfce7" fill-opacity="0.8" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,234.7C960,203,1056,117,1152,96C1248,75,1344,117,1392,138.7L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>'); background-size: cover; background-position: bottom; pointer-events: none; z-index: 0; }
    .savings-icon-box { width: 52px; height: 52px; background: #FFFFFF; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--accent-green); box-shadow: 0 4px 10px rgba(16, 185, 129, 0.15); z-index: 1; }
    .savings-info { flex: 1; margin-left: 16px; z-index: 1; }
    .savings-trend { font-size: 0.75rem; font-weight: 700; color: #10B981; background: rgba(255, 255, 255, 0.8); padding: 4px 8px; border-radius: 8px; display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }

    .active-card { padding: 20px; border-radius: 24px; color: white; margin-bottom: 16px; box-shadow: 0 10px 20px -5px rgba(15, 23, 42, 0.15); display: flex; justify-content: space-between; align-items: center; transition: transform 0.2s; }
    .active-card:active { transform: scale(0.98); }
    .pay-btn { font-size: 0.8rem; background: white; padding: 6px 14px; border-radius: 10px; display: inline-block; margin-top: 6px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1); }

    .utility-card { background: white; border: 1px solid var(--border-light); border-radius: 20px; padding: 16px; margin-bottom: 16px; box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.03); }
    .u-row { display: flex; justify-content: space-between; align-items: center; }
    .u-btn { background: var(--accent-blue); color: white; border: none; padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 0.9rem; cursor: pointer; box-shadow: 0 4px 10px -2px rgba(14, 165, 233, 0.3); }
    .toggle { width: 48px; height: 26px; background: var(--text-main); border-radius: 99px; position: relative; cursor: pointer; }
    .toggle-knob { position: absolute; right: 3px; top: 3px; width: 20px; height: 20px; background: white; border-radius: 50%; box-shadow: 0 2px 4px rgba(15, 23, 42, 0.1); }
    .prog-track { height: 8px; width: 100%; background: #F1F5F9; border-radius: 99px; margin-top: 12px; overflow: hidden; }
    .prog-fill { height: 100%; width: 45%; background: var(--accent-blue); border-radius: 99px; }

    .trans-item { display: flex; align-items: center; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid #F1F5F9; }
    .trans-item:last-child { border-bottom: none; }
    .trans-icon { width: 44px; height: 44px; background: #F8FAFC; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted); margin-right: 14px; }

    /* Nav Bar - FIXED */
    .nav-bar { 
      position: absolute; bottom: 0; left: 0; width: 100%; 
      background: rgba(255, 255, 255, 0.98); 
      backdrop-filter: blur(20px); 
      padding: 12px 24px 28px; 
      display: flex; justify-content: space-between; 
      border-top: 1px solid #F1F5F9; 
      z-index: 100; 
    }
    .nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #0284C7; cursor: pointer; transition: 0.2s; }
    .nav-item span.material-icons-round { font-size: 26px; }
    .nav-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2px; }
    .nav-item.active { color: var(--accent-orange); } 
    .nav-item.active.purple { color: var(--accent-orange); }
    .nav-item.active .nav-label { font-weight: 700; }

    /* PHONE TABS */
    .phone-tab-content { display: none; padding-bottom: 20px; animation: fadeInTab 0.3s ease-out; }
    .phone-tab-content.active { display: block; }
    @keyframes fadeInTab { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

    /* SECTIONS */
    .switch-section { margin-top: -40px; position: relative; z-index: 10; text-align: center; }
    .segmented-control { background: white; display: inline-flex; padding: 6px; border-radius: 999px; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); }
    .seg-btn { padding: 14px 40px; border-radius: 999px; border: none; background: transparent; font-weight: 600; font-size: 1rem; color: var(--text-muted); cursor: pointer; transition: 0.3s; font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
    .seg-btn.active { background: var(--color-primary); color: white; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2); }
    
    .content-tab { display: none; padding: 80px 0; }
    .content-tab.active { display: block; animation: fadeSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
    @keyframes fadeSlide { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }

    .bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
    .bento-card { background: #FFFFFF; border: 1px solid var(--border-light); border-radius: var(--radius-l); padding: 40px 32px; transition: all 0.4s; display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
    .bento-card:hover { border-color: var(--accent-blue); box-shadow: var(--shadow-hover); transform: translateY(-5px); }
    .bento-card h3 { font-size: 1.5rem; margin-bottom: 12px; margin-top: 24px; font-weight: 700; }
    .bento-wide { grid-column: span 2; background: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%); }

    .tag { display: inline-block; padding: 6px 14px; border-radius: 99px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; border: 1px solid transparent; }
    .tag-ai { background: rgba(245, 158, 11, 0.1); color: var(--accent-orange); border-color: rgba(245, 158, 11, 0.2); }
    .tag-blue { background: rgba(14, 165, 233, 0.1); color: var(--accent-blue); border-color: rgba(14, 165, 233, 0.2); }

    .story-block { background: #FFFFFF; padding: 120px 0; border-top: 1px solid var(--border-light); }
    .story-card { background: var(--bg-subtle); border-radius: var(--radius-xl); padding: 64px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: flex-start; border: 1px solid var(--border-light); }
    .story-card.animate-in { animation: fadeSlide 0.7s ease-out; }
    .story-content h3 { font-size: 2.25rem; margin-bottom: 24px; font-weight: 800; }
    .story-tenkers h3 { color: var(--color-primary); } 
    .story-tenkies h3 { color: var(--accent-green); } 
    .desc-text { font-size: 1.15rem; color: var(--text-main); margin-bottom: 40px; line-height: 1.8; background: #FFFFFF; padding: 32px; border-radius: 20px; box-shadow: var(--shadow-card); border-left: 4px solid var(--color-primary); }
    .story-tenkies .desc-text { border-left-color: var(--accent-green); }

    .benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
    .benefit-item { display: flex; align-items: flex-start; gap: 16px; }
    .b-icon-box { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .story-tenkers .b-icon-box { background: rgba(14, 165, 233, 0.1); color: var(--accent-blue); }
    .story-tenkies .b-icon-box { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
    .benefit-text h5 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
    .benefit-text p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.4; }

    .community-section { padding: 100px 0; background: white; border-top: 1px solid var(--border-light); }
    .community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 60px; }
    .comm-card { text-align: center; padding: 48px 32px; border-radius: var(--radius-l); background: #FFFFFF; border: 1px solid var(--border-light); transition: 0.3s; }
    .comm-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
    .comm-icon { font-size: 32px; margin-bottom: 24px; display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: #F1F5F9; color: var(--text-main); }

    .fund-section { background: #F8FAFC; padding: 140px 0; text-align: center; border-top: 1px solid var(--border-light); }
    .fund-section h2 { font-size: 3rem; margin-bottom: 24px; }
    .stat-row { display: flex; justify-content: center; gap: 80px; flex-wrap: wrap; margin-top: 40px; }
    .stat-item h4 { font-size: 4.5rem; margin: 0; line-height: 1; font-weight: 800; letter-spacing: -3px; background: linear-gradient(135deg, var(--color-primary) 0%, var(--accent-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
    .stat-item span { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); font-weight: 700; margin-top: 16px; display: block; }
    .pulse-heart { font-size: 64px; margin-bottom: 32px; display: inline-block; color: var(--accent-green); filter: drop-shadow(0 4px 10px rgba(16, 185, 129, 0.3)); animation: heartbeat 2s infinite cubic-bezier(0.4, 0, 0.6, 1); }
    @keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

    .trust-section { padding: 100px 0; background: #FFFFFF; border-top: 1px solid var(--border-light); }
    .trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
    .trust-item h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; margin-top: 16px; }
    .trust-item p { font-size: 0.95rem; line-height: 1.5; color: var(--text-muted); }
    .trust-icon { color: var(--color-primary); background: #E2E8F0; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 8px; }

    .join-section { padding: 120px 0; text-align: center; background: #FFFFFF; position: relative; }
    .signup-wrapper { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
    .signup-card { background: #FFFFFF; border-radius: var(--radius-l); padding: 48px 40px; border: 1px solid var(--border-light); box-shadow: var(--shadow-card); max-width: 500px; flex: 1 1 320px; text-align: left; transition: 0.3s; }
    .signup-card:hover { border-color: var(--accent-blue); box-shadow: var(--shadow-hover); }
    .signup-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
    .email-input { width: 100%; padding: 16px 20px; border-radius: 12px; border: 1px solid var(--border-light); background: #FFFFFF; font-size: 1rem; outline: none; color: var(--text-main); transition: all 0.2s; }
    .email-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1); }
    .join-btn { background: var(--color-primary); color: white; padding: 16px; border-radius: var(--radius-btn); border: none; font-size: 1.05rem; font-weight: 600; cursor: pointer; width: 100%; margin-top: 12px; transition: 0.2s; }
    .join-btn:hover { background: var(--accent-blue); transform: translateY(-2px); }
    .signup-tenkies { display: none; background: #F8FAFC; border-color: #F1F5F9; border-top: 6px solid var(--accent-green); }
    .signup-tenkers { border-top: 6px solid var(--color-primary); }
    .signup-tenkies .join-btn { background: var(--accent-green); }
    .signup-tenkies .join-btn:hover { background: #10B981; }

    footer { background: #FFFFFF; padding: 60px 0; border-top: 1px solid var(--border-light); font-size: 0.9rem; color: var(--text-muted); }

    /* MOBILE RESPONSIVE FIX */
    @media (max-width: 900px) {
      .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
      .hero h1 { font-size: 3rem; }
      .phone-wrapper { margin-top: 30px; display: flex; justify-content: center; height: auto; margin-bottom: 30px; width: 100%; }
      .phone-mockup { display: block !important; margin: 0 auto; transform: scale(var(--mockup-scale-mobile)) !important; transform-origin: top center; left: auto; right: auto; }
      .phone-mockup.static { transform: scale(var(--mockup-scale-mobile)) !important; transform-origin: top center; }

      .story-card { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
      .story-tenkers { display: grid !important; }
      .story-tenkies { display: none !important; }
      .story-tenkies[style*="display: grid"] { display: flex !important; flex-direction: column !important; align-items: center !important; }
      .story-tenkers[style*="display: none"] { display: none !important; }
      .story-content { width: 100%; }
      
      .story-tenkies .phone-wrapper { position: relative; display: flex; justify-content: center; height: 680px; }
      .story-tenkies .benefit-grid { gap: 10px 6px; margin-bottom: 12px; }
      .story-tenkies .benefit-item { gap: 6px; }
      .story-tenkies .b-icon-box { width: 32px; height: 32px; flex-shrink: 0; }
      .story-tenkies .benefit-text h5 { font-size: 0.85rem; margin-bottom: 1px; }
      .story-tenkies .benefit-text p { font-size: 0.75rem; }
      .story-tenkies .desc-text { padding: 12px; margin-bottom: 12px; font-size: 0.9rem; line-height: 1.5; }
      .story-tenkies h3 { font-size: 1.6rem; margin-bottom: 8px; }

      .story-card .benefit-grid { grid-template-columns: 1fr; gap: 20px 16px; }
      .bento-grid, .community-grid, .trust-grid { grid-template-columns: 1fr; }
      .bento-wide { grid-column: span 1; }
      .stat-row { gap: 40px; }
      .stat-item h4 { font-size: 3.5rem; }
    }
  

/* =========================================================
   GIULIA — Vendor overlay (opens Marco ME inside Giulia app)
   ========================================================= */
.giulia-vendor-overlay{
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:60px;
  z-index: 50;
  background: var(--bg-surface, #FFFFFF);
  border-radius: 48px; /* match phone corners */
  overflow:hidden;
}
.giulia-vendor-top{
  height: 58px;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.10), rgba(16, 185, 129, 0.08));
  border-bottom: 1px solid rgba(241, 245, 249, 0.9);
}
.giulia-vendor-back{
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 18px -10px rgba(2, 132, 199, 0.35);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.giulia-vendor-title{
  font-weight: 800;
  font-size: 14px;
  color: var(--text-main, #0F172A);
}
.giulia-vendor-frame{
  height: calc(100% - 58px);
}
