:root {
    --primary-color: #e9f0e6;
    --secondary-color: #c3d0b8;
    --dark-green: #3e563e;
    --tri-highlight: #b0c99c;
    --text-color: #333;
    --light-gray: #f9f9f9;
    --white: #ffffff;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    font-size: 1.2em;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--white);
    color: var(--text-color);
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}
h1, h2, h3 {
    color: var(--text-color);
    font-weight: 600;
}
h2 {
    text-align: center;
    font-size: 2.6em;   /* bigger section titles */
    margin-bottom: 40px;
}
h3 {
    font-size: 2em;     /* bigger subheadings */
}
p, li {
    font-size: 1.3em;   /* larger than before */
    line-height: 1.8;
}
ul {
    list-style-type: none;
    padding: 0;
}
/* Header & Navigation */
header {
    background-color: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid var(--primary-color);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--dark-green);
    text-decoration: none;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}
nav a {
    text-decoration: none;
    color: var(--dark-green);
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}
nav a:hover, nav a.active {
    border-bottom-color: var(--dark-green);
}
/* Hero Section */
.hero-section {
    background-color: var(--primary-color);
    padding: 20px 0;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}
.hero-image {
    flex-shrink: 0;
}
.logo-graphic {
    padding: 0;              /* no extra padding */
    box-shadow: none;        /* remove shadow if you don’t want it */
    border-radius: 0;        /* no rounded border */
}
.logo-graphic img {
    width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--dark-green);
    color: var(--white);
    padding: 18px 40px;
    font-size: 1.4em;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    transition: opacity 0.3s;
}
.btn:hover {
    opacity: 0.85;
}
/* Info Sections & Feature Cards */
.info-section {
    padding: 20px 0;
}
.alternate-bg {
    background-color: var(--primary-color);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    text-align: center;
}
.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.feature-card h3 {
    margin-top: 0;
}
/* Product Section Layout */
.product-section-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}
.product-text { flex: 1; }
.product-image {
    flex-shrink: 0;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image svg {
    width: 100px;
    height: 100px;
    stroke: var(--dark-green);
}
/* About Page */
.page-title-section {
    background-color: var(--secondary-color);
    color: var(--text-color);
    text-align: center;
    padding: 30px;
    text-align: center;
}
.page-title-section h1 {
    margin: 0;
    font-size: 2.8em;
}
.content-grid {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.content-text { flex: 0 0 auto; text-align: left; }
.content-graphic { flex: 0 0 auto; text-align: center; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.team-member .team-photo {
    width: 120px;
    height: 120px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 auto 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-member .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.form-group {
    margin-bottom: 20px;
    width: 100%;
    max-width: 480px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    text-align: left;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}
.contact-form .btn {
    width: 100%;
    max-width: 480px;
    text-align: center;
}
.content-text li {
    margin-bottom: 15px;
}
/* Our Mission section */
.info-section h2 {
    background-color: transparent;
    color: var(--text-color);
    padding: 0;
    border-radius: 0;
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 20px;
}
.info-section ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.info-section li {
    margin-bottom: 25px;
    font-size: 1.4em;
    line-height: 1.8;
}
.info-section li b {
    display: block;
    margin-bottom: 5px;
    color: var(--dark-green);
    font-weight: 600;
    font-size: 1.4em;
}
/* ====================== HOME PAGE IMPROVEMENTS ====================== */
.key-function-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}
.key-function-grid .feature-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.key-function-grid .feature-card-header {
    box-shadow: 0px 10px 40px -5px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background-color: var(--secondary-color);
    padding: 25px;
    text-align: center;
}
.key-function-grid .feature-card-header h3 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--text-color);
}
.key-function-grid .feature-card-body {
    background-color: var(--white);
    padding: 5px;
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-color);
    text-align: center;
}
.center-btn {
    text-align: center;
    margin-top: 30px;
}
.application-area-section .application-title {
    text-align: center;
    font-size: 2em;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 40px;
}
.application-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.application-card {
    flex: 1;
    background-color: var(--secondary-color);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    font-size: 1.4em;
    font-weight: 600;
    color: var(--dark-green);
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-section .product-subheading {
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 25px;
    color: var(--dark-green);
}
.product-section .product-image img {
    width: 400px;
    height: auto;
    display: block;
}
.key-function-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 10px 0;
}
.key-function-grid .feature-card {
    flex: 1 1 280px;
    min-width: 260px;
    max-width: 310px;
    display: flex;
    flex-direction: column;
}
.key-function-grid .feature-card-header {
    padding: 22px 18px;
}
.key-function-grid .feature-card-body {
    flex-grow: 1;
    padding: 22px 18px;
    font-size: 1.05em;
    line-height: 1.7;
}
.application-grid {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}
.application-card {
    flex: 1;
    min-width: 280px;
}
.features-grid-small {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}
.feature-card-small {
    background-color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.key-function-image {
    position: relative;
    text-align: center;
    margin-top: 30px;
}
.key-function-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.triangle-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}
/* ----------------Key Function Banner--------------- */
.keyfunc-banner {
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
    text-align: center;
}
.keyfunc-banner h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 4.2em;
    position: relative;
    z-index: 2;
    margin: 0 0 70px;
    color: #111;
    font-weight: normal;
}
.banner-triangle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2;
}
.banner-tri-card {
    width: 245px;
    height: 205px;
    background: var(--secondary-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}
.banner-tri-card:not(.mid-tri) {
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.banner-tri-card.mid-tri {
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
}
.banner-tri-card span {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1em;
    color: #111;
    text-align: center;
    line-height: 1;
    z-index: 2;
}
.banner-tri-card.mid-tri span {
    position: relative;
    top: 28px;
    padding: 0 20px;
}
.banner-tri-card:not(.mid-tri) span {
    position: relative;
    top: -20px;
}
.banner-tri-card:hover {
    background: var(--dark-green);
    transform: scale(1.04);
}
.banner-tri-card:hover span { color: #ffffff; }
/* AI Precise Location + Emergency Contact – circuit wave right */
#location,
#emergency {
    position: relative;
    overflow: hidden;
}
#location::after,
#emergency::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    max-width: 520px;
    height: 100%;
    background-image: url("assets/circuit-wave-right-flip.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}
#location .container,
#emergency .container {
    position: relative;
    z-index: 2;
}
/* ===== AI Precise Location Left Equilateral Triangle Module ===== */
.location-row {
    display: flex;
    align-items: center;
    gap: 45px;
}
.location-tri-deco {
    flex-shrink: 0;
    width: 230px;
    height: 200px;
    background-color: var(--tri-highlight);
    clip-path: polygon(50% 0, 0 100%, 100% 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
}
.tri-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.3em;
    color: #111;
    text-align: center;
    line-height: 1;
    position: relative;
    top: 30px;
}
.location-text-wrap {
    flex: 1;
}
.location-text-wrap h2 {
    text-align: left;
    margin-top: 0;
}
.center-section .container {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 20px;
}
.fall-bg {
    background-color: var(--primary-color);
    border-radius: 12px;
    padding: 30px 0;
}
#fall .container {
    justify-content: center;
    gap: 40px;
}
#location .container {
    justify-content: center;
    gap: 40px;
}
#emergency .container {
    justify-content: center;
    gap: 40px;
}
.features-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-items: center;
    margin-top: 40px;
}
.feature-box {
    background-color: var(--secondary-color);
    border-radius: 0;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* -------------Product Section Grid-------------- */
.product-card {
    background-color: var(--dark-green);
    border-radius: 20px;
    width: 280px;
    height: 220px;
    min-width: 280px;
    min-height: 220px;
    max-width: 280px;
    max-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    box-sizing: border-box;
    flex-shrink: 0;
}
.product-icon {
    background-color: var(--secondary-color);
    border-radius: 50%;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}
.product-icon img {
    width: 50px;
    height: 50px;
}
.product-card p {
    font-size: 1.3em;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}
.btn-card {
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}
.btn-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.btn-card:active {
    transform: scale(0.97);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* ====================== KEY FUNCTION PAGE - UNIFORM SPACING ====================== */
.technology-section,
.smart-walking-stick-section {
    padding: 60px 20px 130px 20px;
    text-align: center;
}
.technology-section {
    padding-top: 130px;
}
.technology-section h2,
.smart-walking-stick-section h2 {
    font-size: 3em;
    margin-bottom: 50px;
    color: var(--text-color);
}
.tech-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
    flex-wrap: wrap;
    max-width: 1150px;
    width: 100%;
}
#fall .tech-grid {
    flex-direction: row-reverse;
}
.location-tri-deco {
    width: 260px;
    height: 225px;
    flex-shrink: 0;
}
.tech-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.9;
    text-align: left;
}
.tech-text ul li {
    margin-bottom: 20px;
}
.info-section.application-area-section {
    padding: 130px 20px;
}
.smart-walking-stick-section {
    background:var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 130px 20px;
}
.smart-walking-stick-section h2 {
    font-size: 3em;
    margin-bottom: 40px;
    color: var(--text-color);
    text-align: center;
}
.tools-grid.top-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
  margin-top: 40px;
}
.tools-grid.bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  justify-items: center;
  margin-top: 40px;
}
.tool-card {
  text-align: center;
}
.tool-icon {
  background-color: var(--secondary-color);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.tool-icon img {
  width: 60px;
  height: 60px;
}
.tool-card p {
  font-size: 1.2em;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}
.product-row {
  width: 100%;
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.row-light {
  background-color: var(--secondary-color);
}
.product-flex {
  max-width: 1150px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
  flex-wrap: wrap;
}
#smart-walking-stick .product-flex {
  flex-direction: row-;
}
#smart-tag .product-flex {
  flex-direction: row-reverse;
}
.product-img img,
.product-img video {
  width: 400px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.technology-section .product-img {
  flex-shrink: 0;
}
.technology-section .product-img img {
  width: 300px;
  max-width: 100%;
  height: auto;
}
.product-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.85;
}
.product-text ul li {
  margin-bottom: 26px;
}
.application-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 30px;
    font-size: 1.7em;
    text-align: center;
    box-shadow: none;
}
.Application-icon {
    background: none;
    border-radius: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 15px 0;
}
.Application-icon img {
    width: 120px;
    height: auto;
    filter: brightness(0.85);
}
.keyfunc-banner h1 {
    font-size: 4.2em;
    margin-bottom: 60px;
    color: #111;
}
/* Technology section (product page) – circuit wave left */
#technology {
    position: relative;
    overflow: hidden;
    background-color: #f8faf6;
}
#technology::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    max-width: 520px;
    height: 100%;
    background-image: url("assets/circuit-wave-left.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left bottom;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}
#technology .container {
    position: relative;
    z-index: 2;
}

