@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
  --primary: #0066CC;
  --primary-dark: #004A99;
  --primary-light: #3399FF;
  --secondary: #00B4D8;
  --accent: #E0F2FE;
  --dark: #1A1A2E;
  --gray: #6B7280;
  --light-gray: #F3F4F6;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 102, 204, 0.10);
  --shadow-hover: 0 10px 35px rgba(0, 102, 204, 0.22);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito', 'Segoe UI', system-ui, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, button { font-family: inherit; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08); z-index: 1000;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 900; color: var(--primary); letter-spacing: -0.5px; }
.logo svg { width: 34px; height: 34px; }
.logo span.sub { font-size: 0.65rem; font-weight: 600; color: var(--gray); display: block; letter-spacing: 0.5px; line-height: 1; }
nav ul { display: flex; gap: 4px; align-items: center; }
nav a { padding: 8px 15px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; color: var(--dark); transition: var(--transition); }
nav a:hover, nav a.active { color: var(--primary); background: var(--accent); }
.nav-cta { background: var(--primary) !important; color: var(--white) !important; padding: 9px 20px !important; }
.nav-cta:hover { background: var(--primary-dark) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; border: none; background: transparent; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 3px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
nav.mobile-open ul { display: flex; }

/* ── HERO ── */
.hero {
  background: linear-gradient(145deg, #003D82 0%, #0066CC 45%, #0099E6 80%, #00C6FF 100%);
  min-height: 88vh; display: flex; align-items: center; position: relative; overflow: hidden; padding: 100px 0 120px;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 90px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-bubble { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.06); }
.hero-bubble.b1 { width: 400px; height: 400px; top: -120px; right: -80px; }
.hero-bubble.b2 { width: 250px; height: 250px; bottom: 60px; right: 200px; }
.hero-bubble.b3 { width: 120px; height: 120px; top: 40%; left: 55%; }
.hero-content { position: relative; z-index: 2; color: white; max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.95); padding: 6px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 28px;
  backdrop-filter: blur(8px); letter-spacing: 0.5px;
}
.hero-badge::before { content: '●'; color: #7FE4FF; font-size: 0.6rem; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 900; line-height: 1.15; margin-bottom: 22px; letter-spacing: -1px; }
.hero h1 em { font-style: normal; color: #7FE4FF; }
.hero p { font-size: 1.1rem; opacity: 0.88; margin-bottom: 40px; max-width: 500px; line-height: 1.75; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 800; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); white-space: nowrap; }
.btn-white { background: var(--white); color: var(--primary); box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.8); }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stat .num { font-size: 2.4rem; font-weight: 900; line-height: 1; }
.hero-stat .lbl { font-size: 0.82rem; opacity: 0.75; margin-top: 4px; font-weight: 600; }

/* ── SECTION BASE ── */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: var(--accent); color: var(--primary);
  padding: 4px 14px; border-radius: 50px; font-size: 0.75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px;
}
.section-header h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.5px; }
.section-header p { color: var(--gray); max-width: 520px; margin: 0 auto; font-size: 1.02rem; line-height: 1.75; }

/* ── PRODUCTS ── */
.products-section { background: var(--light-gray); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.filter-btn {
  padding: 10px 22px; border-radius: 50px; border: 2px solid #E5E7EB;
  background: var(--white); color: var(--gray); font-weight: 700; font-size: 0.875rem;
  cursor: pointer; transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 4px 14px rgba(0,102,204,0.3); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-hover); }
.product-img { height: 230px; overflow: hidden; background: var(--light-gray); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.product-card:hover .product-img img { transform: scale(1.07); }
.product-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  display: inline-block; background: var(--accent); color: var(--primary);
  font-size: 0.72rem; font-weight: 800; padding: 3px 10px;
  border-radius: 50px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px;
}
.product-body h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 14px; line-height: 1.45; flex: 1; }
.product-link {
  display: inline-flex; align-items: center; gap: 6px; color: var(--primary);
  font-weight: 700; font-size: 0.875rem; margin-top: auto;
}
.product-link svg { transition: transform 0.25s; }
.product-link:hover svg { transform: translateX(4px); }
.products-more { text-align: center; margin-top: 50px; }
.btn-primary { background: var(--primary); color: var(--white); padding: 14px 36px; border-radius: var(--radius-sm); font-weight: 800; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,102,204,0.35); }

