/* =============================================
   Skorosys.ai — Shared Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;600;700;800&display=swap');

:root {
  --bg-primary:    #0b2a3b;
  --bg-secondary:  #0f3347;
  --bg-card:       #132e40;
  --bg-card-hover: #1a3d54;
  --accent-cyan:   #3ecfcb;
  --accent-green:  #4caf72;
  --accent-glow:   rgba(62,207,203,0.18);
  --text-primary:  #ffffff;
  --text-secondary:#8db4c8;
  --text-muted:    #5a7d92;
  --border:        rgba(62,207,203,0.15);
  --border-card:   rgba(255,255,255,0.07);
  --shadow-card:   0 8px 32px rgba(0,0,0,0.35);
  --radius-card:   16px;
  --radius-btn:    8px;
  --nav-height:    72px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Typography --- */
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; }
p  { color: var(--text-secondary); font-size: 1rem; }

/* --- Layout helpers --- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section--sm{ padding: 64px 0; }
.text-center{ text-align: center; }
.text-accent{ color: var(--accent-cyan); }
.text-green { color: var(--accent-green); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(62,207,203,0.1);
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.section-title { margin-bottom: 12px; }
.section-subtitle { max-width: 640px; margin: 0 auto 56px; font-size: 1.05rem; }

/* --- Gradient text --- */
.grad {
  background: linear-gradient(135deg, #3ecfcb 0%, #ffffff 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--accent-cyan);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: #56dbd7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62,207,203,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--accent-green);
  color: #fff;
}
.btn-green:hover {
  background: #5dc98a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76,175,114,0.35);
}

/* --- Cards --- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(62,207,203,0.1);
}

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  background: rgba(11,42,59,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-card);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.nav-logo-text span { color: var(--accent-cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(11,42,59,0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-card);
  }
  .nav-cta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(var(--nav-height) + 200px);
    left: 0; right: 0;
    background: rgba(11,42,59,0.98);
    padding: 0 24px 24px;
    gap: 12px;
  }
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(62,207,203,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(76,175,114,0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, #091f2d 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62,207,203,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,207,203,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(62,207,203,0.1);
  border: 1px solid rgba(62,207,203,0.25);
  border-radius: 99px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero-title { margin-bottom: 20px; }
.hero-desc  { font-size: 1.1rem; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.hero-stat {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 16px 20px;
}
.hero-stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
}
.hero-stat-label { font-size: 0.78rem; color: var(--text-secondary); margin-top: 2px; }

/* Hero visual / dashboard mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dashboard-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(62,207,203,0.1);
  width: 100%;
  max-width: 520px;
  animation: floatUp 6s ease-in-out infinite;
}
@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.mockup-bar {
  background: var(--bg-secondary);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-card);
}
.mockup-bar .dot-red   { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mockup-bar .dot-yellow{ width: 10px; height: 10px; border-radius: 50%; background: #febc2e; }
.mockup-bar .dot-green { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-green); }
.mockup-bar .url-bar {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 8px;
}
.mockup-body { padding: 20px; }
.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mockup-title { font-family:'Poppins',sans-serif; font-size:0.85rem; font-weight:700; }
.mockup-btn {
  background: var(--accent-green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
}
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.mockup-asset {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 10px;
  border: 1px solid var(--border-card);
}
.mockup-asset-img {
  width: 100%;
  height: 48px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.mockup-asset-name { font-size: 0.65rem; font-weight: 600; margin-bottom: 4px; }
.mockup-asset-status {
  font-size: 0.58rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}
.status-normal  { background: rgba(76,175,114,0.2); color: var(--accent-green); }
.status-warning { background: rgba(255,193,7,0.2);  color: #ffc107; }
.status-danger  { background: rgba(244,67,54,0.2);  color: #f44336; }

/* Floating sensor card */
.sensor-float {
  position: absolute;
  bottom: -20px;
  right: -30px;
  background: var(--bg-card);
  border: 1px solid rgba(62,207,203,0.3);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: var(--shadow-card);
  min-width: 180px;
  animation: floatRight 5s ease-in-out infinite 1.5s;
}
@keyframes floatRight {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(0deg); }
}
.sensor-float-title { font-size: 0.7rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.sensor-float-val   { font-family:'Poppins',sans-serif; font-size: 1.5rem; font-weight: 800; color: var(--accent-cyan); }
.sensor-float-unit  { font-size: 0.7rem; color: var(--text-secondary); }
.sensor-float-bar   { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.sensor-float-fill  { height: 100%; width: 72%; background: var(--accent-cyan); border-radius: 2px; }

@media (max-width: 768px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual  { display: none; }
  .hero-stats   { grid-template-columns: 1fr 1fr; }
}

/* =============================================
   PROBLEM STATS SECTION
   ============================================= */
.problem-section { background: linear-gradient(180deg, #091f2d 0%, var(--bg-primary) 100%); }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.problem-card {
  text-align: center;
  padding: 36px 24px;
}
.problem-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  background: rgba(62,207,203,0.1);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.problem-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}
.problem-desc { font-size: 0.88rem; }

@media (max-width: 900px) { .problem-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .problem-grid { grid-template-columns: 1fr; } }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section { position: relative; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(50% / 3 + 36px);
  right: calc(50% / 3 + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green));
  z-index: 0;
}
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg-primary);
  box-shadow: 0 0 32px rgba(62,207,203,0.3);
}
.how-step h3 { margin-bottom: 10px; }