/* Other Smart Safety Tools – wave pattern background */
#smart-tools {
    position: relative;
    overflow: hidden;
    background-color: #e9f0e6;
}
#smart-tools::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #f0f5ec 0%, #e9f0e6 100%);
    z-index: 0;
}
#smart-tools::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("assets/wave-pattern.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom left;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}
#smart-tools .container {
    position: relative;
    z-index: 2;
}
.tech-graphic img {
    display: block !important;
    width: 380px !important;
    max-width: 100% !important;
    height: auto !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.tech-graphic img,
.technology-section img {
    display: block !important;
    max-width: 380px !important;
    height: auto !important;
}
.technology-section .tech-grid {
    gap: 60px;
    align-items: center;
}
.technology-section .tech-text {
    flex: 1;
    min-width: 240px;
    max-width: 420px;
}
#fall {
    position: relative;
    overflow: hidden;
}
#fall::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 95%;
  background-image: url("assets/Circular\ Flower\ Blossom.svg");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: contain;
  opacity: 0.1;
  z-index: 1;
  pointer-events: none;
}
#fall::after {
    content: "";
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-image: url("assets/leaf-decoration.svg");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    z-index: 1;
}
#fall .container {
    position: relative;
    z-index: 2;
}
.info-section.application-area-section {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}
.info-section.application-area-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #f0f5ec 0%, #e9f0e6 100%);
    z-index: 0;
}
.info-section.application-area-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("assets/wave-pattern.svg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 1;
}
.info-section.application-area-section .container {
    position: relative;
    z-index: 2;
}
/* -------------------------- FOOTER CSS -------------------------- */
.site-footer {
    position: relative;
    background-color: var(--primary-color);
    border-radius: 30px 30px 0 0;
    margin-top: 60px;
    padding: 60px 20px;
}
.footer-container {
    background-color: var(--primary-color);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.social-links {
    display: flex;
    gap: 70px;
    align-items: center;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}
.social-icon.fb {
    background: #1877F2;
}
.social-icon.ig {
    background: linear-gradient(45deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888);
}
.social-icon.yt {
    background: #FF0000;
}
.social-icon:hover {
    transform: scale(1.1);
}
.footer-contact p {
    font-size: 1.2em;
    color: var(--text-color);
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.icon-phone, .icon-email {
    font-size: 1.3em;
}
.footer-copyright p {
    color: #070000;
    font-size: 1em;
    text-align: center;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 35px;
    align-items: center;
    margin: 40px 0;
}
.footer-contact .logo-graphic {
    margin: 0;
}
.footer-contact .logo-graphic img {
    display: block;
}
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
}
.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}
.back-to-top:hover {
    background: var(--secondary-color);
}
footer {
    background: transparent !important;
    padding: 0 !important;
}
footer p {
    color: inherit;
}