/* ── ABOUT ── */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text .section-tag { text-align: left; }
.about-text h2 { font-size: 2.2rem; font-weight: 900; line-height: 1.25; margin-bottom: 20px; letter-spacing: -0.5px; }
.about-text p { color: var(--gray); margin-bottom: 16px; line-height: 1.85; font-size: 0.97rem; }
.about-clients { margin-top: 30px; }
.about-clients h4 { font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray); margin-bottom: 14px; }
.client-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.client-tag { background: var(--light-gray); padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat-card { background: var(--accent); border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: var(--transition); }
.stat-card:hover { background: var(--primary); }
.stat-card:hover .stat-num, .stat-card:hover .stat-lbl { color: var(--white); }
.stat-num { font-size: 3rem; font-weight: 900; color: var(--primary); line-height: 1; transition: var(--transition); }
.stat-lbl { color: var(--gray); font-size: 0.85rem; font-weight: 700; margin-top: 8px; transition: var(--transition); }

/* ── ARTICLES ── */
.articles-section { background: var(--light-gray); }
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.article-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.article-img { height: 210px; overflow: hidden; background: var(--light-gray); }
.article-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.article-card:hover .article-img img { transform: scale(1.06); }
.article-body { padding: 26px; }
.article-date { font-size: 0.78rem; color: var(--gray); margin-bottom: 10px; font-weight: 600; }
.article-body h3 { font-size: 1.05rem; font-weight: 800; line-height: 1.5; margin-bottom: 12px; }
.article-body p { color: var(--gray); font-size: 0.9rem; line-height: 1.75; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-weight: 800; font-size: 0.875rem; }
.read-more svg { transition: transform 0.25s; }
.read-more:hover svg { transform: translateX(4px); }

/* ── CONTACT ── */
.contact-section { background: var(--dark); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-info .section-tag { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); text-align: left; }
.contact-info h2 { font-size: 2.2rem; font-weight: 900; margin-bottom: 16px; letter-spacing: -0.5px; line-height: 1.25; }
.contact-info > p { opacity: 0.65; margin-bottom: 36px; line-height: 1.8; font-size: 0.97rem; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.c-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.c-icon svg { width: 20px; height: 20px; stroke: #7FE4FF; fill: none; stroke-width: 2; stroke-linecap: round; }
.c-label { font-size: 0.75rem; opacity: 0.55; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.c-value { font-weight: 700; margin-top: 3px; font-size: 0.97rem; }
.social-row { display: flex; gap: 12px; margin-top: 36px; }
.social-btn { width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: var(--transition); font-weight: 700; font-size: 0.8rem; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.1); }
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: white; transform: translateY(-2px); }

/* FORM */
.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.contact-form h3 { font-size: 1.3rem; font-weight: 900; color: var(--dark); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 800; color: var(--dark); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 2px solid #E5E7EB;
  border-radius: var(--radius-sm); font-size: 0.97rem; transition: var(--transition);
  outline: none; color: var(--dark); background: var(--white);
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,102,204,0.08); }
.form-group textarea { height: 120px; resize: vertical; }
.msg-success { background: #D1FAE5; color: #065F46; padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 700; font-size: 0.9rem; }
.msg-error { background: #FEE2E2; color: #991B1B; padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 700; font-size: 0.9rem; }

/* ── FOOTER ── */
footer { background: #0F172A; color: var(--white); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand .logo { margin-bottom: 16px; font-size: 1.2rem; }
.footer-brand p { opacity: 0.55; font-size: 0.875rem; line-height: 1.8; max-width: 280px; }
.footer-col h4 { font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.5; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { opacity: 0.65; font-size: 0.9rem; font-weight: 600; transition: var(--transition); }
.footer-col ul a:hover { opacity: 1; color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; text-align: center; opacity: 0.4; font-size: 0.82rem; }

/* ── PAGE HEADER ── */
.page-hero { background: linear-gradient(135deg, #003D82 0%, #0066CC 100%); padding: 70px 0; color: white; text-align: center; }
.page-hero h1 { font-size: 2.4rem; font-weight: 900; margin-bottom: 12px; }
.page-hero p { opacity: 0.8; font-size: 1rem; }

/* ── BREADCRUMB ── */
.breadcrumb { padding: 16px 0; font-size: 0.85rem; color: var(--gray); }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb span { margin: 0 8px; }

/* ── PRODUCT DETAIL ── */
.product-detail { padding: 60px 0 80px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-detail-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--light-gray); }
.product-detail-img img { width: 100%; height: 420px; object-fit: cover; }
.product-detail-info .product-cat { margin-bottom: 14px; }
.product-detail-info h1 { font-size: 2rem; font-weight: 900; margin-bottom: 22px; line-height: 1.25; }
.product-detail-info .desc { color: var(--gray); line-height: 1.85; font-size: 0.98rem; }
.product-detail-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.call-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--primary); color: white; padding: 14px 28px; border-radius: var(--radius-sm); font-weight: 800; transition: var(--transition); }
.call-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.back-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--gray); font-weight: 700; padding: 14px 20px; border-radius: var(--radius-sm); border: 2px solid #E5E7EB; transition: var(--transition); }
.back-btn:hover { border-color: var(--primary); color: var(--primary); }

/* ── ARTICLE DETAIL ── */
.article-detail { padding: 60px 0 80px; max-width: 800px; margin: 0 auto; }
.article-detail-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.article-detail-img img { width: 100%; height: 380px; object-fit: cover; }
.article-detail h1 { font-size: 2rem; font-weight: 900; margin-bottom: 14px; line-height: 1.3; }
.article-detail .meta { color: var(--gray); font-size: 0.875rem; font-weight: 600; margin-bottom: 32px; }
.article-detail .content { color: var(--dark); line-height: 1.9; font-size: 1rem; }
.article-detail .content p { margin-bottom: 18px; }

/* ── RELATED ── */
.related-section { background: var(--light-gray); padding: 60px 0; }
.related-section h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 30px; }

/* ── EMPTY STATE ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state svg { width: 60px; height: 60px; margin: 0 auto 16px; opacity: 0.4; }
.empty-state p { font-size: 1.1rem; font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 44px; }
}
@media (max-width: 768px) {
  nav ul { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: white; padding: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.1); gap: 4px; }
  nav.mobile-open ul { display: flex; }
  .hamburger { display: flex; }
  .about-grid, .contact-grid, .product-detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 100px; }
  .hero h1 { letter-spacing: -0.5px; }
  .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .products-grid, .articles-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .about-stats { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
}
