/* ============================================================
   INFOCARES CLOUD — Landing Page Styles
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0047CC;
  --blue-dk: #003399;
  --red:     #E1142B;
  --navy:    #0a1530;
  --ink:     #1a2942;
  --gray:    #64748b;
  --light:   #F4F7FC;
  --border:  #e2e8f0;
  --white:   #ffffff;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
a { text-decoration: none; color: inherit; }

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

/* ════════ HEADER ════════ */
.site-header {
  background: linear-gradient(180deg, #EAF1FC 0%, #F4F7FC 100%);
  padding: 18px 0 10px;
}
.header-inner { display: flex; align-items: center; justify-content: center; position: relative; flex-wrap: wrap; }
.logo { font-weight: 900; font-size: clamp(38px, 6vw, 60px); letter-spacing: -1px; line-height: 1; }
.logo-info  { color: var(--ink); }
.logo-cares { color: var(--red); }
.logo-tagline {
  width: 100%; text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--red); font-weight: 700; margin-top: 2px;
  position: relative;
}
.logo-tagline::before, .logo-tagline::after {
  content: ''; display: inline-block; width: 36px; height: 2px;
  background: var(--ink); vertical-align: middle; margin: 0 14px; opacity: 0.5;
}
.btn-portal {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 600; letter-spacing: 0.5px;
  padding: 12px 22px; border-radius: 8px;
  transition: all .2s; box-shadow: 0 4px 14px rgba(0,71,204,.25);
}
.btn-portal:hover { background: var(--blue-dk); transform: translateY(-50%) translateY(-2px); }

/* ════════ HERO ════════ */
.hero {
  background: linear-gradient(180deg, #F4F7FC 0%, #E8F0FB 100%);
  padding: 30px 0 50px;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-title {
  font-size: clamp(32px, 4.5vw, 48px); font-weight: 800;
  color: var(--navy); line-height: 1.12; letter-spacing: -1px;
}
.hero-rule { width: 70px; height: 4px; background: var(--blue); border-radius: 2px; margin: 22px 0 36px; }

.stats { display: flex; align-items: flex-start; gap: 0; }
.stat { text-align: center; flex: 1; }
.stat-divider { width: 1px; align-self: stretch; background: var(--border); margin: 10px 0; }
.stat-icon { width: 64px; height: 64px; margin: 0 auto 12px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,71,204,.1); }
.stat-icon svg { width: 36px; height: 36px; }
.stat-num { font-size: 30px; font-weight: 800; color: var(--blue); line-height: 1; }
.stat-num-text { font-size: 22px; font-weight: 800; color: var(--blue); line-height: 1; margin-top: 8px; }
.stat-label { font-size: 13px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.stat-sub { font-size: 12px; color: var(--gray); margin-top: 2px; }

/* Hero visual */
.hero-right { display: flex; align-items: center; justify-content: center; }
.hero-visual { position: relative; width: 100%; max-width: 440px; }
.globe-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(0,71,204,0.04) 1px, transparent 1px);
  background-size: 22px 22px; border-radius: 16px;
}
.hero-svg { width: 100%; height: auto; position: relative; z-index: 1; }