@media (max-width: 700px) {
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
  .how-steps::before { display: none; }
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.product-card {
  position: relative;
  overflow: hidden;
  padding: 40px;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  background: linear-gradient(135deg, rgba(62,207,203,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(62,207,203,0.1);
  border: 1px solid rgba(62,207,203,0.25);
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.product-desc { margin-bottom: 28px; }
.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.product-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.product-feature .check {
  width: 20px; height: 20px;
  background: rgba(76,175,114,0.15);
  border: 1px solid rgba(76,175,114,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--accent-green);
  flex-shrink: 0;
}
.product-visual {
  margin-top: 24px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  text-align: center;
  font-size: 3rem;
}

@media (max-width: 768px) { .products-grid { grid-template-columns: 1fr; } }

/* =============================================
   MARKET / STATS STRIP
   ============================================= */
.market-strip {
  background: linear-gradient(90deg, rgba(62,207,203,0.08), rgba(76,175,114,0.08));
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  padding: 40px 0;
}
.market-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.market-item-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
}
.market-item-label { font-size: 0.82rem; color: var(--text-secondary); margin-top: 4px; }
@media (max-width: 700px) { .market-strip-inner { grid-template-columns: 1fr 1fr; } }

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(62,207,203,0.08), transparent 70%);
}
.cta-section .container { position: relative; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { max-width: 520px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions    { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #071929;
  border-top: 1px solid var(--border-card);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.88rem; margin-top: 12px; max-width: 260px; }
.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent-cyan); }
.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; gap: 8px; text-align: center; } }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 0%, rgba(62,207,203,0.1), transparent 60%),
    linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.page-hero .container { position: relative; }
.page-hero p { max-width: 600px; margin: 16px auto 0; font-size: 1.1rem; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.team-card {
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid var(--accent-cyan);
  object-fit: cover;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.team-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.team-expertise { font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 20px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(62,207,203,0.1);
  border: 1px solid rgba(62,207,203,0.2);
  color: var(--accent-cyan);
}
@media (max-width: 700px) { .team-grid { grid-template-columns: 1fr; } }

/* =============================================
   VALUES / MISSION
   ============================================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value-card { padding: 28px; text-align: center; }
.value-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p  { font-size: 0.85rem; }
@media (max-width: 700px) { .values-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* =============================================
   PROFILE / CV PAGE
   ============================================= */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.profile-sidebar { position: sticky; top: 96px; }
.profile-photo {
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 4px solid var(--accent-cyan);
  margin: 0 auto 24px;
  display: block;
  object-fit: cover;
  background: var(--bg-secondary);
}
.profile-sidebar .name { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 4px; }
.profile-sidebar .title { text-align: center; color: var(--accent-cyan); font-size: 0.88rem; font-weight: 600; margin-bottom: 24px; }
.profile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-card);
  transition: color 0.2s;
}
.profile-contact a:hover { color: var(--accent-cyan); }
.profile-contact a:last-child { border-bottom: none; }
.profile-contact .icon { width: 18px; text-align: center; }

.cv-section { margin-bottom: 48px; }
.cv-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.cv-item { margin-bottom: 28px; padding-left: 20px; border-left: 2px solid var(--border-card); }
.cv-item:last-child { margin-bottom: 0; }
.cv-item-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 4px; }
.cv-item-title { font-weight: 700; font-size: 1rem; }
.cv-item-period {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  background: rgba(62,207,203,0.1);
  border-radius: 6px;
  padding: 3px 10px;
  white-space: nowrap;
  margin-left: 12px;
}
.cv-item-org { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 8px; font-weight: 600; }
.cv-item p   { font-size: 0.88rem; }

.pub-item {
  padding: 20px 24px;
  margin-bottom: 16px;
  border-left: 3px solid var(--accent-cyan);
}
.pub-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; }
.pub-meta  { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 8px; }
.pub-tags  { display: flex; gap: 8px; flex-wrap: wrap; }

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.skill-item { margin-bottom: 4px; }
.skill-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; display: flex; justify-content: space-between; }
.skill-bar   { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.skill-fill  { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent-cyan), var(--accent-green)); transition: width 1.2s ease; }

@media (max-width: 900px) {
  .profile-layout { grid-template-columns: 1fr; }
  .profile-sidebar { position: static; }
  .profile-photo   { width: 140px; height: 140px; }
  .skills-grid     { grid-template-columns: 1fr; }
}

/* =============================================
   PRODUCTS DETAIL PAGE
   ============================================= */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-card);
}
.product-detail.reverse { direction: rtl; }
.product-detail.reverse > * { direction: ltr; }
.product-detail-visual {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.product-detail-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(62,207,203,0.08), transparent 70%);
}
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}
.spec-item {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid var(--border-card);
}
.spec-label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.spec-val   { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }

@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; direction: ltr; }
  .product-detail.reverse { direction: ltr; }
}

/* =============================================
   ANIMATIONS & REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-muted); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-cyan); }
