/* ============================================
   ARTI METAL - Global Styles
   ============================================ */

:root {
  --copper: #B87333;
  --copper-light: #D4956A;
  --copper-dark: #8B5A2B;
  --copper-pale: #FFF5EB;
  --copper-mid: #F5E6D3;
  --navy: #1A2744;
  --navy-light: #243460;
  --dark: #111827;
  --gray-dark: #374151;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --gray-pale: #F9FAFB;
  --white: #FFFFFF;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { font-family: var(--font-main); color: var(--dark); background: var(--white); line-height: 1.6; zoom: 1; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.2; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-main); font-weight: 600; }
p { color: var(--gray-dark); line-height: 1.75; }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--copper); margin-bottom: 0.5rem; display: block; }
.section-title { color: var(--navy); margin-bottom: 1rem; }
.section-subtitle { color: var(--gray); font-size: 1.1rem; max-width: 640px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.btn-primary { background: var(--copper); color: var(--white); }
.btn-primary:hover { background: var(--copper-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(184,115,51,0.35); }
.btn-secondary { background: transparent; color: var(--copper); border: 2px solid var(--copper); }
.btn-secondary:hover { background: var(--copper); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--copper-pale); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ============================================
   BADGES & TAGS
   ============================================ */
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-copper { background: var(--copper-pale); color: var(--copper-dark); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-green { background: #ECFDF5; color: #065F46; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.header.scrolled { background: var(--white); box-shadow: var(--shadow); }
.header.scrolled .nav-link { color: var(--dark); }
.header.scrolled .logo-text { color: var(--navy); }
.header.scrolled .logo-sub { color: var(--gray); }
.header.scrolled .nav-cta { background: var(--copper); color: var(--white); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; max-width: 1300px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 0.75rem; }
.logo-icon { width: 44px; height: 44px; background: var(--copper); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-icon svg { width: 26px; height: 26px; fill: white; }
.logo-text { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--white); line-height: 1; }
.logo-sub { font-size: 0.65rem; color: rgba(255,255,255,0.7); letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { padding: 0.5rem 0.85rem; color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; border-radius: var(--radius); transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--copper-light); background: rgba(255,255,255,0.08); }
.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active { color: var(--copper); background: var(--copper-pale); }
.nav-cta { background: rgba(255,255,255,0.15); color: var(--white); padding: 0.5rem 1.25rem; border-radius: var(--radius); font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.3); transition: var(--transition); margin-left: 0.5rem; }
.nav-cta:hover { background: var(--copper); border-color: var(--copper); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.header.scrolled .hamburger span { background: var(--dark); }
.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 999; padding: 5rem 2rem 2rem; overflow-y: auto; transform: translateX(100%); transition: transform 0.35s ease; }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-link { display: block; padding: 1rem 0; font-size: 1.1rem; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--gray-light); }
.mobile-nav-link:hover { color: var(--copper); }
.mobile-nav-close { position: absolute; top: 1.25rem; right: 1.5rem; font-size: 1.5rem; color: var(--dark); background: none; border: none; cursor: pointer; }

/* ============================================
   HERO SECTIONS
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, #2D4A7A 70%, #1A3A5C 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B87333' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-content { position: relative; z-index: 2; }
.hero-label { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(184,115,51,0.2); border: 1px solid rgba(184,115,51,0.4); color: var(--copper-light); padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--copper-light); }
.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.75); max-width: 580px; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 0.875rem; }
.trust-item svg { color: var(--copper-light); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-lg); padding: 1.5rem; }
.hero-img-placeholder { width: 100%; height: 320px; background: linear-gradient(135deg, rgba(184,115,51,0.3), rgba(26,39,68,0.5)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-img-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* Page Hero (inner pages) */
.page-hero { padding: 8rem 0 4rem; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B87333' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: var(--transition); }
.breadcrumb a:hover { color: var(--copper-light); }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.875rem; }
.breadcrumb .current { color: var(--copper-light); font-size: 0.875rem; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: var(--copper-pale); padding: 3rem 0; border-top: 3px solid var(--copper); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item { padding: 1rem; }
.stat-number { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; color: var(--copper); line-height: 1; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.875rem; color: var(--gray); font-weight: 500; }

/* ============================================
   CARDS
   ============================================ */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-body { padding: 1.75rem; }
.card-icon { width: 52px; height: 52px; background: var(--copper-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--copper); }
.card-icon svg { width: 26px; height: 26px; }
.card-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; font-family: var(--font-main); }
.card-text { font-size: 0.9rem; color: var(--gray); line-height: 1.65; }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-img-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--copper-mid), var(--copper-pale)); display: flex; align-items: center; justify-content: center; color: var(--copper); font-size: 3rem; }

