@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #111128;
  --bg-card: rgba(255,255,255,0.04);
  --bg-glass: rgba(255,255,255,0.06);
  --text-primary: #f0f0ff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-glow: rgba(99,102,241,0.3);
  --green: #10b981;
  --green-glow: rgba(16,185,129,0.3);
  --cyan: #06b6d4;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --border: rgba(255,255,255,0.08);
  --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-2: linear-gradient(135deg, #06b6d4, #10b981);
  --gradient-3: linear-gradient(135deg, #f59e0b, #f43f5e);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 32px rgba(0,0,0,0.3);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Background Noise */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(168,85,247,0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(10,10,26,0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.navbar.scrolled { padding: 10px 0; background: rgba(10,10,26,0.95); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 800; background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gradient-1); transition: width 0.3s; border-radius: 2px; }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-glass); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 50px; font-size: 0.85rem;
  color: var(--accent-light); margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 { font-family: 'Outfit', sans-serif; font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .gradient-text { background: var(--gradient-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 520px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600;
  font-size: 0.95rem; text-decoration: none; transition: all 0.3s;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--gradient-1); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--accent-glow); }
.btn-outline { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--bg-glass); border-color: var(--accent); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  width: 100%; max-width: 440px;
  background: var(--bg-glass); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
  backdrop-filter: blur(20px);
  position: relative;
}
.hero-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: 25px; padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), transparent, rgba(6,182,212,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.profile-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--gradient-1); margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit'; font-size: 2.5rem; font-weight: 800; color: #fff;
  box-shadow: 0 0 40px var(--accent-glow);
}
.hero-card h3 { text-align: center; font-size: 1.4rem; margin-bottom: 4px; }
.hero-card .role { text-align: center; color: var(--accent-light); font-size: 0.95rem; margin-bottom: 24px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat-item { text-align: center; padding: 12px; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.stat-item .num { font-family: 'Outfit'; font-size: 1.5rem; font-weight: 700; background: var(--gradient-2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item .label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }

/* Floating Orbs */
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 300px; height: 300px; background: var(--accent); top: -100px; right: -100px; }
.orb-2 { width: 200px; height: 200px; background: var(--cyan); bottom: -80px; left: -80px; animation-delay: 3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-light); margin-bottom: 16px;
}
.section-label .line { width: 24px; height: 2px; background: var(--accent); }
.section-title { font-family: 'Outfit'; font-size: 2.5rem; font-weight: 700; margin-bottom: 16px; }
.section-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content p { color: var(--text-secondary); margin-bottom: 24px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.info-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.info-item .icon { width: 36px; height: 36px; border-radius: 8px; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-item .icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.info-item .details .lbl { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.info-item .details .val { font-size: 0.9rem; font-weight: 600; }

/* ===== SKILLS ===== */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.skill-card {
  padding: 28px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.4s; position: relative; overflow: hidden;
}
.skill-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(99,102,241,0.15); }
.skill-card .skill-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.5rem; }
.skill-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.skill-card p { font-size: 0.85rem; color: var(--text-secondary); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.skill-tag { padding: 4px 10px; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.2); border-radius: 6px; font-size: 0.75rem; color: var(--accent-light); }

/* ===== EXPERIENCE ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--accent), var(--cyan), transparent); }
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot { position: absolute; left: -33px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--bg-primary); box-shadow: 0 0 20px var(--accent-glow); }
.timeline-content { padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: all 0.3s; }
.timeline-content:hover { border-color: var(--accent); }
.timeline-date { font-size: 0.8rem; color: var(--accent-light); font-weight: 600; margin-bottom: 8px; }
.timeline-content h3 { font-size: 1.15rem; margin-bottom: 4px; }
.timeline-content .company { color: var(--green); font-size: 0.9rem; font-weight: 600; margin-bottom: 12px; }
.timeline-content ul { list-style: none; }
.timeline-content li { position: relative; padding-left: 16px; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 6px; }
.timeline-content li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }

/* ===== PROJECTS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); gap: 32px; }
.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all 0.4s;
}
.project-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 60px rgba(99,102,241,0.15); }
.project-preview {
  height: 240px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--bg-secondary), #1a1a3e);
}
.project-preview .mockup { position: absolute; inset: 16px; border-radius: 8px; overflow: hidden; }
.project-info { padding: 28px; }
.project-info .tag { display: inline-block; padding: 4px 12px; background: rgba(99,102,241,0.15); color: var(--accent-light); border-radius: 6px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.project-info h3 { font-size: 1.3rem; margin-bottom: 10px; }
.project-info p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 16px; }
.project-tech { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tech-badge { padding: 4px 10px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: 6px; font-size: 0.75rem; color: var(--text-secondary); }
.project-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.project-features li { font-size: 0.82rem; color: var(--text-secondary); padding-left: 18px; position: relative; }
.project-features li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== EDUCATION ===== */
.edu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.edu-card {
  padding: 28px; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: all 0.3s;
}
.edu-card:hover { border-color: var(--accent); }
.edu-card .year { font-size: 0.8rem; color: var(--accent-light); font-weight: 600; margin-bottom: 8px; }
.edu-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.edu-card .institution { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 8px; }
.edu-card .gpa { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); border-radius: 6px; font-size: 0.8rem; color: var(--green); font-weight: 600; }

/* ===== CONTACT ===== */
.contact-card {
  max-width: 700px; margin: 0 auto;
  padding: 48px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 24px;
  text-align: center; position: relative;
}
.contact-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 25px; padding: 1px;
  background: linear-gradient(135deg, rgba(99,102,241,0.3), transparent, rgba(16,185,129,0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.contact-card h3 { font-family: 'Outfit'; font-size: 1.8rem; margin-bottom: 8px; }
.contact-card > p { color: var(--text-secondary); margin-bottom: 32px; }
.contact-items { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.contact-item {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 24px; background: var(--bg-glass);
  border: 1px solid var(--border); border-radius: 12px;
  text-decoration: none; color: var(--text-primary);
  transition: all 0.3s; font-size: 0.9rem;
}
.contact-item:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-item .ci-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .ci-icon svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }

/* ===== FOOTER ===== */
.footer { padding: 40px 0; border-top: 1px solid var(--border); text-align: center; }
.footer p { color: var(--text-muted); font-size: 0.85rem; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== CRM MOCKUP ===== */
.crm-mockup {
  background: #f6f8fc; border-radius: 8px; padding: 12px; height: 100%;
  display: flex; flex-direction: column; font-family: 'Inter', sans-serif;
}
.crm-header { display: flex; gap: 8px; margin-bottom: 10px; }
.crm-dot { width: 8px; height: 8px; border-radius: 50%; }
.crm-sidebar { position: absolute; left: 0; top: 0; bottom: 0; width: 40px; background: #1e293b; border-radius: 8px 0 0 8px; }
.crm-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin-bottom: 10px; }
.crm-card-mini { height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.5rem; font-weight: 700; }
.crm-chart-area { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.crm-chart-box { background: #fff; border-radius: 6px; padding: 6px; border: 1px solid #e6edf5; overflow: hidden; }
.crm-bars { display: flex; gap: 3px; align-items: flex-end; height: 60px; padding-top: 10px; }
.crm-bar { flex: 1; border-radius: 3px 3px 0 0; }

/* ===== WEBSITE MOCKUP ===== */
.web-mockup {
  background: #fff; border-radius: 8px; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
}
.web-hero-mock { background: linear-gradient(135deg, #14532d, #166534); padding: 20px; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.web-hero-mock h4 { color: #fff; font-size: 0.8rem; margin-bottom: 6px; }
.web-hero-mock p { color: rgba(255,255,255,0.7); font-size: 0.5rem; margin-bottom: 8px; }
.web-hero-mock .web-btn { padding: 4px 12px; background: #fff; color: #14532d; border-radius: 4px; font-size: 0.5rem; font-weight: 600; }
.web-stats-mock { display: flex; gap: 6px; padding: 8px; background: #f9fafb; }
.web-stat { flex: 1; text-align: center; padding: 6px; background: #fff; border-radius: 4px; border: 1px solid #e5e7eb; }
.web-stat .num { font-size: 0.65rem; font-weight: 800; color: #14532d; }
.web-stat .lbl { font-size: 0.4rem; color: #6b7280; }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.5rem; }
  .hero-visual { order: -1; }
  .projects-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(10,10,26,0.98); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .section-title { font-size: 2rem; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: 1fr; }
  .project-features { grid-template-columns: 1fr; }
  .contact-items { flex-direction: column; }
  .container { padding: 0 16px; }
}