/* ==========================================================================
   MOBILE RESPONSIVE 
========================================================================== */

@media (max-width: 768px) {
    html {
        /* 全局字号比例，避免文字过小或过大 */
        font-size: 78%;
    }

    body {
        /* 防止横向滚动 */
        overflow-x: hidden;
    }

    /* 容器：手机页边距更舒服 */
    .container {
        width: 92%;
        max-width: 100%;
        padding: 1.8rem 0;
    }

    /* ========== 导航：避免被挤出 ========== */
    .nav-container {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }

    .logo {
        font-size: 1.6rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.4rem;
    }

    nav a {
        font-size: 1rem;
        padding: 0.4rem 0;
    }

    /* ========== 全局标题比例 ========== */
    h1 {
        font-size: 2.4rem !important;
        line-height: 1.3;
    }

    h2 {
        font-size: 2rem !important;
        line-height: 1.35;
        margin-bottom: 2.4rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
        line-height: 1.4;
    }

    p,
    li {
        font-size: 1.05rem !important;
        line-height: 1.75;
    }

    /* ========== Hero 区域：文字左 + 小图标右 ========== */
    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .hero-text {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    .hero-image {
        flex-shrink: 0;
        width: auto;
        max-width: 150px;
    }

    .hero-image .logo-graphic img {
        width: 130px;
        max-width: 130px;
        height: auto;
        display: block;
        margin: 0;
    }

    .logo-graphic img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* ========== 按钮：避免贴边 ========== */
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        box-sizing: border-box;
    }

    /* ========== 所有图片统一自适应 ========== */
    img {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .product-img img,
    .tech-graphic img,
    .key-function-image img,
    .Application-icon img,
    .tool-icon img,
    .product-icon img,
    .scene-icon-box img {
        width: 700%;
        max-width: 200px;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    /* Home page Product – text left, small image right, items in one column */
    .product-section .product-flex {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 5rem;
    align-items: center;
    text-align: left;
    }

    .product-section .product-text {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 55%;
    }

    .product-section .product-subheading {
        font-size: 1rem !important;
        margin-top: 0.6rem;
        margin-bottom: 0.25rem;
        line-height: 1.3;
    }

    .product-section .product-subheading:first-child {
        margin-top: 0;
    }

    .product-section .product-text ul {
        max-width: none;
        margin: 0 0 0.35rem 0;
        padding: 0;
        text-align: left;
    }

    .product-section .product-text ul li {
        margin-bottom: 0.2rem !important;
        font-size: 0.95rem !important;
        line-height: 1.4;
        padding-left: 0;
        text-align: left;
    }

    .product-section .product-text .btn {
        margin-top: 0.6rem;
        padding: 0.55rem 1rem;
        font-size: 0.9rem;
        max-width: 160px;
        width: auto;
    }

    .product-section .product-img {
        flex-shrink: 0;
        width: auto;
        max-width: 150px;
    }

    .product-section .product-img img {
        width: 140px;
        max-width: 140px;
        height: auto;
        display: block;
        margin: 0;
    }

    /* Technology section – small image left, text right on phone */
    .technology-section .tech-grid {
        flex-direction: row !important;
        align-items: center;
        gap: 0.8rem !important;
    }

    .technology-section .product-img {
        flex-shrink: 0;
        width: auto;
        max-width: 35%;
        margin: 0;
    }

    .technology-section .product-img img,
    .technology-section img {
        width: 100px !important;
        max-width: 160px !important;
        height: auto !important;
        display: block;
        margin: 0;
    }

    .technology-section .tech-text {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        text-align: left;
    }

    .technology-section .tech-text ul {
        text-align: left;
        margin: 0;
    }

    .technology-section .tech-text ul li {
        font-size: 0.95rem !important;
        margin-bottom: 0.4rem !important;
        line-height: 1.4;
    }

    /* ========== 产品 Section（product.html）：默认上下排列 ========== */
    .product-flex {
        flex-direction: column !important;
        gap: 2.4rem;
        text-align: center;
    }

    .product-text {
        flex: none;
        width: 100%;
    }

    .product-text ul {
        text-align: left;
        max-width: 480px;
        margin: 0 auto;
    }

    /* 如果是左右混排，手机全部改成上下 */
    #smart-walking-stick .product-flex,
    #smart-tag .product-flex {
        flex-direction: column !important;
    }

    /* ========== Key Function Banner 三角形卡片 – keep in a row on phone ========== */
    .banner-triangle-wrap {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.6rem;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 2%;
        box-sizing: border-box;
    }

    .banner-tri-card {
        width: 105px;
        height: 90px;
        max-width: 32%;
        flex-shrink: 1;
        border-radius: 10px;
    }

    .banner-tri-card span {
        font-size: 0.65rem;
        padding: 0 0.3rem;
        line-height: 1.15;
    }

    .banner-tri-card.mid-tri span {
        top: 1.4rem;
    }

    .banner-tri-card:not(.mid-tri) span {
        top: -0.7rem;
    }

    /* ========== Location / Fall / Emergency 三栏 ========== */
    .location-row,
    #fall .container,
    #location .container,
    #emergency .container {
        flex-direction: column !important;
        gap: 2.4rem;
        text-align: center;
    }

    .location-text-wrap h2 {
        text-align: center;
    }

    .tech-text ul {
        text-align: left;
        max-width: 480px;
        margin: 0 auto;
    }

    .location-tri-deco {
        width: 180px;
        height: 155px;
        flex-shrink: 0;
    }

    .tri-text {
        font-size: 1.1rem;
        top: 2.4rem;
    }

/* ========== 功能卡片网格 (Index Key Function) — phone only ========== */
.key-function-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.9rem;
    align-items: center;          /* center the cards */
    justify-content: center;
    padding: 0 4%;
}