/* Feature Cards */
.feature-card { padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--gray-light); transition: var(--transition); }
.feature-card:hover { border-color: var(--copper); box-shadow: 0 4px 20px rgba(184,115,51,0.12); }

/* Product Grade Cards — see full definition in PRODUCT CARD REDESIGNED section below */
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-light); font-size: 0.875rem; }
.spec-row:last-child { border-bottom: none; }
.spec-label { color: var(--gray); font-weight: 500; }
.spec-value { color: var(--navy); font-weight: 600; }
.grade-card-footer { padding: 0.9rem 1.5rem; background: var(--gray-pale); display: flex; gap: 0.75rem; border-top: 1px solid var(--gray-light); }

/* ============================================
   TABLES
   ============================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
thead { background: var(--navy); color: var(--white); }
thead th { padding: 0.9rem 1rem; text-align: left; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--gray-light); transition: background 0.2s; }
tbody tr:hover { background: var(--copper-pale); }
tbody td { padding: 0.85rem 1rem; color: var(--gray-dark); vertical-align: middle; }
tbody tr:last-child { border-bottom: none; }
.table-highlight td:first-child { font-weight: 700; color: var(--navy); }
tfoot td { background: var(--gray-pale); font-weight: 600; color: var(--navy); padding: 0.85rem 1rem; }

/* ============================================
   FORMS
   ============================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; }
.form-label span { color: var(--copper); }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--gray-light); border-radius: var(--radius); font-size: 0.95rem; color: var(--dark); background: var(--white); transition: var(--transition); }
.form-control:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184,115,51,0.12); }
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.8rem; color: var(--gray); margin-top: 0.35rem; }
.form-success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; padding: 1rem 1.25rem; border-radius: var(--radius); font-size: 0.9rem; display: none; }
.form-success.show { display: block; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 4rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 0.6rem; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--copper-light); }
.footer-heading { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 1.25rem; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: var(--copper-light); padding-left: 4px; }
.footer-standards { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.std-badge { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); padding: 0.25rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.5rem 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--copper-light); }

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.bg-navy { background: var(--navy); }
.bg-navy .section-title { color: var(--white); }
.bg-navy .section-subtitle { color: rgba(255,255,255,0.65); }
.bg-navy p { color: rgba(255,255,255,0.7); }
.bg-copper-pale { background: var(--copper-pale); }
.bg-gray { background: var(--gray-pale); }
.bg-dark { background: var(--dark); }
.copper-line { width: 60px; height: 4px; background: var(--copper); border-radius: 2px; margin: 1rem 0 1.5rem; }
.copper-line-center { margin: 1rem auto 1.5rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { background: linear-gradient(135deg, var(--copper-dark) 0%, var(--copper) 50%, var(--copper-light) 100%); padding: 5rem 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 560px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   APPLICATIONS PAGE
   ============================================ */
.app-tab-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 3rem; }
.app-tab-btn { padding: 0.6rem 1.25rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; border: 2px solid var(--gray-light); color: var(--gray); transition: var(--transition); cursor: pointer; background: var(--white); }
.app-tab-btn.active, .app-tab-btn:hover { border-color: var(--copper); color: var(--copper); background: var(--copper-pale); }
.app-panel { display: none; }
.app-panel.active { display: block; }
.app-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.app-img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius-lg); }
.app-img-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, var(--copper-mid), var(--navy-light)); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.app-functions { margin: 1.5rem 0; }
.app-function-item { display: flex; gap: 1rem; margin-bottom: 1rem; padding: 1rem; background: var(--gray-pale); border-radius: var(--radius); border-left: 3px solid var(--copper); }
.app-function-icon { font-size: 1.5rem; flex-shrink: 0; }
.app-function-title { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.25rem; }
.app-function-text { font-size: 0.85rem; color: var(--gray); }

/* ============================================
   QUALITY PAGE
   ============================================ */
