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

:root {
  --bg-color: #080710;
  --bg-gradient-1: #0e0b24;
  --bg-gradient-2: #05040a;
  
  --primary-glow: #d600ff;
  --secondary-glow: #00bfff;
  --accent-glow: #00ff88;
  
  --text-primary: #ffffff;
  --text-secondary: #b3b2c9;
  --text-muted: #69687b;
  
  --glass-bg: rgba(18, 16, 32, 0.5);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-shadow: rgba(0, 0, 0, 0.4);
  
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  background-image: radial-gradient(circle at 20% 30%, var(--bg-gradient-1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, var(--bg-gradient-2) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Glowing Orbs */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-glow);
  top: 10%;
  left: -100px;
  animation-duration: 25s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary-glow);
  bottom: 10%;
  right: -150px;
  animation-duration: 30s;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-glow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  animation-duration: 20s;
  animation-delay: -10s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.1); }
  100% { transform: translate(-30px, -40px) scale(0.9); }
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(8, 7, 16, 0.7);
  border-bottom: 1px solid var(--glass-border);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
}

.logo-text {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(to right, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 0;
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-glow), var(--secondary-glow));
  transition: width 0.3s ease;
}

nav a:hover::after, nav a.active::after {
  width: 100%;
}

/* General Layout & Sections */
section {
  padding: 120px 8% 80px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Hero Section */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(214, 0, 255, 0.1);
  border: 1px solid rgba(214, 0, 255, 0.2);
  color: var(--primary-glow);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary-glow);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-glow);
}

.hero-text h1 {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span.highlight {
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 40px rgba(214, 0, 255, 0.1);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.cta-group {
  display: flex;
  gap: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(214, 0, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(214, 0, 255, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: var(--glass-border-hover);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.glowing-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
  filter: blur(60px);
  opacity: 0.25;
  animation: rotate 15s infinite linear;
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px var(--glass-shadow);
  backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
}

/* Interactive SVG Dashboard Mockup */
.mockup-svg {
  width: 100%;
  max-width: 440px;
  height: auto;
  border-radius: 20px;
}

.pulsing-wave {
  animation: pulse-wave 2s infinite ease-in-out;
}

@keyframes pulse-wave {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* About Section */
.section-title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section-title span.glow {
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 3.5fr 6.5fr;
  gap: 40px;
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-avatar-container {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  padding: 3px;
  box-shadow: 0 8px 30px rgba(214, 0, 255, 0.25);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar svg {
  width: 80px;
  height: 80px;
  fill: var(--text-secondary);
}

.profile-name {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 6px;
}

.profile-handle {
  color: var(--secondary-glow);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.tech-badge {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
}

.about-main h2 {
  font-family: var(--font-title);
  font-size: 28px;
  margin-bottom: 16px;
}

.about-main p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.skill-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.skill-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 191, 255, 0.1);
  color: var(--secondary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.skill-card h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.skill-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* KARA Showcase Section */
.app-showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.app-details h2 {
  font-family: var(--font-title);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}

.app-tagline {
  color: var(--accent-glow);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.app-feature-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon-wrapper {
  background: rgba(0, 255, 136, 0.1);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
}

.app-feature-row h4 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-feature-row p {
  font-size: 13px;
  color: var(--text-secondary);
}

.app-preview-card {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* AdMob Ads Info Card */
.admob-info-card {
  margin-top: 80px;
  border-color: rgba(0, 191, 255, 0.15);
  background: radial-gradient(circle at top right, rgba(0, 191, 255, 0.05), transparent 60%), var(--glass-bg);
}

.admob-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.admob-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 191, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-glow);
}

.admob-info-card h3 {
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
}

.admob-info-card p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 20px;
}

.app-ads-code-box {
  background: #050409;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 16px;
  font-family: monospace;
  font-size: 13px;
  color: var(--accent-glow);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

/* Footer styles */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 40px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #050409;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

/* Responsive queries */
@media (max-width: 991px) {
  section {
    padding: 100px 6% 60px;
  }
  
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .cta-group {
    justify-content: center;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .app-showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 15px 5%;
  }
  
  nav {
    display: none; /* Can build a drawer menu if needed, keeping it minimal and clean */
  }
  
  .cta-group {
    flex-direction: column;
    gap: 12px;
  }
  
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
