/*
Theme Name: aspower
Theme URI: 
Author: AS POWER
Description: AS Power Custom Theme
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  border-color: #E5E7EB;
  box-sizing: border-box;
}

body {
  background-color: #FFFFFF;
  color: #0F172A;
  font-family: "Inter", sans-serif;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Typography */
.h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #0F172A;
  font-size: 32px;
  text-wrap: balance;
}
@media (min-width: 768px) { .h1 { font-size: 42px; } }
@media (min-width: 1024px) { .h1 { font-size: 56px; } }

.h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: #0F172A;
  font-size: 26px;
  text-wrap: balance;
}
@media (min-width: 768px) { .h2 { font-size: 32px; } }
@media (min-width: 1024px) { .h2 { font-size: 42px; } }

.h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1F2937;
  font-size: 20px;
  text-wrap: balance;
}
@media (min-width: 768px) { .h3 { font-size: 24px; } }
@media (min-width: 1024px) { .h3 { font-size: 28px; } }

.h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.4;
  color: #1F2937;
  font-size: 16px;
  text-wrap: balance;
}
@media (min-width: 768px) { .h4 { font-size: 18px; } }
@media (min-width: 1024px) { .h4 { font-size: 20px; } }

.body-large {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.3px;
  color: #374151;
}

.body-regular {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #374151;
}

.body-small {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1px;
  color: #6B7280;
}

.label {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6B7280;
}

.button-text {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.3px;
  color: #FFFFFF;
}

/* Cards */
.card-premium {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.04);
}

.card-premium:hover {
  transform: translateY(-4px);
  border-color: #3B82F6;
  background-color: #F0F9FF;
  box-shadow: 0 12px 24px -8px rgba(59, 130, 246, 0.15);
}

/* Badge */
.badge {
  background-color: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Dividers */
.section-divider {
  height: 1px;
  background-color: #E5E7EB;
  opacity: 0.6;
  margin: 40px auto;
  width: 100%;
}

.section-divider-blue {
  height: 2px;
  background-color: #DBEAFE;
  opacity: 0.7;
  margin: 40px auto;
  width: 100%;
}

/* Backgrounds */
.bg-section-white { background-color: #FFFFFF; }
.bg-section-grey { background-color: #F9FAFB; }
.bg-section-blue { background-color: #F0F9FF; }

/* Transitions */
.transition-smooth {
  transition: all 0.2s ease-in-out;
}

/* Shadows */
.shadow-subtle-blue {
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.06);
}
.shadow-hover-blue:hover {
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.12);
}

/* Hover lift */
.hover-lift {
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.hover-lift:hover {
  transform: translateY(-4px);
  border-color: #3B82F6;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.12);
}

/* Image zoom */
.card-zoom-image {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.group:hover .card-zoom-image {
  transform: scale(1.05);
}

/* Scrollbar */
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Section Patterns */
.bg-pattern-hero {
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 12px);
}

.bg-pattern-about {
  background-image: radial-gradient(circle at center, rgba(59,130,246,0.06) 2px, transparent 2px);
  background-size: 24px 24px;
}

.bg-pattern-products {
  background-image: linear-gradient(rgba(107,114,128,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(107,114,128,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-pattern-cases {
  background-image: 
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(rgba(59,130,246,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}

.bg-pattern-news {
  background-image: radial-gradient(circle at center, rgba(107,114,128,0.05) 2px, transparent 2px);
  background-size: 16px 16px;
}

.bg-pattern-contact {
  background-image: 
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0, rgba(255,255,255,0.04) 1px, transparent 1px, transparent 16px);
}

/* CF7 表单样式 */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    background-color: #FFFFFF;
    color: #374151;
    transition: border-color 0.2s;
    outline: none;
    margin-bottom: 0;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 14px 32px;
    background-color: #3B82F6;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-top: 8px;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #1E40AF;
}

.wpcf7-not-valid-tip {
    color: #DC2626;
    font-size: 12px;
    margin-top: 4px;
}

.wpcf7-response-output {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    background-color: #F0FDF4;
    border: 1px solid #86EFAC;
    color: #166534;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

/* ===== AS POWER shared styles (detail pages) ===== */
:root {
  --navy-900: #0b1729;
  --navy-800: #101d33;
  --navy-700: #17253f;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-50:  #eff5ff;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --ink-200: #e2e8f0;
  --ink-100: #eef2f7;
  --ink-50:  #f4f7fb;
  --white:   #ffffff;
  --radius:  14px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05);
  --shadow:    0 4px 20px rgba(15,23,42,0.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.08);
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  color: var(--ink-900);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ink-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.logo-mark svg { width: 30px; height: 30px; }
.logo-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-name b { font-size: 18px; color: var(--ink-900); letter-spacing: 0.04em; }
.logo-name span { font-size: 13px; color: var(--ink-700); letter-spacing: 0.18em; font-weight: 700; }

.menu { display: flex; gap: 36px; align-items: center; }
.menu a {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-700);
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}
.menu a:hover { color: var(--blue-600); }
.menu a.active { color: var(--blue-600); }
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--blue-600);
}
.nav-search {
  width: 22px; height: 22px;
  color: var(--ink-700);
  cursor: pointer;
}

/* ===== Hero (detail) ===== */
.hero {
  position: relative;
  min-height: 320px;
  background:
    linear-gradient(180deg, rgba(10,20,40,0.78) 0%, rgba(10,20,40,0.88) 100%),
    var(--hero-img, url("https://images.unsplash.com/photo-1513828583688-c52646db42da?w=1800&q=80")) center/cover no-repeat,
    var(--navy-900);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px 60px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.015) 0 2px, transparent 2px 10px);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 860px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.28em;
  color: var(--blue-400);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero .eyebrow::before, .hero .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--blue-400); opacity: 0.8;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.08;
  margin: 0 0 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero p.sub {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin: 0 auto;
  max-width: 620px;
}
.crumbs {
  display: inline-flex;
  align-items: center; gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255
