/* ============================================================
   VIKANTIX TECH - Grand Full Logo Colors Theme (Blue, Purple, Orange)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  /* Grand Logo Gradient Colors */
  --primary:    #007AFF; /* Blue */
  --focus:      #8A2BE2; /* Purple */
  --accent:     #FF8C00; /* Orange */
  
  /* The core colorful gradient used everywhere */
  --grad-full:  linear-gradient(135deg, #007AFF 0%, #8A2BE2 50%, #FF8C00 100%);
  --grad-hover: linear-gradient(135deg, #005bb5 0%, #6a1b9a 50%, #cc7000 100%);
  
  /* UI Colors */
  --ink:        #1A1A2E; 
  --ink-soft:   #4C586E;
  --ink-faint:  #8792A3;
  --paper:      #F8FAFC; 
  --surface:    #FFFFFF;
  --line:       #E2E8F0;
  --line-strong:#CBD5E1;
  --good:       #10b981; 
  
  /* Typography & Layout */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --col-max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Grand Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4em;
  letter-spacing: -0.01em;
}

/* Applying Logo Gradient to Headings */
h1, h2 { 
  background: var(--grad-full); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent; 
  color: transparent; /* Fallback */
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 700; color: var(--focus); }
p { margin: 0 0 1em; max-width: 65ch; color: var(--ink-soft); font-size: 1.05rem; }
.mono { font-family: var(--font-mono); }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head .index-mark {
  font-family: var(--font-mono);
  background: var(--grad-full);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ---------- Header & Logo Fix ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  border-image: var(--grad-full) 1; /* Colorful bottom border for header */
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }

/* LOGO FIX: Size adjusted and White Background Removed using mix-blend-mode */
.brand { text-decoration: none; display: flex; align-items: center; }
.brand img {
  height: 65px !important; /* Perfect standard size */
  width: auto !important;
  mix-blend-mode: multiply !important; /* Removes the white background from JPG */
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 1rem; font-weight: 600; padding: 6px 0; transition: color 0.3s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--focus); }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

