/* HSG IT Finland - Premium Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1e40af;
  --primary-light: #3b82f6;
  --primary-dark: #1e3a8a;
  --accent: #06b6d4;
  --dark: #0c1425;
  --dark-lighter: #131d33;
  --text: #f8fafc;
  --text-mid: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(59,130,246,0.15);
  --radius: 12px;
  --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
html, body { max-width:100vw; }
body { font-family:'Inter',sans-serif; background:var(--dark); color:var(--text); line-height:1.6; overflow-x:hidden; }
a { color:inherit; text-decoration:none; }

/* Reveal animation */
.reveal { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* Navbar */
.navbar { position:sticky; top:0; z-index:100; background:rgba(12,20,37,0.85); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--border); transition:box-shadow 0.3s; }
.navbar.scrolled { box-shadow:0 4px 30px rgba(0,0,0,0.3); }
.nav-inner { max-width:1200px; margin:0 auto; padding:0 24px; height:68px; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; }
.logo-mark { width:38px; height:38px; background:linear-gradient(135deg,var(--primary),var(--primary-light)); border-radius:10px; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:14px; color:#fff; }
.nav-logo em { color:var(--primary-light); font-style:normal; }
a.logo { display:flex; align-items:center; gap:10px; font-weight:800; font-size:18px; color:#fff; text-decoration:none; }
.logo-icon { width:36px; height:36px; border-radius:8px; flex-shrink:0; }
.nav-links { display:flex; gap:4px; list-style:none; }
.nav-links a { padding:8px 16px; font-size:14px; font-weight:500; color:var(--text-mid); border-radius:8px; transition:all 0.2s; }
.nav-links a:hover { color:#fff; background:rgba(30,64,175,0.1); }
.nav-right { display:flex; align-items:center; gap:14px; }

/* Language Switcher */
.lang-switch { display:flex; background:rgba(30,64,175,0.1); border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.lang-btn { background:none; border:none; color:var(--text-dim); font-size:13px; font-weight:600; padding:6px 12px; cursor:pointer; transition:all 0.2s; font-family:'Inter',sans-serif; }
.lang-btn.active { background:var(--primary); color:#fff; }
.lang-btn:hover:not(.active) { color:var(--text); }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; padding:10px 22px; border-radius:10px; font-size:14px; font-weight:600; transition:all 0.25s; border:none; cursor:pointer; }
.btn-primary { background:linear-gradient(135deg,var(--primary),var(--primary-light)); color:#fff; box-shadow:0 4px 14px rgba(30,64,175,0.4); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(30,64,175,0.5); }
.btn-outline { border:1.5px solid var(--border); color:var(--text-mid); background:transparent; }
.btn-outline:hover { border-color:var(--primary-light); color:#fff; background:rgba(30,64,175,0.08); }
.btn-lg { padding:14px 32px; font-size:15px; border-radius:12px; }

/* Hero */
.hero { min-height:92vh; display:flex; align-items:center; padding:100px 24px 80px; position:relative; overflow:hidden; background:linear-gradient(160deg,#0c1425 0%,#1e3a5f 100%); }
.hero-bg { position:absolute; inset:0; background:radial-gradient(ellipse 70% 50% at 50% 40%,rgba(30,64,175,0.15),transparent 70%),radial-gradient(ellipse 40% 40% at 80% 20%,rgba(6,182,212,0.1),transparent 60%); }
.hero-grid { position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px); background-size:64px 64px; mask-image:radial-gradient(ellipse 80% 80% at 50% 50%,black 30%,transparent 80%); }
.hero-inner { max-width:1200px; margin:0 auto; width:100%; text-align:center; position:relative; z-index:2; }
.hero-badge { display:inline-flex; align-items:center; gap:8px; padding:8px 18px; background:rgba(30,64,175,0.1); border:1px solid rgba(59,130,246,0.2); border-radius:100px; font-size:13px; font-weight:500; color:var(--primary-light); margin-bottom:28px; }
.hero-badge-dot { width:8px; height:8px; background:#22c55e; border-radius:50%; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero h1 { font-size:clamp(2.4rem,5vw,3.8rem); font-weight:800; line-height:1.08; margin-bottom:24px; letter-spacing:-0.02em; max-width:800px; margin-left:auto; margin-right:auto; }
.accent { background:linear-gradient(135deg,var(--primary-light),var(--accent)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.hero-desc { font-size:18px; color:var(--text-mid); line-height:1.7; margin-bottom:40px; max-width:640px; margin-left:auto; margin-right:auto; }
.hero-actions { display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-bottom:56px; }

/* Stats Bar */
.stats-bar { display:flex; gap:56px; justify-content:center; flex-wrap:wrap; }
.stat-item { text-align:center; }
.stat-num { font-size:36px; font-weight:800; color:var(--primary-light); }
.stat-label { font-size:13px; color:var(--text-dim); margin-top:4px; }

/* Sections */
.section { padding:96px 24px; }
.section--alt { background:var(--dark-lighter); }
.section-inner { max-width:1200px; margin:0 auto; }
.section-center { text-align:center; }
.section-tag { display:inline-block; padding:6px 16px; background:rgba(30,64,175,0.08); border:1px solid rgba(59,130,246,0.2); border-radius:100px; font-size:12px; font-weight:600; color:var(--primary-light); letter-spacing:0.06em; text-transform:uppercase; margin-bottom:16px; }
.section-title { font-size:clamp(1.8rem,3.5vw,2.6rem); font-weight:800; margin-bottom:14px; letter-spacing:-0.02em; }
.section-title em { color:var(--primary-light); font-style:normal; }
.section-desc { font-size:17px; color:var(--text-mid); max-width:640px; line-height:1.7; margin-bottom:48px; }
.section-center .section-desc { margin-left:auto; margin-right:auto; }

/* Services Grid */
.services-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.service-card { background:rgba(19,29,51,0.6); border:1px solid var(--border); border-radius:16px; padding:32px; transition:transform 0.3s, border-color 0.3s, box-shadow 0.3s; }
.service-card:hover { transform:translateY(-6px); border-color:var(--primary); box-shadow:0 20px 40px rgba(30,64,175,0.15); }
.service-icon { font-size:32px; margin-bottom:18px; width:56px; height:56px; display:flex; align-items:center; justify-content:center; background:rgba(30,64,175,0.1); border-radius:14px; }
.service-card h3 { font-size:18px; font-weight:700; margin-bottom:10px; }
.service-card p { font-size:14px; color:var(--text-mid); line-height:1.7; }
.service-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; }
.service-tags span { font-size:11px; font-weight:600; padding:4px 10px; background:rgba(30,64,175,0.12); border:1px solid rgba(59,130,246,0.15); border-radius:100px; color:var(--primary-light); }

/* About Section */
.about-layout { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.about-text p { font-size:16px; color:var(--text-mid); line-height:1.8; margin-bottom:18px; }
.founders-row { display:flex; gap:24px; margin-top:28px; }
.founder-card { display:flex; align-items:center; gap:14px; background:rgba(19,29,51,0.6); border:1px solid var(--border); border-radius:14px; padding:18px 22px; flex:1; }
.founder-avatar { width:48px; height:48px; background:linear-gradient(135deg,var(--primary),var(--accent)); border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:16px; flex-shrink:0; }
.founder-info h4 { font-size:15px; font-weight:700; }
.founder-info span { font-size:12px; color:var(--primary-light); font-weight:600; }

/* Values */
.values-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.value-card { background:rgba(19,29,51,0.6); border:1px solid var(--border); border-radius:16px; padding:28px; text-align:center; transition:transform 0.3s, border-color 0.3s; }
.value-card:hover { transform:translateY(-4px); border-color:var(--primary); }
.value-card .icon { font-size:28px; margin-bottom:14px; }
.value-card h4 { font-size:16px; font-weight:700; margin-bottom:8px; }
.value-card p { font-size:13px; color:var(--text-mid); line-height:1.6; }

/* WebCallHub Section */
.wch-section { background:linear-gradient(135deg,rgba(30,64,175,0.12),rgba(59,130,246,0.06)); border:1px solid var(--border); border-radius:24px; padding:64px 48px; text-align:center; max-width:900px; margin:0 auto; }
.wch-section p { font-size:17px; color:var(--text-mid); max-width:600px; margin:18px auto 32px; line-height:1.7; }
.wch-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* Contact */
.contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.contact-card { background:rgba(19,29,51,0.6); border:1px solid var(--border); border-radius:16px; padding:32px; text-align:center; transition:transform 0.3s, border-color 0.3s; }
.contact-card:hover { transform:translateY(-4px); border-color:var(--primary); }
.contact-card .ci-icon { font-size:28px; margin-bottom:16px; width:56px; height:56px; display:flex; align-items:center; justify-content:center; background:rgba(30,64,175,0.1); border-radius:14px; margin:0 auto 18px; }
.contact-card h4 { font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--primary-light); margin-bottom:8px; }
.contact-card p, .contact-card a { font-size:15px; color:var(--text-mid); display:block; line-height:1.7; }
.contact-card a:hover { color:var(--primary-light); }

/* CTA Block */
.cta-block { text-align:center; background:linear-gradient(135deg,rgba(30,64,175,0.12),rgba(59,130,246,0.06)); border:1px solid var(--border); border-radius:24px; padding:72px 48px; }
.cta-block p { font-size:17px; color:var(--text-mid); max-width:600px; margin:18px auto 32px; line-height:1.7; }

/* Footer */
.footer { background:#080d1a; border-top:1px solid var(--border); padding:72px 24px 36px; }
.footer-inner { max-width:1200px; margin:0 auto; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-brand p { font-size:14px; color:var(--text-mid); line-height:1.7; margin-top:14px; }
.footer-col h5 { font-size:12px; font-weight:700; color:var(--text-mid); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:18px; }
.footer-col a { display:block; font-size:14px; color:var(--text-dim); padding:5px 0; transition:color 0.2s; }
.footer-col a:hover { color:var(--primary-light); }
.contact-mini { display:flex; flex-direction:column; gap:8px; margin-top:18px; }
.contact-mini a { font-size:13px; color:var(--text-dim); }
.footer-bottom { border-top:1px solid var(--border); padding-top:28px; display:flex; justify-content:space-between; font-size:13px; color:var(--text-dim); flex-wrap:wrap; gap:8px; }

/* Responsive */
@media (max-width:992px) {
  .services-grid { grid-template-columns:repeat(2,1fr); }
  .values-grid { grid-template-columns:repeat(2,1fr); }
  .about-layout { grid-template-columns:1fr; }
  .founders-row { flex-direction:column; }
}
@media (max-width:768px) {
  .hero { min-height:auto; padding:120px 20px 60px; }
  .stats-bar { gap:24px; }
  .services-grid, .contact-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .values-grid { grid-template-columns:1fr; }
  .nav-links { display:none; }
  .section { padding:72px 20px; }
  .cta-block, .wch-section { padding:48px 24px; }
}
@media (max-width:480px) {
  .hero h1 { font-size:1.8rem; }
  .stats-bar { flex-direction:column; gap:12px; }
  .hero-actions { flex-direction:column; align-items:center; }
  .footer-grid { grid-template-columns:1fr; }
  .nav-right { gap:8px; }
  .btn { padding:8px 16px; font-size:13px; }
  .founders-row { gap:12px; }
  .founder-card { padding:14px; }
}

/* Language indicator */
.lang-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-mid);
}
.lang-active {
  background: var(--primary);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 12px;
}
