/* ═══════════════════════════════════════════════
   RevoKode — style.css  v20250322d
   Purple/Teal accent · Light theme
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #f8f8fc;
  --bg-2:         #ffffff;
  --bg-3:         #f1f1f7;
  --border:       rgba(0,0,0,0.08);
  --border-h:     rgba(0,0,0,0.14);
  --text:         #111128;
  --text-muted:   #6b6b8a;
  --text-soft:    #3a3a58;
  --accent:       #6c63ff;
  --accent-2:     #5549ee;
  --accent-glow:  rgba(108,99,255,0.2);
  --accent-dim:   rgba(108,99,255,0.08);
  --teal:         #0ea5a0;
  --radius:       12px;
  --radius-lg:    20px;
  --nav-h:        68px;
  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;
  --shadow:       0 4px 32px rgba(0,0,0,0.08);
  --shadow-card:  0 2px 16px rgba(0,0,0,0.06);
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.7; overflow-x: hidden; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-3); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
::selection { background: var(--accent); color: #fff; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  padding: 0 clamp(1.5rem,5vw,4rem);
  background: rgba(248,248,252,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
nav.scrolled { background: rgba(248,248,252,0.98); box-shadow: 0 1px 20px rgba(0,0,0,0.07); }

.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; flex-shrink: 0; }

/* Logo image — replaces the RK text mark */
.nav-logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0;
  background: #fff;
  display: grid; place-items: center;
}
.nav-logo-mark img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin-left: auto; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

.nav-cta { margin-left: 2rem; padding: 0.5rem 1.25rem; background: var(--accent); color: #fff !important; border-radius: 8px; font-weight: 600 !important; font-size: 0.875rem !important; transition: background 0.2s, transform 0.15s !important; }
.nav-cta:hover { background: var(--accent-2) !important; transform: translateY(-1px); }

.nav-toggle { display: none; margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text); padding: 4px; }

/* Mobile menu */
.mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 1.5rem; flex-direction: column; gap: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text-muted); text-decoration: none; font-size: 1rem; font-weight: 500; padding: 0.5rem 0; border-bottom: 1px solid var(--border); transition: color 0.2s; }
.mobile-menu a:hover { color: var(--text); }

/* ── BUTTONS ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; padding: 0.85rem 2rem; border-radius: 10px; background: var(--accent); color: #fff; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 8px 24px var(--accent-glow); }

.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 0.85rem 2rem; border-radius: 10px; background: transparent; color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer; border: 1px solid var(--border-h); transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateY(-2px); }

/* ── HERO ── */
#home { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 4rem) clamp(1.5rem,5vw,4rem) 5rem; position: relative; overflow: hidden; background: linear-gradient(160deg, #eeeeff 0%, #f8f8fc 40%, #f0fafa 100%); }

.hero-grid-bg { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(0,0,0,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.05) 1px, transparent 1px); background-size: 60px 60px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%); }
.hero-glow { position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(ellipse, rgba(108,99,255,0.1) 0%, transparent 70%); z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px; background: var(--accent-dim); border: 1px solid rgba(108,99,255,0.3); font-size: 0.8rem; font-weight: 600; color: var(--accent-2); margin-bottom: 2rem; animation: fadeUp 0.6s ease both; }
.hero-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }

.hero-h1 { font-family: var(--font-display); font-size: clamp(2.4rem,6vw,4.2rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--text); margin-bottom: 1.5rem; animation: fadeUp 0.6s 0.1s ease both; }
.hero-h1 span { background: linear-gradient(135deg, var(--accent), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-sub { font-size: clamp(1rem,2vw,1.2rem); color: var(--text-soft); max-width: 600px; margin: 0 auto 2.5rem; font-weight: 400; line-height: 1.75; animation: fadeUp 0.6s 0.2s ease both; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.6s 0.3s ease both; }

.hero-stats { display: flex; justify-content: center; gap: clamp(2rem,5vw,5rem); margin-top: 4rem; flex-wrap: wrap; animation: fadeUp 0.6s 0.4s ease both; }
.stat { text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 2rem; font-weight: 800; background: linear-gradient(135deg, var(--text), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ── SECTIONS ── */
section { padding: clamp(4rem,8vw,7rem) clamp(1.5rem,5vw,4rem); }

.section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 1rem; }
.section-label::before { content: ''; width: 20px; height: 2px; background: var(--accent); border-radius: 1px; }

.section-title { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); margin-bottom: 1rem; }
.section-sub { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; line-height: 1.75; }

.section-header { margin-bottom: clamp(2.5rem,5vw,4rem); }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ── ABOUT ── */
#about { background: var(--bg-2); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; max-width: 1100px; margin: 0 auto; }
.about-body { color: var(--text-soft); line-height: 1.85; }
.about-body p + p { margin-top: 1rem; }

.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.pillar { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; transition: border-color 0.2s; }
.pillar:hover { border-color: var(--border-h); }
.pillar-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-dim); display: grid; place-items: center; margin-bottom: 0.75rem; }
.pillar-icon svg { width: 20px; height: 20px; color: var(--accent-2); }
.pillar h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.3rem; }
.pillar p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

.about-visual { position: relative; }
.about-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; box-shadow: 0 4px 24px rgba(108,99,255,0.08); }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--teal)); }
.about-card-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text); }

.tech-stack { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tech-tag { padding: 4px 12px; border-radius: 100px; background: var(--bg-2); border: 1px solid var(--border); font-size: 0.75rem; font-weight: 600; color: var(--text-muted); transition: border-color 0.2s, color 0.2s; }
.tech-tag:hover { border-color: var(--accent); color: var(--accent-2); }

.about-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.about-num-val { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--text); }
.about-num-val span { color: var(--accent); }
.about-num-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }

/* ── INDUSTRIES ── */
#industries { background: var(--bg); }

.industries-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }

.industry-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s; position: relative; overflow: hidden; }
.industry-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity 0.3s; }
.industry-card:hover { border-color: var(--border-h); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.industry-card:hover::after { opacity: 1; }

.industry-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-dim); display: grid; place-items: center; margin-bottom: 1.25rem; transition: background 0.2s; }
.industry-card:hover .industry-icon { background: rgba(108,99,255,0.15); }
.industry-icon svg { width: 24px; height: 24px; color: var(--accent-2); }
.industry-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; }
.industry-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.industry-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.industry-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; padding: 3px 10px; border-radius: 100px; background: var(--bg-3); color: var(--text-muted); border: 1px solid var(--border); }

/* ── SERVICES ── */
#services { background: var(--bg-2); }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.service-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; display: flex; flex-direction: column; transition: border-color 0.2s, box-shadow 0.2s; }
.service-card:hover { border-color: rgba(108,99,255,0.4); box-shadow: 0 8px 32px rgba(108,99,255,0.1); }
.service-card-header { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; background: linear-gradient(135deg, var(--accent-dim), rgba(14,165,160,0.08)); border: 1px solid var(--border); display: grid; place-items: center; }
.service-icon svg { width: 26px; height: 26px; color: var(--accent-2); }
.service-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.25rem; }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ── PROCESS ── */
#process { background: var(--bg); }

.process-steps { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; max-width: 1100px; margin: 0 auto; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(108,99,255,0.2), var(--accent), rgba(108,99,255,0.2), transparent); z-index: 0; }

.process-step { text-align: center; padding: 0 0.75rem; position: relative; z-index: 1; }
.step-circle { width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; transition: border-color 0.2s, background 0.2s; }
.process-step:hover .step-circle { border-color: var(--accent); background: var(--accent-dim); }
.step-circle svg { width: 22px; height: 22px; color: var(--accent-2); }
.process-step h3 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 0.5rem; }
.process-step p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ── WHY US ── */
#why-us { background: var(--bg-2); }

.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; max-width: 1100px; margin: 0 auto; }
.why-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; transition: border-color 0.2s, transform 0.2s; }
.why-card:hover { border-color: var(--border-h); transform: translateY(-3px); }
.why-icon { width: 44px; height: 44px; border-radius: 11px; background: var(--accent-dim); border: 1px solid rgba(108,99,255,0.2); display: grid; place-items: center; margin-bottom: 1rem; }
.why-icon svg { width: 22px; height: 22px; color: var(--accent-2); }
.why-card h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ── CTA BAND ── */
.cta-band { padding: 4rem clamp(1.5rem,5vw,4rem); background: linear-gradient(135deg, #eeeeff 0%, #f0fafa 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-muted); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT ── */
#contact { background: var(--bg); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(2rem,5vw,5rem); max-width: 1000px; margin: 0 auto; align-items: start; }
.contact-info h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.contact-info > p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1.25rem; }
.contact-detail-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; background: var(--accent-dim); border: 1px solid rgba(108,99,255,0.2); display: grid; place-items: center; }
.contact-detail-icon svg { width: 16px; height: 16px; color: var(--accent-2); }
.contact-detail-label { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.contact-detail-val { font-size: 0.9rem; color: var(--text); font-weight: 500; }

.form-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-soft); margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.form-control { width: 100%; padding: 0.7rem 1rem; background: var(--bg-3); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--font-body); font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s; outline: none; resize: none; }
.form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b6b8a' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-submit { width: 100%; padding: 0.9rem; background: var(--accent); color: #fff; border: none; border-radius: 10px; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s, transform 0.15s, box-shadow 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.form-submit:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }

/* ── FOOTER ── */
footer { background: #111128; border-top: 1px solid rgba(255,255,255,0.07); padding: 3.5rem clamp(1.5rem,5vw,4rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 2.5rem; max-width: 1100px; margin: 0 auto 3rem; }

.footer-brand-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #ffffff; text-decoration: none; margin-bottom: 1rem; }

/* Footer logo image */
.footer-logo-img {
  width: 36px; height: 36px; border-radius: 7px;
  overflow: hidden; flex-shrink: 0;
  background: #fff;
  display: grid; place-items: center;
}
.footer-logo-img img {
  width: 100%; height: 100%;
  object-fit: contain; display: block;
}

.footer-brand p { font-size: 0.85rem; color: #9999bb; line-height: 1.75; max-width: 280px; }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.social-btn { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); display: grid; place-items: center; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.social-btn svg { width: 16px; height: 16px; color: #9999bb; transition: color 0.2s; }
.social-btn:hover { border-color: var(--accent); background: var(--accent-dim); }
.social-btn:hover svg { color: var(--accent-2); }

.footer-col h4 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: #ffffff; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.85rem; color: #9999bb; text-decoration: none; transition: color 0.2s; display: inline-block; }
.footer-col ul li a:hover { color: #ffffff; }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--accent-2); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.83rem; color: #9999bb; line-height: 1.5; }

.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.07); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.8rem; color: #6666aa; }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: 0.8rem; color: #6666aa; text-decoration: none; }
.footer-bottom-links a:hover { color: #ffffff; }

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 2rem; }
  .about-pillars { grid-template-columns: 1fr; }
  .cta-band-actions { flex-direction: column; align-items: center; }
}