.nav-toggle { display: none; background: none; border: 2px solid var(--focus); border-radius: 8px; width: 45px; height: 45px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ''; display: block; width: 22px; height: 2px; background: var(--grad-full); position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 80px 0 auto 0; background: var(--surface); flex-direction: column; padding: 10px var(--gutter) 30px; border-bottom: 3px solid; border-image: var(--grad-full) 1; display: none; gap: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Colorful Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 30px; font-size: 1rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; font-family: var(--font-body);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary, .btn-accent { 
  background: var(--grad-full); 
  color: #fff !important; 
  box-shadow: 0 10px 20px rgba(138, 43, 226, 0.3);
}
.btn-primary:hover, .btn-accent:hover { 
  background: var(--grad-hover); 
  transform: translateY(-2px); 
  box-shadow: 0 15px 25px rgba(138, 43, 226, 0.4); 
}

.btn-outline { 
  background: var(--surface); 
  color: var(--focus) !important; 
  border: 2px solid var(--focus); 
}
.btn-outline:hover { 
  background: var(--grad-full); 
  color: #fff !important; 
  border-color: transparent; 
}
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Hero Section ---------- */
.hero { padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero-kicker { font-family: var(--font-mono); font-size: 0.9rem; color: var(--accent); margin-bottom: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.hero-words { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.hero-words span { font-family: var(--font-mono); font-size: 0.85rem; font-weight: 600; padding: 6px 16px; border-radius: 20px; color: #fff; background: var(--grad-full); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* Dashboard Mock Panel - Colorful */
.dash { background: var(--surface); border: 2px solid transparent; background-clip: padding-box; position: relative; border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.dash::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: var(--grad-full); z-index: -1; border-radius: 18px; }
.dash-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.85rem; color: var(--focus); font-weight: 600; background: #f8fafc; border-radius: 14px 14px 0 0; }
.dash-dots { display: flex; gap: 8px; }
.dash-dots i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.dash-dots i:nth-child(1) { background: #FF5F56; }
.dash-dots i:nth-child(2) { background: #FFBD2E; }
.dash-dots i:nth-child(3) { background: #27C93F; }

.dash-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px dashed var(--line); gap: 16px; }
.dash-row:last-child { border-bottom: none; }
.dash-label { color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.dash-value { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.dash-value.up { color: var(--good); }

.dash-bar { flex: 1; height: 8px; background: var(--line); border-radius: 4px; margin: 0 16px; position: relative; overflow: hidden; }
.dash-bar i { position: absolute; inset: 0; background: var(--grad-full); border-radius: 4px; }

/* ---------- Cards & Grids (Colorful Borders) ---------- */
.grid { display: grid; gap: 28px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.cell { background: var(--surface); padding: 36px 30px; border-radius: var(--radius); border: 2px solid var(--line); transition: all 0.3s; position: relative; overflow: hidden; }
.cell:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); border-color: transparent; }
.cell:hover::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--grad-full); }
.cell h3 { margin-bottom: 14px; }
.cell p { margin-bottom: 0; font-size: 0.98rem; }

.solution-item { background: var(--surface); padding: 30px; border-radius: var(--radius); border: 2px solid var(--line); border-left: 6px solid; border-image: var(--grad-full) 1; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.solution-item h3 { margin-bottom: 10px; }

.industry-card { background: var(--surface); padding: 36px 30px; border-radius: var(--radius); border: 2px solid var(--line); border-top: 6px solid; border-image: var(--grad-full) 1; display: flex; flex-direction: column; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.industry-card h3 { margin-bottom: 16px; }
.industry-card ul { list-style: none; margin: 0 0 28px; padding: 0; font-size: 0.95rem; color: var(--ink-soft); font-weight: 500; }
.industry-card li { padding: 8px 0; border-top: 1px dashed var(--line); }
.industry-card li:first-child { border-top: none; }
.card-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: auto; }
.card-actions a { font-size: 0.9rem; font-weight: 700; text-decoration: none; color: var(--primary); text-transform: uppercase; padding: 4px 8px; border-radius: 6px; transition: all 0.2s; background: rgba(0, 122, 255, 0.05); }
.card-actions a:hover { background: var(--grad-full); color: #fff; }
.card-actions a.primary { background: var(--accent); color: #fff; }

.demo-card { background: var(--surface); padding: 36px; border-radius: var(--radius); border: 2px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.demo-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; background: var(--grad-full); }
.demo-card .index-mark { font-family: var(--font-mono); font-size: 0.85rem; color: var(--primary); margin-bottom: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.demo-card ul { list-style: none; margin: 20px 0 32px; padding: 0; color: var(--ink-soft); font-size: 1rem; font-weight: 500; }
.demo-card li { padding: 10px 0; border-top: 1px solid var(--line); }
.demo-card li:first-child { border-top: none; }
.demo-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Grand CTA band ---------- */
.cta-band { background: var(--grad-full); color: #fff; border-radius: 24px; margin: 60px var(--gutter); padding: 70px 30px; box-shadow: 0 20px 50px rgba(138, 43, 226, 0.3); }
.cta-band h2 { color: #fff; -webkit-text-fill-color: #fff; background: none; }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }
.cta-band .btn-accent { background: #fff; color: var(--focus) !important; box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.cta-band .btn-accent:hover { background: var(--ink); color: #fff !important; }
.cta-band .btn-outline { color: #fff !important; border: 2px solid rgba(255,255,255,0.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.2); border-color: #fff; }

/* ---------- AI page ---------- */
.ai-console { background: var(--surface); border: 2px solid var(--primary); border-radius: 16px; max-width: 760px; margin: 0 auto; box-shadow: 0 20px 40px rgba(0, 122, 255, 0.15); }
.ai-console-head { padding: 20px 28px; border-bottom: 2px solid var(--primary); font-family: var(--font-mono); font-size: 0.95rem; font-weight: 700; color: #fff; background: var(--grad-full); border-radius: 14px 14px 0 0; text-transform: uppercase; letter-spacing: 1px; }
.ai-console-body { padding: 40px; }
.ai-choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.ai-choice { padding: 16px 10px; text-align: center; border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--ink); transition: all 0.3s; }
.ai-choice:hover { border-color: var(--focus); box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1); }
.ai-choice.active { background: var(--grad-full); border-color: transparent; color: #fff; transform: scale(1.05); }
.ai-result { margin-top: 40px; padding-top: 32px; border-top: 2px dashed var(--line-strong); display: none; }
.ai-result.show { display: block; animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.ai-result ul { list-style: none; padding: 0; margin: 20px 0 32px; }
.ai-result li { padding: 10px 0; font-size: 1.05rem; color: var(--ink); font-weight: 600; display: flex; align-items: center; }
.ai-result li::before { content: '✓'; color: #fff; background: var(--good); width: 24px; height: 24px; display: inline-flex; justify-content: center; align-items: center; border-radius: 50%; margin-right: 12px; font-size: 0.9rem; }

/* ---------- contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 800px; margin: 0 auto; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
input, select, textarea { width: 100%; padding: 16px 20px; border: 2px solid var(--line); border-radius: var(--radius); background: #f8fafc; font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink); transition: all 0.3s; }
textarea { resize: vertical; min-height: 140px; }
input:focus, select:focus, textarea:focus { border-color: var(--focus); background: #fff; box-shadow: 0 0 0 4px rgba(138, 43, 226, 0.15); outline: none; }
.form-note { font-size: 0.9rem; font-weight: 500; color: var(--ink-faint); margin-top: 28px; text-align: center; }

/* ---------- footer ---------- */
footer { border-top: 4px solid; border-image: var(--grad-full) 1; padding: 80px 0 40px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 1rem; color: var(--focus); margin: 0 0 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 14px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: 1rem; font-weight: 500; transition: color 0.2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { margin-top: 60px; padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 500; color: var(--ink-faint); flex-wrap: wrap; gap: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ai-choice-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { margin: 40px 0; border-radius: 16px; padding: 50px 20px; }
}
@media (max-width: 560px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}