.key-function-grid .feature-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;             /* stop them from being too wide */
    min-width: 0;
    min-height: 0;
    height: auto;
    border-radius: 14px;
    border: none;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.key-function-grid .feature-card-header {
    padding: 12px 18px 10px;
    border-radius: 0;
    flex-shrink: 0;
}

.key-function-grid .feature-card-header h3 {
    font-size: 1rem !important;
    line-height: 1.3;
    margin: 0;
}

.key-function-grid .feature-card-body {
    padding: 10px 18px 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 0.9rem !important;
    line-height: 1.5;
    overflow: visible;
}

.key-function-grid .feature-card-body p {
    margin: 0 0 0.35rem 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.5;
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.key-function-grid .feature-card-body p:last-child {
    margin-bottom: 0 !important;
}

    /* Circuit wave on Location & Emergency – keep right side on phone */
    #location::after,
    #emergency::after {
        width: 70% !important;
        max-width: 320px !important;
        background-position: right top !important;
        opacity: 0.55 !important;
    }
    
/* ===== Product page – video section full-width green on phone only ===== */
#smart-walking-stick.product-row.row-light {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    padding-left: 3% !important;
    padding-right: 3% !important;
}

#smart-walking-stick .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

#smart-walking-stick .product-flex {
    width: 100%;
    max-width: 100%;
}

    /* Reduce extra space around Key Function section on phone only */
    .key-function-section {
        padding-top: 20px !important;
        padding-bottom: 0.8rem !important;
    }

    .key-function-section h2 {
        margin-bottom: 0.8rem !important;
    }

    .key-function-section .center-btn {
        margin-top: 0.6rem !important;
    }

    /* ========== Application Area 卡片 ========== */
    .application-grid {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.5rem;
        justify-content: center;
        align-items: stretch;
    }

    .application-card {
        width: 105px;
        max-width: 32%;
        min-width: 0;
        min-height: 120px;
        padding: 12px 6px;
        font-size: 0.75rem;
        box-sizing: border-box;
        flex: 1 1 0;
    }

    .Application-icon {
        width: 48px;
        height: 48px;
    }

    .Application-icon img {
        width: 40px;
        height: auto;
    }

    /* ========== Features Box Grid (Additional Features) ========== */
    .features-box-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        justify-items: center;
    }

    .feature-box {
        width: 100%;
        max-width: 105px;
        height: 90px;
        font-size: 0.7rem !important;
        font-weight: 600;
        padding: 6px 4px;
        line-height: 1.25;
        box-sizing: border-box;
    }

    /* ========== Tools Grid ========== */
    .tools-grid.top-row,
    .tools-grid.bottom-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }

    .tool-icon {
        width: 90px;
        height: 90px;
    }

    .tool-icon img {
        width: 45px;
        height: 45px;
    }

    /* ========== Product Cards ========== */
    .product-card {
        width: 105px;
        height: 130px;
        min-width: 105px;
        min-height: 130px;
        max-width: 32%;
        max-height: 130px;
        padding: 0.6rem 0.4rem;
        box-sizing: border-box;
    }

    .product-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 6px;
    }

    .product-icon img {
        width: 28px;
        height: 28px;
    }

    .product-card p {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    /* ========== Team Grid ========== */
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        justify-items: center;
    }

    .team-member {
        width: 100%;
        max-width: 110px;
    }

    .team-member .team-photo {
        width: 70px;
        height: 70px;
    }

    .team-member h3 {
        font-size: 0.75rem !important;
        line-height: 1.25;
        margin-top: 0.4rem;
    }

    /* ========== Contact Form ========== */
    .contact-form {
        padding: 1.8rem;
        align-items: center;
    }

    .form-group {
        max-width: 100%;
    }

    .contact-form .btn {
        max-width: 100%;
    }

    /* ========== 页面标题区域 ========== */
    .page-title-section {
        padding: 1.8rem;
    }

    .page-title-section h1 {
        font-size: 2.2rem;
    }

    /* ========== 内容图文区域 (About Us)：文字左 + 小图标右，居中 ========== */
    .content-grid {
    flex-direction: row !important;
    align-items: center;
    justify-content: center !important;
    gap: 5.0rem;
    text-align: left;
    width: 100%;
    }

    .content-text {
        flex: 0 1 auto;
        min-width: 0;
        width: auto;
        max-width: 55%;
        text-align: left;
        margin: 0;
        padding: 0;
    }

    .content-graphic {
        flex-shrink: 0;
        width: auto;
        max-width: 130px;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    .content-graphic .logo-graphic img {
        width: 120px;
        max-width: 120px;
        height: auto;
        display: block;
        margin: 0 auto;
        padding: 0;
    }

    /* ========== Section 内边距统一比例 ========== */
    /* Match the tighter padding of the first section (hero) on the phone index page */
    .keyfunc-banner,
    .technology-section,
    .product-row,
    .smart-walking-stick-section,
    .info-section {
        padding: 20px 3% !important;
    }

    .technology-section {
        padding-top: 0 !important;
    }

    /* Key Function page banner – same vertical rhythm as hero on phone */
    .keyfunc-banner {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    /* ========== 背景装饰：不遮挡内容 ========== */
    .technology-section::before,
    .technology-section::after,
    #smart-walking-stick::before,
    #smart-walking-stick::after,
    #smart-tools::before,
    #smart-tools::after,
    #fall::before,
    #fall::after,
    .info-section.application-area-section::before,
    .info-section.application-area-section::after {
        background-size: cover;
        background-position: center;
        opacity: 0.08;
        z-index: 0;
    }

    .technology-section .container,
    #smart-walking-stick .container,
    #smart-tools .container,
    #fall .container,
    .info-section.application-area-section .container {
        position: relative;
        z-index: 2;
    }

    /* Additional Features – keep background color the same on phone */
    .info-section.application-area-section {
        background-color: #e9f0e6 !important;
    }

    /* ========== Footer ========== */
    .site-footer {
        padding: 2.4rem 3%;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1.2rem;
        justify-content: center;
    }

    .social-icon {
        width: 44px;
        height: 44px;
    }

    .social-icon svg {
        width: 24px;
        height: 24px;
    }

    .footer-contact {
        gap: 1.2rem;
        margin: 20px 0;
    }

    .footer-contact p {
        font-size: 1rem;
    }

    /* Footer phone / email images – smaller on phone only */
    .footer-contact .logo-graphic img {
        max-width: 110px;
        width: 100%;
        height: auto;
    }

    /* ========== 返回顶部按钮 ========== */
    .back-to-top {
        width: 45px;
        height: 45px;
        right: 12px;
        bottom: 12px;
    }
}