/* --- GLOBAL & EXISTING STYLES --- */
:root {
    --brand-blue: #ff6600;       
    --brand-light: #fff3eb;      
    --brand-yellow: #4c4c4c;     
    --brand-dark: #823400;       
    --white: #ffffff;
}

h2 { text-align: center; color: #ff6600; margin-bottom: 30px; }
html { scroll-behavior: smooth; }

/* --- TOOL SPECIFIC CSS --- */

.tool-section-wrapper {
    background-color: #f8f9fa;
    padding: 60px 0 100px 0;
    position: relative;
}

/* VISUAL STAGE */
.tool-visual-stage {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 60vh; /* Slightly reduced for better mobile view */
    overflow: hidden;
    display: flex;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tool-city-img {
    width: 50%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.tool-overlay-gradient {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    z-index: 2;
}

/* Route Badge */
.tool-route-badge-container {
    position: absolute;
    bottom: 80px;
    left: 0; 
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.tool-route-badge {
    background: linear-gradient(100.51deg,#d83945 10.54%,#f9700d 90.12%);
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 20px;
}

/* CONTROLS BAR (Updated for Responsiveness) */
.tool-controls-bar {
    background: var(--white);
    max-width: 900px;
    margin: -50px auto 50px auto; 
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 10;
    flex-wrap: wrap; /* Allows wrapping on mobile */
}

.tool-control-group {
    gap: 20px;
}

.tool-control-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    font-weight: 700;
    margin-bottom: 8px;
}

/* SEARCHABLE DROPDOWN CSS */
.dropdown-wrapper {
    position: relative;
    width: 100%;
}

.dropdown-input {
    width: 90%;
    padding: 14px;
    border: 2px solid var(--brand-light);
    background: var(--brand-light);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-dark);
    outline: none;
    transition: 0.3s;
    cursor: text;
}

.dropdown-input:focus {
    border-color: var(--brand-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 93, 173, 0.1);
}

.dropdown-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #eee;
}

/* Dropdown List */
.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 130%;
    background: #fff;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0px 20px 40px #ffd6332a;
}

@media (max-width: 768px) {
    .dropdown-list {
        width: 100%;
    }
}

.dropdown-list.open { display: block; }

.dropdown-item {
    width: 90%;
    padding: 12px 15px;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background-color: var(--brand-light);
    color: var(--brand-blue);
}

/* Scrollbar Styling */
.dropdown-list::-webkit-scrollbar { width: 8px; }
.dropdown-list::-webkit-scrollbar-track { background: #fff; }
.dropdown-list::-webkit-scrollbar-thumb { background: var(--brand-yellow); border-radius: 4px; }

/* NEW DYNAMIC TITLE */
.dynamic-route-title {
    text-align: center;
    margin-bottom: 40px;
    display: none; /* Hidden until search */
}
.dynamic-route-title h2 {
    font-size: 1.8rem;
    line-height: 1.4;
    color: #333;
}
.dynamic-route-title a {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.3s;
}
.dynamic-route-title a:hover {
    color: var(--brand-dark);
}

/* Tool Cards */
.insight-stream {
    max-width: 900px;
    margin: 0 auto;
    display: none; 
    padding-top: 20px;
}
.insight-stream.active { display: block; }

.insight-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(173, 91, 14, 0.68);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#card-month {
  background: linear-gradient(100.51deg,#d83945 10.54%,#f9700d 90.12%);
  color: #fff;
}

#card-month span{
  color: #fff;
}

#price-month {
  color: #fff;
}


.insight-card.in-view { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .insight-card.in-view {
    text-align: center;
  }
}

.card-header-tool {
    display: flex;
    justify-content: space-between;
    /* align-items: flex-start; */
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--brand-light);
    padding-bottom: 15px;
}

@media (max-width: 768px) {
  .card-header-tool {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.card-title-group h3 {
    font-size: 2rem;
    margin: 5px 0;
    color: var(--brand-blue);
    font-weight: 700;
}
.card-title-group span {
    font-weight: 600;
    color: #8898aa;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

#txt-time, #txt-month, #txt-advance, #txt-day {
    font-size: 2rem;
}


        /* --- NEW HERO PRICE STYLE (Only for Month) --- */
        .hero-price-display {
          /* text-align: right; */
          text-align: center;
          /* background: #fff; */
      }
      .hero-price-val {
          font-size: 3rem;
          line-height: 1;
          font-weight: 800;
          color: var(--brand-white) !important;
          display: block;
          background-color: var(--brand-yellow);
          padding: 10px;
          border-radius: 8px;
      }
      .hero-price-label {
          font-size: 0.9rem;
          text-transform: uppercase;
          color: #8898aa;
          font-weight: 700;
          letter-spacing: 1px;
          margin-top: 5px;
          display: block;
      }

.price-container {
    text-align: right;
}

.big-price {
    background: var(--brand-yellow);
    color: var(--brand-blue);
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    display: inline-block;
}

.price-label {
    display: block;
    font-size: 0.75rem;
    color: #8898aa;
    margin-top: 5px;
    font-weight: 600;
    text-transform: uppercase;
}

.data-highlight {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--brand-dark);
    display: block;
    margin-top: 5px;
}

/* Graph Styles */
.calendar-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 20px;
}
@media (min-width: 768px) { .calendar-strip { grid-template-columns: repeat(12, 1fr); } }