/* animations */
.wifi-anim { animation: pulse-wifi 2.5s ease-in-out infinite; transform-origin: 215px 94px; }
@keyframes pulse-wifi { 0%,100%{opacity:.5} 50%{opacity:1} }
.email-float { animation: float-y 4s ease-in-out infinite; }
@keyframes float-y { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.cloud-anim { animation: float-y 3.5s ease-in-out infinite; }
.led { animation: blink 1.5s ease-in-out infinite; }
.led2 { animation-delay: .3s; } .led3 { animation-delay: .6s; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.firewall-grp { animation: float-y 5s ease-in-out infinite; }

/* ════════ SECTIONS ════════ */
.section { padding: 56px 0; }
.section-gray { background: var(--light); }
.section-title { text-align: center; font-size: clamp(26px, 3.5vw, 34px); font-weight: 800; color: var(--navy); }
.title-underline { width: 60px; height: 3px; background: var(--red); border-radius: 2px; margin: 12px auto 40px; }
.title-underline.small { margin: 10px auto 28px; width: 50px; }

/* ════════ CORE SOLUTIONS ════════ */
.solutions-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 44px 32px; box-shadow: 0 8px 30px rgba(10,21,48,.04); }
.solutions-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.solution { text-align: center; padding: 12px; border-radius: 12px; transition: all .2s; }
.solution:hover { background: var(--light); transform: translateY(-4px); }
.solution-icon { width: 72px; height: 72px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; }
.solution-icon svg { width: 52px; height: 52px; }
.solution-name { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.solution-desc { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ════════ TWO COLUMN (Partners + Downloads) ════════ */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; box-shadow: 0 8px 30px rgba(10,21,48,.04); }
.panel-title { text-align: center; font-size: 22px; font-weight: 800; color: var(--navy); }

/* Partners */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.partner {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  height: 60px; display: flex; align-items: center; justify-content: center;
  font-weight: 800; transition: all .2s; padding: 8px;
}
.partner:hover { box-shadow: 0 6px 18px rgba(10,21,48,.08); transform: translateY(-2px); }
.partner-full {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; text-align: center; transition: all .2s;
}
.partner-full:hover { box-shadow: 0 6px 18px rgba(10,21,48,.08); }

/* Brand text styles */
.brand-hp { color: #0096D6; font-weight: 900; font-size: 26px; font-style: italic; }
.brand-lenovo { background: #E1141A; color: #fff; font-weight: 800; font-size: 15px; padding: 4px 8px; border-radius: 3px; letter-spacing: -.3px; }
.brand-acer { color: #83C72B; font-weight: 800; font-size: 20px; font-style: italic; }
.brand-epson { color: #1B3F8B; font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.brand-netcore { color: #1a1a2e; font-weight: 800; font-size: 15px; }
.brand-netcore::first-letter { color: #FF6B00; }
.brand-gcloud { color: #5f6368; font-weight: 600; font-size: 14px; }
.brand-sophos { color: #1976D2; font-weight: 800; font-size: 18px; letter-spacing: .5px; }
.brand-kaspersky { color: #00945E; font-weight: 800; font-size: 32px; letter-spacing: -.5px; }
.kaspersky-sub { color: var(--gray); font-size: 11px; font-weight: 600; letter-spacing: 3px; margin-top: 2px; }

/* Downloads */
.downloads-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.download-item {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 12px; text-align: center; transition: all .2s;
  display: flex; flex-direction: column; align-items: center;
}
.download-item:hover { box-shadow: 0 8px 24px rgba(0,71,204,.12); transform: translateY(-3px); border-color: #c7d7ff; }
.dl-logo { height: 38px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.dl-name { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.dl-sub { font-size: 11px; color: var(--gray); margin-bottom: 10px; }
.dl-link { font-size: 12px; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; }

/* ════════ CONTACT ════════ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: stretch; }
.contact-map { position: relative; min-height: 320px; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); display: block; }
.map-pin-label {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: #fff; padding: 8px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.contact-details { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.contact-row { display: flex; align-items: flex-start; gap: 16px; }
.contact-ic { width: 44px; height: 44px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-ic svg { width: 22px; height: 22px; }
.contact-text { font-size: 15px; color: var(--ink); line-height: 1.6; padding-top: 4px; }
.contact-text a { color: var(--ink); transition: color .15s; }
.contact-text a:hover { color: var(--blue); }

/* ════════ FOOTER ════════ */
.site-footer { background: var(--blue); padding: 18px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { color: #fff; font-size: 14px; }
.footer-dev { color: rgba(255,255,255,.85); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.infosoft { display: inline-flex; line-height: 1; }
.infosoft .is-info { font-weight: 900; font-size: 16px; color: #fff; }
.infosoft .is-soft { font-weight: 900; font-size: 16px; color: #fff; background: var(--red); padding: 0 3px; border-radius: 2px; }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
  .btn-portal { position: static; transform: none; margin-top: 14px; }
  .header-inner { flex-direction: column; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { flex-wrap: wrap; gap: 16px; }
  .stat { flex: 1 1 40%; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
}
