
 /*    index page  */
/*=============================================================
    CSS INDEX
    =============================
    01. GENERAL STYLE (body, link color, SECTION TITLE, PRELOADER, BTN, SECTION PADDING etc)
 
  =============================================================*/
/*
* ----------------------------------------------------------------------------------------
* 01.GENERAL STYLE
* ----------------------------------------------------------------------------------------
*/

:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #eef0f6;
  --text: #17171c;
  --muted: #696b76;
  --border: #dedfe6;
  --accent: #0060df;
  --accent-2: #7c3aed;
  --shadow: 0 14px 40px rgba(25, 28, 45, .08);
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 80% 5%, rgba(124,58,237,.09), transparent 28rem),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid var(--border);
  background: rgba(246,247,251,.86);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 11px; background: var(--text); color: white;
}

.topnav { display: flex; gap: 28px; margin-left: 55px; }
.topnav a { color: var(--muted); font-size: .9rem; }
.topnav a:hover { color: var(--text); }

.top-actions { margin-left: auto; display: flex; gap: 8px; }
.icon-btn, .menu-btn {
  border: 1px solid var(--border); background: var(--surface); width: 40px; height: 40px;
  border-radius: 12px; cursor: pointer;
}
.menu-btn { display: none; }

.quick-menu {
  position: absolute; right: 5vw; top: 64px; width: 210px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; display: none;
}
.quick-menu.open { display: block; }
.quick-menu a { display:block; padding: 10px 12px; border-radius: 9px; font-size: .9rem; }
.quick-menu a:hover { background: var(--surface-2); }

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 105px 24px 70px;
  text-align: center;
}

.eyebrow {
  font-size: .72rem; letter-spacing: .16em; font-weight: 700; color: var(--accent);
  margin-bottom: 10px;
}

.hero h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { opacity: .48; }
.hero-text { max-width: 650px; margin: 24px auto 34px; color: var(--muted); }

.search-box {
  max-width: 760px; margin: auto; display: flex; align-items: center;
  padding: 7px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow);
}
.search-icon { font-size: 28px; margin: 0 10px; color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; font-size: 1rem; color: var(--text); }
.search-box button, .primary-btn {
  border: 0; background: var(--text); color: white; padding: 13px 20px;
  border-radius: 12px; cursor: pointer;
}
.search-engines { display: flex; justify-content:center; gap: 8px; margin-top: 13px; }
.search-engines button {
  border: 0; background: transparent; color: var(--muted); font-size: .78rem; cursor:pointer;
}
.search-engines button.active, .search-engines button:hover { color: var(--accent); }

.content-section { max-width: 1120px; margin: 0 auto; padding: 45px 24px; }

.section-heading { display:flex; justify-content:space-between; align-items:end; margin-bottom: 22px; }
.section-heading h2 { font-size: 1.8rem; letter-spacing: -.04em; }

.outline-btn {
  border: 1px solid var(--border); background: var(--surface); border-radius: 10px;
  padding: 9px 13px; cursor:pointer;
}
.outline-btn:hover { border-color: var(--text); }

.shortcut-grid {
  display:grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.shortcut-card {
  min-height: 132px; padding: 17px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  display:flex; flex-direction:column; transition:.2s ease;
}
.shortcut-card:hover { transform: translateY(-4px); border-color: #bfc2cc; box-shadow: var(--shadow); }
.site-icon {
  width: 38px; height:38px; border-radius:11px; display:grid; place-items:center;
  background:#e7efff; color:#315fc5; font-size:.72rem; font-weight:700; margin-bottom:17px;
}
.site-icon.dark { background:#202126; color:#fff; }
.site-icon.orange { background:#fff0dd; color:#db7000; }
.site-icon.red { background:#ffe8e8; color:#e01818; }
.site-icon.purple { background:#eee6ff; color:#7135c6; }
.site-icon.green { background:#e2f6e8; color:#18833a; font-size:1.3rem; }
.shortcut-card strong { font-size:.82rem; }
.shortcut-card small { color:var(--muted); font-size:.68rem; margin-top:2px; overflow:hidden; text-overflow:ellipsis; }

.feature-banner {
  max-width: 1072px; margin: 45px auto; border:1px solid var(--border);
  border-radius: 28px; background: var(--surface); overflow:hidden;
  display:grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow);
}
.feature-visual {
  min-height:340px; position:relative; overflow:hidden;
  background: linear-gradient(135deg,#14151b,#343546);
}
.orb { position:absolute; border-radius:50%; filter:blur(2px); opacity:.8; }
.orb-a { width:230px;height:230px; background:#6c35d8; left:-50px;top:-50px; }
.orb-b { width:190px;height:190px; background:#0e7ce8; right:-30px;bottom:-50px; }
.code-window {
  position:absolute; width:68%; left:16%; top:22%; padding:20px;
  border:1px solid rgba(255,255,255,.15); border-radius:16px;
  background:rgba(20,21,27,.82); backdrop-filter:blur(15px);
  box-shadow:0 25px 50px rgba(0,0,0,.3);
}
.window-dots { display:flex; gap:5px; margin-bottom:22px; }
.window-dots i { width:7px;height:7px;border-radius:50%;background:#aaa; }
.code-line { height:8px; border-radius:20px; background:rgba(255,255,255,.25); margin:12px 0; }
.w1{width:70%}.w2{width:88%}.w3{width:54%}.w4{width:78%}.w5{width:40%}
.feature-copy { padding: 55px; display:flex; flex-direction:column; justify-content:center; }
.feature-copy h2 { font-size:clamp(2rem,4vw,3rem); line-height:1.05; letter-spacing:-.05em; margin-bottom:18px; }
.feature-copy p:not(.eyebrow) { color:var(--muted); margin-bottom:25px; }
.primary-btn { display:inline-block; width:max-content; }

.resource-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.resource-card {
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; min-height:210px;
}
.resource-number { color:var(--accent); font-size:.75rem; font-weight:700; }
.resource-card h3 { margin:25px 0 8px; }
.resource-card p { color:var(--muted); font-size:.9rem; margin-bottom:20px; }
.resource-card a { color:var(--accent); font-size:.82rem; font-weight:600; }

footer {
  max-width:1120px; margin:auto; padding:35px 24px 45px; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; color:var(--muted); font-size:.72rem;
}

.dark-mode {
  --bg:#101116; --surface:#191a20; --surface-2:#24252d; --text:#f3f3f6;
  --muted:#a4a5b0; --border:#30313a; --shadow:0 18px 45px rgba(0,0,0,.25);
}
.dark-mode .topbar { background:rgba(16,17,22,.86); }
.dark-mode .shortcut-card:hover { border-color:#555762; }

@media (max-width: 900px) {
  .shortcut-grid { grid-template-columns:repeat(3,1fr); }
  .feature-banner { grid-template-columns:1fr; }
  .feature-visual { min-height:280px; }
}

@media (max-width: 650px) {
  .topbar { padding:0 20px; }
  .topnav { display:none; }
  .menu-btn { display:block; }
  .hero { padding-top:70px; }
  .shortcut-grid { grid-template-columns:repeat(2,1fr); }
  .section-heading { align-items:start; gap:15px; flex-direction:column; }
  .feature-copy { padding:35px 25px; }
  .resource-grid { grid-template-columns:1fr; }
  footer { flex-direction:column; gap:8px; }
  .search-box button { padding:12px 13px; }
}