.test-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--gray-light); transition: var(--transition); }
.test-card:hover { border-color: var(--copper); box-shadow: var(--shadow); }
.test-number { font-family: var(--font-heading); font-size: 3rem; color: var(--copper-pale); font-weight: 700; line-height: 1; margin-bottom: 0.5rem; -webkit-text-stroke: 2px var(--copper-light); }
.coa-preview { background: var(--white); border: 2px solid var(--gray-light); border-radius: var(--radius-lg); padding: 2rem; font-size: 0.85rem; }
.coa-header { text-align: center; border-bottom: 2px solid var(--copper); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.coa-company { font-family: var(--font-heading); font-size: 1.4rem; color: var(--navy); }
.coa-title { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper); margin-top: 0.25rem; }
.coa-row { display: flex; justify-content: space-between; padding: 0.4rem 0; border-bottom: 1px dashed var(--gray-light); }
.coa-row:last-child { border-bottom: none; }
.coa-key { color: var(--gray); }
.coa-val { font-weight: 600; color: var(--navy); }
.coa-section-title { font-weight: 700; color: var(--navy); margin: 1rem 0 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; }
.coa-sig { display: flex; justify-content: space-between; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gray-light); font-size: 0.8rem; color: var(--gray); }

/* ============================================
   RESOURCES PAGE
   ============================================ */
.download-card { display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius); transition: var(--transition); }
.download-card:hover { border-color: var(--copper); box-shadow: var(--shadow); }
.download-icon { width: 48px; height: 48px; background: var(--copper-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--copper); flex-shrink: 0; }
.download-info { flex: 1; }
.download-title { font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.download-desc { font-size: 0.8rem; color: var(--gray); margin-top: 0.2rem; }
.faq-item { border: 1px solid var(--gray-light); border-radius: var(--radius); overflow: hidden; margin-bottom: 0.75rem; }
.faq-question { padding: 1.1rem 1.25rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; font-size: 0.95rem; }
.faq-question:hover { background: var(--copper-pale); }
.faq-question.open { background: var(--copper-pale); color: var(--copper-dark); }
.faq-arrow { transition: transform 0.3s; flex-shrink: 0; }
.faq-question.open .faq-arrow { transform: rotate(180deg); }
.faq-answer { padding: 0 1.25rem; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; }
.faq-answer.open { max-height: 300px; padding: 0 1.25rem 1.1rem; }
.faq-answer p { font-size: 0.9rem; color: var(--gray-dark); }

/* ============================================
   BLOG
   ============================================ */
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light); transition: var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-img-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--copper-mid), var(--navy-light)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-card-body { padding: 1.5rem; }
.blog-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.blog-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--copper); }
.blog-date { font-size: 0.8rem; color: var(--gray); }
.blog-read { font-size: 0.8rem; color: var(--gray); }
.blog-card-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; font-family: var(--font-main); line-height: 1.4; }
.blog-card-excerpt { font-size: 0.875rem; color: var(--gray); line-height: 1.65; margin-bottom: 1rem; }
.blog-sidebar { position: sticky; top: 6rem; }
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-light); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-title { font-weight: 700; color: var(--navy); margin-bottom: 1rem; font-size: 0.95rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--copper); }
.sidebar-cat-link { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-light); font-size: 0.875rem; color: var(--gray-dark); transition: var(--transition); }
.sidebar-cat-link:hover { color: var(--copper); }
.sidebar-cat-link:last-child { border-bottom: none; }
.sidebar-cat-count { background: var(--copper-pale); color: var(--copper-dark); padding: 0.15rem 0.5rem; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-info-card { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; height: 100%; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 2rem; }
.contact-info-icon { width: 44px; height: 44px; background: rgba(184,115,51,0.2); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--copper-light); flex-shrink: 0; }
.contact-info-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 0.25rem; }
.contact-info-value { color: var(--white); font-size: 0.95rem; line-height: 1.6; }
.contact-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow); }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { display: block; }

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(to right, var(--copper), var(--copper-light)); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.step-number { width: 56px; height: 56px; background: var(--copper); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin: 0 auto 1.25rem; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--copper); }
.step-title { font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; font-size: 0.95rem; }
.step-text { font-size: 0.85rem; color: var(--gray); line-height: 1.6; }

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; color: var(--navy); margin: 2.5rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--copper-pale); }
.legal-content h3 { font-size: 1.1rem; color: var(--navy); margin: 1.5rem 0 0.75rem; font-family: var(--font-main); font-weight: 700; }
.legal-content p { margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.legal-content ul li { font-size: 0.95rem; color: var(--gray-dark); margin-bottom: 0.4rem; line-height: 1.65; }
.legal-meta { background: var(--copper-pale); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; font-size: 0.875rem; color: var(--gray-dark); }

/* ============================================
   SITEMAP PAGE
   ============================================ */
.sitemap-section { margin-bottom: 2.5rem; }
.sitemap-section h3 { color: var(--navy); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--copper); display: inline-block; }
.sitemap-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.sitemap-link { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.75rem; border-radius: var(--radius); color: var(--gray-dark); font-size: 0.9rem; transition: var(--transition); border: 1px solid transparent; }
.sitemap-link:hover { color: var(--copper); background: var(--copper-pale); border-color: var(--copper-light); }
.sitemap-link svg { color: var(--copper); flex-shrink: 0; }