.cal-month {
    background: var(--brand-light);
    border-radius: 6px;
    padding: 10px 2px;
    text-align: center;
    font-weight: 700;
    color: #7f99b3;
    font-size: 0.8rem;
}
.cal-month.winner {
    background: var(--brand-yellow);
    color: var(--brand-white);
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(173, 91, 14, 0.68);
    border: 2px solid var(--brand-yellow);
    z-index: 2;
}

.day-bubbles-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}
.day-bubble {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--brand-light);
    color: #7f99b3;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.day-bubble.winner {
    width: 70px; height: 70px;
    background: var(--brand-blue);
    color: var(--brand-yellow);
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(173, 91, 14, 0.68);
    transform: translateY(-5px);
}

/* Time & Advance Charts */
.sky-container {
    height: 180px;
    position: relative;
    background: linear-gradient(to bottom, #051937, #1e4f8a);
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    display: flex; align-items: flex-end; justify-content: center;
}
.sky-container.day-mode { background: linear-gradient(to bottom, #4facfe, #00f2fe); }
.celestial-body {
    position: absolute;
    width: 50px; height: 50px;
    background: var(--brand-yellow);
    border-radius: 50%;
    box-shadow: 0 0 30px var(--brand-yellow);
    bottom: 0; left: 0;
    transform: translate(-50%, 50%);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: var(--brand-blue);
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.sun-path { width: 80%; height: 80%; border: 2px dashed rgba(255,255,255,0.3); border-bottom: 0; border-radius: 50% 50% 0 0; position: relative; margin-bottom: -5px; }
.time-labels { display: flex; justify-content: space-between; margin-top: 10px; color: #8898aa; font-weight: 600; font-size: 0.9rem; }

.advance-container { padding: 20px 0; }
.timeline-track { height: 10px; background: #e9ecef; border-radius: 10px; position: relative; margin-top: 30px; }
.timeline-fill { height: 100%; background: var(--brand-blue); width: 0%; border-radius: 10px; transition: width 2s cubic-bezier(0.22, 1, 0.36, 1); position: relative; }
.timeline-marker {
    position: absolute; right: -20px; top: -50px;
    width: 40px; height: 40px;
    background: var(--brand-yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: bold; color: var(--brand-blue);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.timeline-marker::after { content:''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--brand-yellow); }
.timeline-ticks { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 600; color: #adb5bd; font-size: 0.85rem;}

/* Tool CTA */
.tool-cta-wrapper { text-align: center; margin-top: 40px; }
.btn-tool-massive {
    display: inline-block;
    background: var(--brand-blue);
    color: white !important;
    font-size: 1.5rem;
    font-weight: 800;
    padding: 18px 60px;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(173, 91, 14, 0.68);
    transition: transform 0.2s;
}
.btn-tool-massive:hover { transform: scale(1.05); background-color: #e25a00; }

#tool { padding: 80px 0px 190px 0px; }
#tool-loader { display: none; text-align: center; padding: 40px; font-size: 1.5rem; color: var(--brand-blue); font-weight: bold; }

/* --- ZIG ZAG TIPS (Existing) --- */
.tips-section { display: flex; align-items: center; justify-content: center; gap: 50px; max-width: 1100px; margin: 0 auto 60px auto; }
.tips-section:nth-child(even) { flex-direction: row-reverse; }
.text-content { flex: 1; }
.text-content h2 { color: #ff6600; text-align: left; margin-top: 0; }
.image-content { flex: 1; display: flex; justify-content: center; }
.image-content img { max-width: 100%; height: auto; background-color: #fff; border-radius: 10px; }

/* --- QUIZ (Existing) --- */
.quiz-container { max-width: 800px; margin: 0 auto; }
.quiz-card { border-bottom: 1px solid #eee; padding: 30px 0; text-align: center;}
.quiz-card:last-child { border-bottom: none; }
.quiz-question { font-weight: 600; color: #333; margin-bottom: 20px; font-size: 1.1rem; }
.quiz-buttons { display: flex; gap: 15px; margin-bottom: 15px; justify-content: center; }
.button {
    background-color: transparent; color: #ff6600 !important; border: 2px solid #ff6600;
    font-weight: 600; padding: 10px 30px; border-radius: 35px;
    transition: all 0.3s; cursor: pointer; text-decoration: none; display: inline-block;
}
.button:hover { background-color: #ff6600; color: #fff !important; text-decoration: none; }
.button.correct-selection { background-color: #10b981; border-color: #10b981; color: white !important; }
.button.wrong-selection { background-color: #ef4444; border-color: #ef4444; color: white !important; }
.quiz-reality { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out, opacity 0.5s ease; opacity: 0; background: #f4f8fb; border-radius: 8px; margin-top: 0; }
.quiz-reality.show { max-height: 500px; padding: 20px; margin-top: 20px; opacity: 1; }
.reality-tag { font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 5px; }
.tag-myth { color: #ff6600; } .tag-fact { color: #ff6600; }

/* --- METHODOLOGY (Existing) --- */
.cards-icon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 20px 0; }
.card-icon { background-color: #fff; padding: 30px; text-align: left; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); border: 1px solid #d9d9d9; border-radius: 8px; transition: transform 0.3s; }
.card-icon:hover { transform: translateY(-5px); }
.card-icon h3 { color: #ff6600 !important; margin-top: 0 !important; font-size: 1.4rem; }

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 32px !important; }
    .sticky-nav { justify-content: flex-start; }
    .tool-controls-bar { flex-direction: column; align-items: center; padding: 20px; }
    .tool-control-group { max-width: 100%; width: 100%; }
    .insight-card { padding: 30px 20px; }
    .tips-section, .tips-section:nth-child(even) { flex-direction: column; gap: 20px; margin: 40px 0; }
    .cards-icon { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
    .card-icon { flex: 0 0 85%; scroll-snap-align: start; }
    .day-bubble.winner { width: 60px; height: 60px; font-size: 1.4rem; }
    /* Tool Visuals */
    .tool-visual-stage { height: 250px; }
    .tool-route-badge { font-size: 1.2rem; padding: 10px 20px; bottom: 20px; }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 32px !important; }
    .tool-controls-bar { margin-top: -30px; padding: 20px; }
    .tool-visual-stage { height: 300px; }
    .tool-route-badge { font-size: 1.2rem; padding: 8px 20px; bottom: 40px; }
    .insight-card { padding: 25px; }
    .card-title-group h3 { font-size: 1.6rem; }
    .data-highlight { font-size: 2rem; }
    .big-price { font-size: 1.4rem; }
}


/* The Grid: 2 columns total */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.faq-card {
    background: var(--white);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Top Card: Spans both columns */
.hero-card {
    grid-column: span 2;
    background: linear-gradient(100.51deg,#d83945 10.54%,#f9700d 90.12%);
    color: var(--white);
    border: none;
    position: relative;
    overflow: hidden;
}

.hero-card h3 { color: var(--brand-white); font-size: 1.6rem; }
.hero-card p { color: var(--brand-light); font-size: 1.1rem; line-height: 1.7; }

/* Bottom 4 Cards: Sits in 2x2 grid automatically */
.standard-card {
    grid-column: span 1;
    background: var(--brand-light);
}

.standard-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.2rem;
    line-height: 1.3;
    color: var(--brand-blue);
}

.standard-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-gray);
}

.standard-card b { color: var(--brand-dark); }
.hero-card b { color: var(--white); border-bottom: 2px solid var(--brand-yellow); }

/* Travel Tag Style */
.tag {
    display: inline-block;
    background: linear-gradient(100.51deg,#d83945 10.54%,#f9700d 90.12%);;
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    align-self: flex-start;
}

.hero-card .tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

/* Hover States */
.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.standard-card:hover {
    border-color: var(--brand-blue);
}

/* Responsive Logic */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr; /* Stack everything on mobile */
    }
    .hero-card, .standard-card {
        grid-column: span 1;
    }
    h2 { font-size: 1.6rem; }
}

.tab__label {
    font-size: 24px;
    color: #fff;
    background: linear-gradient(100.51deg,#d83945 10.54%,#f9700d 90.12%);
    font-weight: 600;
}

.tab__label::after {
    color: #fff;
}

.tab input:checked ~ .tab__content

 {
    max-height: 40rem;
 }


