:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-dark-gray: #1a1a1a;
    --color-gray: #666666;
    --color-light-gray: #f5f5f5;
    --color-champagne: #C9B037;
    --color-bronze: #CD7F32;
    --color-warm-white: #FAF9F6;
    --font-primary: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-display: "Playfair Display", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-black);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-black);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 0 24px;
    max-width: 1200px;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 48px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    animation: fadeInDown 1s ease-out;
    border-radius: 20px;
}

.hero-title {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 300;
    margin-bottom: 48px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background-color: var(--color-champagne);
    color: var(--color-black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta:hover {
    background-color: var(--color-bronze);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 176, 55, 0.4);
}

/* Brand Introduction */
.brand-intro {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 96px 24px;
    text-align: center;
}

.brand-intro h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 32px;
}

.brand-intro p {
    font-size: 18px;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 2;
    opacity: 0.9;
}

/* Company Profile Section */
.company-profile {
    background-color: var(--color-white);
    padding: 96px 24px;
}

.company-profile h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.company-profile h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-champagne);
    margin: 24px auto 0;
}

.company-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2.2;
    color: var(--color-gray);
    text-align: justify;
}

.company-content p {
    margin-bottom: 24px;
}

/* Product Introduction Section */
.product-intro {
    background-color: var(--color-light-gray);
    padding: 96px 24px;
}

.product-intro h2 {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.product-intro h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-champagne);
    margin: 24px auto 0;
}

.product-intro-content {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 2.2;
    color: var(--color-gray);
    text-align: justify;
}

.product-intro-content p {
    margin-bottom: 24px;
}

/* Section Styles */
section {
    padding: 96px 24px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 64px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-champagne);
    margin: 24px auto 0;
}

/* Product Series Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.product-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    background-color: var(--color-white);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 32px;
}

.product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-black);
}

.product-description {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 16px;
    line-height: 1.8;
}

.product-applications {
    font-size: 14px;
    color: var(--color-champagne);
    font-weight: 500;
}

/* PDF CTA Section */
.pdf-cta {
    text-align: center;
    margin: 64px 0;
}

.pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 48px;
    background-color: var(--color-champagne);
    color: var(--color-black);
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(201, 176, 55, 0.3);
}

.pdf-button:hover {
    background-color: var(--color-bronze);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 176, 55, 0.5);
}

.pdf-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    padding: 0;
}

.advantage-item {
    text-align: center;
    background-color: var(--color-white);
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    border-color: var(--color-champagne);
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    fill: var(--color-champagne);
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1);
}

.advantage-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-black);
}

.advantage-description {
    font-size: 15px;
    color: var(--color-gray);
    line-height: 1.8;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--color-dark-gray) 0%, var(--color-black) 100%);
    color: var(--color-white);
    text-align: center;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.contact-item {
    padding: 32px 24px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background-color: rgba(201,176,55,0.1);
    transform: translateY(-4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    fill: var(--color-champagne);
}

.contact-label {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 8px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
}

.contact-phone {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: var(--color-champagne);
}

.address-section {
    margin-top: 64px;
}

.address-section h3 {
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--color-champagne);
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.address-card {
    padding: 32px;
    background-color: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(201,176,55,0.2);
    transition: all 0.3s ease;
}

.address-card:hover {
    background-color: rgba(201,176,55,0.15);
    border-color: var(--color-champagne);
    transform: translateY(-4px);
}

.address-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-champagne);
}

.address-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.contact-cta {
    display: inline-block;
    margin-top: 48px;
    padding: 16px 48px;
    background-color: var(--color-champagne);
    color: var(--color-black);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-cta:hover {
    background-color: var(--color-bronze);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 176, 55, 0.4);
}

/* Footer */
footer {
    background-color: var(--color-black);
    color: var(--color-gray);
    padding: 48px 24px;
    text-align: center;
}

.footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 24px;
    opacity: 0.8;
    border-radius: 16px;
}

footer p {
    font-size: 14px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-logo {
        max-width: 200px;
        margin-bottom: 32px;
    }

    section {
        padding: 64px 24px;
    }

    .brand-intro, .company-profile, .product-intro {
        padding: 64px 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .advantage-item {
        padding: 40px 24px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer Styles */
.inland-security-footer {
  position: fixed;
  z-index: 10;
  bottom: 0;
  right: 0;
  width: fit-content;
  display: flex;
  justify-content: flex-end;
}

.tooltip-container {
  position: relative;
}

.trigger-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background-color: transparent;
  border-radius: 8px;
  cursor: pointer;
}

.minimax-link {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 300;
  color: #adadad;
  text-decoration: none;
}

.minimax-link:visited {
  color: #adadad;
}

.minimax-link:hover {
  color: #666666;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  right: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  padding-bottom: 16px;
  font-size: 12px;
  line-height: 17px;
  background-color: #fafafa;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: #171717;
}

.tooltip-content::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 16px;
}

.tooltip-container:hover .tooltip-content {
  display: flex;
}

.info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.beian-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #171717;
}

.beian-icon {
  width: 14px;
  height: 14px;
  margin-right: 2px;
}

.underline-text {
  color: #171717;
  text-decoration: underline;
}

.underline-text:hover {
  color: #000000;
}

@media (prefers-color-scheme: dark) {
  .trigger-content {
    background-color: transparent;
  }

  .minimax-link,
  .minimax-link:visited {
    color: #666666;
  }

  .minimax-link:hover {
    color: #adadad;
  }

  .tooltip-content {
    background-color: #262626;
    color: #ededed;
  }

  .beian-link,
  .underline-text {
    color: #ededed;
  }

  .underline-text:hover {
    color: #ffffff;
  }
}
