/* =========================
   SHARED HOMEPAGE TYPOGRAPHY
========================= */

.page-title {
    font-size: 54px;
    line-height: 1.2;
    font-weight: 700;
    color: #1f3a5f;
    margin-bottom: 20px;
}

.page-desc {
    font-size: 24px;
    line-height: 1.6;
    color: #635858;
    max-width: 1200px;

    text-align: justify;
    text-justify: inter-word;
    word-spacing: -0.05em;
}


/* =========================
   HERO SECTION
========================= */

.hero-section {
    padding: 140px 0 100px; /* top space accounts for fixed navbar */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    column-gap: 60px;
}

.hero-content {
  text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Buttons */
.yellow-btn {
    background-color: #33ace1;
    color: #ffffff !important;
    padding: 14px 26px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.yellow-btn:hover {
    background-color: #03628f;
    color: #ffffff;
    text-decoration: none;
}

/* RIGHT */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-visual video {
    width: 100%;
    max-width: 360px;
    height: auto;
}

/* =========================
   PROBLEM STATEMENT SECTION
========================= */

.problem-section {
  padding: 100px 0;
}

.problem-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* TOP INTRO (1 COLUMN) */
.problem-intro {
  max-width: 1200px;
  margin-bottom: 60px;
}

.problem-intro .page-desc {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* BOTTOM GRID (2 COLUMNS) */
.problem-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  align-items: center;
}

/* LEFT COLUMN STACK */
.problem-bottom-left {
  display: flex;
  flex-direction: column;
}

/* =========================
   BULLET LIST
========================= */

.bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  font-size: 24px;
  color: #635858;
  line-height: 1.6;

  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 14px;
  height: 14px;
  background-color: #2fb7b3;
  border-radius: 50%;
}

/* =========================
   RIGHT VISUAL
========================= */

.problem-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.problem-visual video {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .problem-bottom {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .bullet-list li {
    font-size: 18px;
  }
}


/* =========================
   OUR APPROACH SECTION
========================= */

.approach-section {
    padding: 100px 0;
}

.approach-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.approach-top {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    column-gap: 60px;
    margin-bottom: 40px;
}

/* LEFT VISUAL */
.approach-visual {
    display: flex;
    flex-direction: column;   /* 👈 KEY FIX */
    align-items: center;  /* left-align text */
}

.approach-visual video {
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-bottom: 24px;
}

.approach-content .page-desc {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* =========================
   PRODUCTS SECTION
========================= */

.products-section {
    padding: 100px 0;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================
   PRODUCT CARD (BASE)
========================= */

.product-card {
    margin-bottom: 80px;
}

.product-card .page-desc {
    text-align: justify;
    hyphens: auto;
}

/* =========================
   TITLES
========================= */

.product-title {
    font-size: 30px;
    font-weight: 700;
    color: #635858;
    margin-bottom: 6px;
}

.product-tagline {
    font-size: 20px;
    font-weight: 300;
    color: #737373;
    margin-bottom: 20px;
}

.product-platform {
    font-size: 18px;
    font-weight: 600;
    color: #635858;
    margin: 24px 0 16px;
}

/* =========================
   THRILLVIA LAYOUT
========================= */

.product-thrillvia .product-top {
    max-width: 700px;
    margin-bottom: 40px;
}

.product-thrillvia .product-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
}

/* =========================
   PERSIMMON LAYOUT
========================= */

.product-top-two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 80px;
    align-items: center;
    margin-bottom: 40px;
}

.product-bottom-single {
    max-width: 700px;
}

/* =========================
   VISUALS
========================= */

.product-logo {
    max-width: 400px;
    width: 100%;
}

.product-bottom-right,
.product-top-right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =========================
   STORE BADGES
========================= */

.store-badges {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.store-badges img {
    height: 50px;
}


/* =========================
   STORE BUTTONS
========================= */

.store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-btn img {
    height: 50px;
    width: auto;
    display: block;
}

/* Hover interaction */
.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Click feedback */
.store-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

/* =========================
   WHY IT'S DIFFERENT
========================= */

.difference-section {
    padding: 100px 0;
}

.difference-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Middle row layout */
.difference-row {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: 80px;
    align-items: center;
    margin-top: 0px;
}

/* Text styles */
.difference-subtitle {
    font-size: 30px;
    font-weight: 700;
    color: #635858;
    margin-bottom: 12px;
}

.difference-text {
    font-size: 24px;
    line-height: 1.6;
    color: #635858;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* Image */
.difference-right {
    display: flex;
    justify-content: center;
}

.difference-right img {
    max-width: 400px;
    height: auto;
}

/* Full-width block below the grid */
.difference-full {
    max-width: 1200px;   /* optional – keeps text readable */
}


/* =========================
   PERFORMANCE FOCUS
========================= */

.performance-section {
    padding: 100px 0;
}

.performance-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* SAME PATTERN AS OTHER SECTIONS */
.performance-row {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 80px;
    align-items: center;
    margin-top: 60px;
}

/* Image column */
.performance-visual {
    width: 300px;
    display: flex;
    justify-content: center;
}

.performance-visual img {
    width: 100%;
    height: auto;
}

/* Text column */
.performance-content {
    width: 100%;
}


/* =========================
   CTA SECTION
========================= */

.cta-section {
    padding: 100px 0;
}

.cta-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Form layout */
.cta-form {
    margin-top: 24px;
}

/* Name / Email row */
.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.form-row label {
    width: 100px;
    font-size: 20px;
    font-weight: 400;
    color: #1f3a5f;
}

.form-row input {
    flex: 1;
    padding: 8px 10px;
    font-size: 15px;
    border: 1.5px solid #8fa1c2;
    border-radius: 4px;
}

/* Message box */
.form-row textarea {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1.5px solid #8fa1c2;
    border-radius: 6px;
    resize: none;
}

/* Button */
.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

/* Send button icon */
.send-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

.send-icon {
    width: 30px;
    height: 30px;
}

/* =========================
   FOOTER (IMAGE ACCURATE)
========================= */

.site-footer {
    background-color: #000000;
    color: #d9d9d9;
    padding: 60px 0 40px;
    font-size: 16px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* BRAND */
.footer-brand {
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-brand p {
    max-width: 520px;
    line-height: 1.6;
    color: #cfcfcf;
}

/* LINK ROW */
.footer-links-row {
    display: flex;
    gap: 400px; /* controls column spacing */
    margin-bottom: 40px;
}

/* COLUMNS */
.footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 10px;
    color: #cfcfcf;
}

/* BOTTOM */
.footer-bottom {
    color: #cfcfcf;
    font-weight: 600;
}

.footer-column a {
    color: #cfcfcf;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE CSS
========================= */

/* -------------------------
   TABLET SCALING (1024px and below)
-------------------------- */
@media (max-width: 1024px) {

    .hero-section {
        margin-top: 100px;
    }


    /* =========================
       FLUID CONTAINERS
    ========================= */
    .hero-container,
    .problem-container,
    .approach-container,
    .products-container,
    .difference-container,
    .performance-container,
    .cta-container,
    .footer-inner {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }

    /* =========================
       SECTION PADDING
    ========================= */
    .hero-section,
    .problem-section,
    .approach-section,
    .difference-section,
    .performance-section,
    .cta-section {
        padding: 40px 40px;
    }

    .products-section{
        padding: 40px 40px 0px 40px;
        
    }

    .product-card {
        margin-bottom: 40px;
    }

    /* =========================
       TYPOGRAPHY SCALING
    ========================= */
    .page-title {
        font-size: 44px;
    }

    .page-desc,
    .bullet-list li,
    .difference-text {
        font-size: 20px;
    }

    .product-title {
        font-size: 26px;
    }

    .product-tagline {
        font-size: 18px;
    }

    .product-used,
    .product-platform {
        font-size: 20px;
    }

    /* =========================
       MEDIA SCALING
    ========================= */
    .hero-visual video,
    .problem-visual video,
    .approach-visual video,
    .product-logo,
    .difference-right img,
    .performance-visual img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* =========================
       GRID GAP REDUCTION
    ========================= */
    .hero-container,
    .problem-bottom,
    .approach-top,
    .product-bottom,
    .product-top-two-col,
    .difference-row,
    .performance-row {
        grid-template-columns: 1.2fr 0.8fr;
        column-gap: 20px;
    }

    .product-thrillvia .product-bottom-left,
    .product-thrillvia .product-bottom-right {
        min-width: 0;
    }

    /* =========================
       BUTTONS & FORMS
    ========================= */
    .yellow-btn {
        padding: 12px 22px;
        font-size: 14px;
    }

    .form-row label {
        font-size: 16px;
    }

    .form-row input,
    .form-row textarea {
        font-size: 14px;
    }

    .bullet-list li {
        padding-left: 22px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .bullet-list li::before {
        width: 10px;
        height: 10px;
        top: 0.6em; /* aligns to text instead of pixels */
    }

    /* =========================
       FOOTER
    ========================= */

    .site-footer {
        padding: 40px 20px;
    }

    .footer-links-row {
        gap: 200px;
    }
}

/* -------------------------
   MOBILE SCALING (600px and below)
-------------------------- */
@media (max-width: 600px) {

    /* =========================
       PREVENT HORIZONTAL OVERFLOW
    ========================= */
    html, body {
        width: 100%;
        overflow-x: hidden;
    }

    /* =========================
       FLUID CONTAINERS
    ========================= */
    .hero-container,
    .problem-container,
    .approach-container,
    .products-container,
    .difference-container,
    .performance-container,
    .cta-container,
    .footer-inner {
        width: 100%;
        max-width: 100%;
        padding: 0 8px;
        box-sizing: border-box;
    }

    /* =========================
       SECTION PADDING
    ========================= */
    .hero-section,
    .problem-section,
    .approach-section,
    .difference-section,
    .performance-section,
    .cta-section {
        padding: 40px 20px;
    }

    .products-section{
        padding: 40px 20px 0px 20px;
    }

    .product-card {
        margin-bottom: 40px;
    }

    /* =========================
       TYPOGRAPHY
    ========================= */
    .page-title {
        font-size: 20px;
    }

    .page-desc,
    .bullet-list li,
    .difference-text {
        font-size: 14px;
    }

    .product-title,
    .difference-subtitle {
        font-size: 16px;
    }

    .product-tagline {
        font-size: 15px;
    }

    .product-used,
    .product-platform {
        font-size: 10px;
    }

    /* =========================
       MEDIA SCALING
    ========================= */
    .hero-visual video,
    .problem-visual video,
    .approach-visual video,
    .product-logo,
    .difference-right img{
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .performance-visual {
        width: 150px;
    }

    /* =========================
       MAINTAIN GRID STRUCTURE
       (NO STACKING)
    ========================= */
    .problem-bottom,
    .approach-top,
    .product-bottom,
    .product-top-two-col,
    .difference-row {
        grid-template-columns: 1.2fr 0.8fr;
        column-gap: 12px;    
    }

    .product-thrillvia .product-bottom-left,
    .product-thrillvia .product-bottom-right {
        min-width: 0;
    }

    /* =========================
       PRODUCTS – VISUAL SAFETY
    ========================= */
    .product-bottom-right,
    .product-top-right {
        min-width: 0; /* prevents image overflow */
    }

    .product-thrillvia .product-logo {
        max-width: 160px;
    }

    .product-thrillvia .store-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .product-thrillvia .store-badges img {
        height: 32px;
    }

    /* =========================
       BUTTONS
    ========================= */
    .yellow-btn {
        padding: 8px 8px;
        font-size: 10px;
    }

    /* =========================
       LISTS & SPACING
    ========================= */
    .bullet-list li {
        padding-left: 18px;
        font-size: 14px;
        margin-bottom: 10px;
    }

    .bullet-list li::before {
        width: 8px;
        height: 8px;
        top: 0.65em; /* bullet follows font size */
    }

    .problem-intro,
    .approach-top {
        margin-bottom: 20px;
    }

    .product-top-two-col {
        margin-bottom: 10px;
    }

    .performance-row {
        margin-top: 0px;
    }
    
    /* =========================
       FORMS
    ========================= */
    .form-row label {
        font-size: 14px;
        width: 80px;
    }

    .form-row input,
    .form-row textarea {
        font-size: 13px;
    }

    .send-icon {
        width: 10px;
        height: 10px;
    }

    /* =========================
       FOOTER
    ========================= */
    .site-footer {
        padding: 40px 20px;
    }
    .footer-links-row {
        gap: 50px;
    }

    .footer-column h4 {
        font-size: 14px;
    }

    .footer-column li {
        font-size: 13px;
    }
}

/* -------------------------
   REMOVE horizontal scroll / gaps
-------------------------- */
html, body {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