/* ============================================
   UTILITIES
   ============================================ */
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }
.pt-0 { padding-top: 0 !important; }
.list-check li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.6rem; font-size: 0.9rem; color: var(--gray-dark); }
.list-check li::before { content: '✓'; color: var(--copper); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.list-dot li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--gray-dark); }
.list-dot li::before { content: '•'; color: var(--copper); font-weight: 700; flex-shrink: 0; }
.highlight-box { background: var(--copper-pale); border-left: 4px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { color: var(--gray-dark); font-size: 0.9rem; margin: 0; }
.info-box { background: #EFF6FF; border: 1px solid #BFDBFE; border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.info-box p { color: #1E40AF; font-size: 0.875rem; margin: 0; }
.divider { height: 1px; background: var(--gray-light); margin: 2rem 0; }
.copper-text { color: var(--copper); }
.navy-text { color: var(--navy); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tag { background: var(--copper-pale); color: var(--copper-dark); padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--copper); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: var(--transition); opacity: 0; pointer-events: none; z-index: 500; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--copper-dark); transform: translateY(-3px); }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes countUp { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-up { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-steps::before { display: none; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .app-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero-visual { display: none; }
  .grid-2, .grid-3, .grid-6 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { grid-template-columns: 1fr; }
  .sitemap-links { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 6rem 0 3rem; }
  .contact-info-card { margin-bottom: 1.5rem; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-links { grid-template-columns: 1fr; }
  .grade-card-footer { flex-direction: column; }
  .app-tab-nav { gap: 0.35rem; }
  .app-tab-btn { font-size: 0.8rem; padding: 0.5rem 0.9rem; }
}

.sitemap-section { margin-bottom: 2.5rem; }
.sitemap-section h3 { color: var(--navy); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--copper-pale); font-family: var(--font-main); font-size: 1rem; font-weight: 700; }
.sitemap-links { display: flex; flex-direction: column; gap: 0.4rem; }
.sitemap-links a { font-size: 0.9rem; color: var(--gray-dark); transition: var(--transition); display: flex; align-items: center; gap: 0.4rem; }
.sitemap-links a:hover { color: var(--copper); padding-left: 4px; }
.sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* ============================================
   PRODUCT DETAIL TABS
   ============================================ */
.grade-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; border-bottom: 2px solid var(--gray-light); padding-bottom: 0; }
.grade-tab-btn { padding: 0.65rem 1.25rem; font-size: 0.875rem; font-weight: 700; color: var(--gray); border-radius: var(--radius) var(--radius) 0 0; border: 2px solid transparent; border-bottom: none; cursor: pointer; background: var(--gray-pale); transition: var(--transition); margin-bottom: -2px; }
.grade-tab-btn.active { background: var(--white); color: var(--copper); border-color: var(--gray-light); border-bottom-color: var(--white); }
.grade-tab-btn:hover:not(.active) { color: var(--copper); background: var(--copper-pale); }
.grade-detail { display: none; }
.grade-detail.active { display: block; }
.grade-detail-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.grade-spec-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.grade-spec-table tr { border-bottom: 1px solid var(--gray-light); }
.grade-spec-table tr:last-child { border-bottom: none; }
.grade-spec-table td { padding: 0.65rem 0.75rem; }
.grade-spec-table td:first-child { color: var(--gray); font-weight: 500; width: 45%; }
.grade-spec-table td:last-child { color: var(--navy); font-weight: 600; }
.grade-badge { display: inline-block; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 700; margin-right: 0.25rem; margin-bottom: 0.25rem; }
.grade-badge-nf { background: #FEF3C7; color: #92400E; }
.grade-badge-ff { background: #ECFDF5; color: #065F46; }
.grade-badge-mf { background: #EFF6FF; color: #1E40AF; }
.app-list { list-style: none; }
.app-list li { padding: 0.4rem 0; font-size: 0.9rem; color: var(--gray-dark); display: flex; align-items: flex-start; gap: 0.5rem; }
.app-list li::before { content: '→'; color: var(--copper); font-weight: 700; flex-shrink: 0; }

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table thead th { background: var(--navy); }
.comparison-table thead th:first-child { background: var(--navy-light); }
.comparison-table .grade-col { font-weight: 700; color: var(--copper-dark); background: var(--copper-pale); }
.comparison-table .check { color: #059669; font-weight: 700; }
.comparison-table .cross { color: #DC2626; }

/* ============================================
   UTILITIES
   ============================================ */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.list-check { list-style: none; }
.list-check li { padding: 0.3rem 0; display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; }
.list-check li::before { content: '✓'; color: var(--copper); font-weight: 700; flex-shrink: 0; }
.divider { height: 1px; background: var(--gray-light); margin: 2rem 0; }
.highlight-box { background: var(--copper-pale); border-left: 4px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.highlight-box p { color: var(--copper-dark); font-size: 0.95rem; margin: 0; }
.info-box { background: #EFF6FF; border-left: 4px solid #3B82F6; border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.info-box p { color: #1E40AF; font-size: 0.9rem; margin: 0; }
.warning-box { background: #FFFBEB; border-left: 4px solid #F59E0B; border-radius: 0 var(--radius) var(--radius) 0; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.warning-box p { color: #92400E; font-size: 0.9rem; margin: 0; }

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--copper); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: var(--transition); z-index: 500; }
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--copper-dark); transform: translateY(-3px); }

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .grade-detail-grid { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .hero > .container { grid-template-columns: 1fr; padding-top: 7rem; }
  .hero-visual { display: none; }
  .grid-2, .grid-3, .grid-6 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .app-detail-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-info-card { margin-bottom: 1.5rem; }
  .sitemap-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 7rem 0 3rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .grade-tabs { gap: 0.25rem; }
  .grade-tab-btn { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
}

/* ============================================
   TAGS & MISC UTILITIES
   ============================================ */
.tag { display: inline-block; padding: 0.2rem 0.65rem; background: var(--copper-pale); color: var(--copper-dark); border-radius: 50px; font-size: 0.75rem; font-weight: 600; margin-right: 0.35rem; margin-bottom: 0.35rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.list-dot { list-style: none; }
.list-dot li { padding: 0.3rem 0; font-size: 0.9rem; color: var(--gray-dark); display: flex; align-items: flex-start; gap: 0.5rem; line-height: 1.6; }
.list-dot li::before { content: '•'; color: var(--copper); font-weight: 700; flex-shrink: 0; }

/* Quote page responsive */
@media (max-width: 900px) {
  .quote-layout { grid-template-columns: 1fr !important; }
}

/* Quote page inline grid responsive fix */
@media (max-width: 900px) {
  section .container > div[style*="340px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================
   SOCIAL LINKS
   ============================================ */
.social-links { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: var(--transition); }
.social-link:hover { background: var(--copper); border-color: var(--copper); color: var(--white); transform: translateY(-2px); }
.social-link svg { width: 16px; height: 16px; }

/* ============================================
   CARBON BRUSHES APPLICATION CARD
   ============================================ */
.carbon-brush-highlight { background: linear-gradient(135deg, var(--copper-pale), #FFF9F0); border: 2px solid var(--copper-light); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1rem 0; }
.carbon-brush-highlight h4 { color: var(--copper-dark); margin-bottom: 0.5rem; }

/* ============================================
   SEO HIDDEN KEYWORD BLOCK (visually hidden but readable)
   ============================================ */
.seo-region { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ============================================
   LOGO IMAGE (replaces SVG icon when logo file present)
   ============================================ */
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: var(--radius); background: var(--white); padding: 2px; }

/* ============================================
   REAL PRODUCT IMAGES
   ============================================ */
.product-img { width: 100%; height: 240px; object-fit: cover; object-position: center; border-radius: var(--radius-lg); background: var(--copper-pale); }
.product-img-thumb { width: 100%; height: 200px; object-fit: cover; object-position: center; border-radius: var(--radius); background: var(--copper-pale); }

/* Product image: white bg, contain (for powder shots) */
.product-img-contain { width: 100%; height: 240px; object-fit: contain; object-position: center; border-radius: var(--radius-lg); background: #fff; padding: 1rem; border: 1px solid var(--gray-light); }
.product-img-contain-sm { width: 100%; height: 200px; object-fit: contain; object-position: center; border-radius: var(--radius); background: #fff; padding: 0.75rem; border: 1px solid var(--gray-light); }

/* App image */
.app-real-img { width: 100%; height: 300px; object-fit: cover; object-position: center; border-radius: var(--radius-lg); }

/* Hero image */
.hero-real-img { width: 100%; height: 320px; object-fit: cover; object-position: center; border-radius: var(--radius); }

/* ============================================
   ICON SYSTEM — replaces emojis
   ============================================ */
.icon-wrap { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-wrap svg { display: block; }

/* App function icon box */
.app-function-icon-box { width: 44px; height: 44px; background: var(--copper-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--copper); }
.app-function-icon-box svg { width: 22px; height: 22px; }

/* Card icon large (replaces emoji in cards) */
.card-icon-lg { width: 56px; height: 56px; background: var(--copper-pale); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--copper); }
.card-icon-lg svg { width: 28px; height: 28px; }

/* Blog card placeholder with icon */
.blog-card-icon-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--copper-mid) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; }
.blog-card-icon-placeholder svg { width: 56px; height: 56px; color: rgba(255,255,255,0.6); }

/* Process step icon */
.step-icon { width: 56px; height: 56px; background: var(--copper); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--copper); }
.step-icon svg { width: 24px; height: 24px; }

/* Stat icon */
.stat-icon { width: 48px; height: 48px; background: var(--copper); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; color: var(--white); }
.stat-icon svg { width: 22px; height: 22px; }

/* App placeholder with icon (replaces emoji placeholder) */
.app-icon-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, var(--copper-mid) 0%, var(--navy-light) 100%); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; }
.app-icon-placeholder svg { width: 72px; height: 72px; color: rgba(255,255,255,0.5); }

/* Card placeholder with icon */
.card-icon-placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--copper-mid) 0%, var(--navy-light) 100%); display: flex; align-items: center; justify-content: center; }
.card-icon-placeholder svg { width: 56px; height: 56px; color: rgba(255,255,255,0.55); }

/* ============================================
   APP FUNCTION ITEM — icon-based (no emoji)
   ============================================ */
.app-function-item { display: flex; gap: 1rem; margin-bottom: 1rem; padding: 1rem; background: var(--gray-pale); border-radius: var(--radius); border-left: 3px solid var(--copper); align-items: flex-start; }
.app-fn-icon { width: 40px; height: 40px; background: var(--copper-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--copper); }
.app-fn-icon svg { width: 20px; height: 20px; }
.app-function-title { font-weight: 700; color: var(--navy); font-size: 0.9rem; margin-bottom: 0.25rem; }
.app-function-text { font-size: 0.85rem; color: var(--gray); line-height: 1.55; }

/* Tab buttons — no emoji, clean text */
.app-tab-btn { padding: 0.6rem 1.25rem; border-radius: 50px; font-size: 0.875rem; font-weight: 600; border: 2px solid var(--gray-light); color: var(--gray); transition: var(--transition); cursor: pointer; background: var(--white); display: inline-flex; align-items: center; gap: 0.5rem; }
.app-tab-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.app-tab-btn.active, .app-tab-btn:hover { border-color: var(--copper); color: var(--copper); background: var(--copper-pale); }

/* ============================================
   PRODUCT CARD — REDESIGNED SPLIT LAYOUT
   ============================================ */

/* The card itself: horizontal split on desktop, stacked on mobile */
.grade-card { border: 1.5px solid var(--gray-light); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); background: var(--white); display: flex; flex-direction: column; }
.grade-card:hover { border-color: var(--copper); box-shadow: 0 8px 32px rgba(184,115,51,0.18); transform: translateY(-3px); }

/* Image panel — soft gradient bg, powder image centered */
.grade-card-img-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(145deg, #F8F0E8 0%, #EDE0D0 40%, #E8D5C0 100%);
  flex-shrink: 0;
}

/* Remove the old bg image — we use CSS gradient now */
.grade-card-bg { display: none; }

/* Powder image: centered, zoomed in, no stretch */
.grade-card-powder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  width: 75%;
  height: 85%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 20px rgba(139,90,43,0.3));
}

/* Subtle copper shimmer overlay at bottom */
.grade-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(232,213,192,0.6) 0%, transparent 50%);
  pointer-events: none;
}

/* Grade label sits at bottom of image panel */
.grade-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.6rem 1rem;
  background: linear-gradient(to top, rgba(26,39,68,0.75) 0%, transparent 100%);
}
.grade-card-label .grade-card-code {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.grade-card-label .grade-card-name {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Card body and footer unchanged */
.grade-card-body { padding: 1.25rem 1.5rem; flex: 1; }
.grade-card-footer { padding: 0.9rem 1.5rem; background: var(--gray-pale); display: flex; gap: 0.75rem; border-top: 1px solid var(--gray-light); }

/* Products page detail view — image panel */
.grade-detail-img-panel {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #F8F0E8 0%, #EDE0D0 40%, #E8D5C0 100%);
  margin-bottom: 1.5rem;
}
.grade-detail-img-panel .grade-card-powder {
  width: 70%;
  height: 90%;
  transform: translate(-50%, -50%) scale(1.15);
}
.grade-detail-img-panel .grade-card-overlay {
  background: linear-gradient(to top, rgba(26,39,68,0.5) 0%, transparent 55%);
}
.grade-detail-img-panel .grade-card-label {
  padding: 1rem 1.5rem;
}
.grade-detail-img-panel .grade-card-code {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.grade-detail-img-panel .grade-card-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Logo image handling */
.logo-icon { width: 44px; height: 44px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--white); flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }
.logo-icon svg { width: 26px; height: 26px; fill: white; }

/* Blog card image */
.blog-card-real-img { width: 100%; height: 200px; object-fit: cover; object-position: center; }

/* Mission/Vision cards */
.mv-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border-top: 4px solid var(--copper); box-shadow: var(--shadow); }
.mv-card h3 { color: var(--navy); margin-bottom: 0.75rem; font-size: 1.1rem; font-family: var(--font-main); font-weight: 700; display: flex; align-items: center; gap: 0.6rem; }
.mv-card h3 svg { color: var(--copper); width: 20px; height: 20px; flex-shrink: 0; }
.mv-card p { color: var(--gray-dark); font-size: 0.95rem; line-height: 1.75; font-style: italic; }

/* grade-detail-img-panel — text-shadow enhancement only */
.grade-detail-img-panel .grade-card-code { text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.grade-detail-img-panel .grade-card-name { font-size: 0.85rem; color: rgba(255,255,255,0.9); margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.grade-detail-img-panel .grade-card-powder { width: 70%; height: 90%; transform: translate(-50%, -50%) scale(1.15); }
.grade-detail-img-panel .grade-card-overlay { background: linear-gradient(to top, rgba(26,39,68,0.55) 0%, transparent 55%); }

/* Products detail page: top info card + clean image card */
.grade-top-info-card {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.grade-top-info-code {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--copper-light);
  line-height: 1;
}
.grade-top-info-name {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-top: 0.25rem;
}
.grade-top-info-tag {
  background: rgba(184,115,51,0.3);
  color: var(--copper-light);
}
.grade-detail-image-card {
  position: relative;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #F8F0E8 0%, #EDE0D0 40%, #E8D5C0 100%);
  border: 1px solid var(--gray-light);
  margin-bottom: 1.5rem;
}
.grade-detail-image-only {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 92%;
  object-fit: contain;
  object-position: center;
  transform: translate(-50%, -50%) scale(1.22);
  filter: drop-shadow(0 8px 24px rgba(139,90,43,0.28));
}

/* Responsive: stack grade cards on small screens */
@media (max-width: 480px) {
  .grade-card-img-wrap { height: 160px; }
  .grade-detail-img-panel { height: 220px; }
  .grade-top-info-card { padding: 1.5rem; }
  .grade-top-info-code { font-size: 2.4rem; }
  .grade-detail-image-card { height: 220px; }
}

/* Slightly larger logo and stronger product image visibility */
.logo-icon { width: 54px; height: 54px; }
.logo-img { width: 54px; height: 54px; padding: 1px; }
.product-img { object-position: center 45%; }
.product-img-thumb { object-position: center 45%; }
.product-img-contain { padding: 0.35rem; }
.product-img-contain-sm { padding: 0.3rem; }
.grade-card-powder { transform: translate(-50%, -50%) scale(1.32); }
.grade-detail-img-panel .grade-card-powder { transform: translate(-50%, -50%) scale(1.25); }
