:root {
  /* Core Colors */
  --bg-primary: #0A0A0B;
  --bg-secondary: #131316;
  --bg-surface: rgba(30, 30, 35, 0.6);
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A5;
  --text-muted: #6b7280;
  
  /* Accents */
  --accent-cyan: #00F0FF;
  --accent-violet: #8A2BE2;
  --accent-blue: #0088FF;
  --accent-red: #cc1b1b;

  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--accent-violet) 0%, var(--accent-blue) 100%);
  --gradient-uptp:var(--accent-red);
  /* Structural */
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.2);
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* Typography Utility */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
  position: relative;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(10, 10, 11, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.hero-bg .blob-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
  opacity: 0.3;
  filter: blur(60px);
}

.hero-bg .blob-2 {
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(60px);
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 15px;
  display: block;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 25px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-secundario{
  background: var(--gradient-primary);
  color: #000000;
  padding: 9px !important;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
}

.btn-primary, .btn-secundario:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Section Title */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
}

/* About / Skills Grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  height: 100%;
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 40px;
}

.timeline-dot {
  position: absolute;
  left: 14px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-content {
  padding: 25px;
}

.timeline-date {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 5px;
  display: inline-block;
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.timeline-company {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.project-img-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.05);
}

.project-info {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.project-tags span {
  font-size: 0.8rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(4px);
  color: var(--accent-cyan);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
  text-align: center;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  font-size: 1.2rem;
  color: var(--text-primary);
}

.social-links a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-3px);
}

/* Project Detail Page Styles */
.project-header {
  padding-top: 150px;
  padding-bottom: 50px;
  text-align: center;
}

.project-header-tags {
  justify-content: center;
  margin-top: 20px;
}

.project-hero-img {
  width: 100%;
  height: 500px;
  border-radius: var(--radius-lg);
  object-fit: center;
  margin-bottom: 60px;
  border: 1px solid var(--border-light);
}

.project-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.project-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.project-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.project-content ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.project-content li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.project-sidebar .glass {
  padding: 30px;
  margin-bottom: 30px;
}

.sidebar-item {
  margin-bottom: 20px;
}

.sidebar-item:last-child {
  margin-bottom: 0;
}

.sidebar-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.sidebar-value {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .about-grid, .project-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .nav-links {
    display: none; /* In a real app we'd add a hamburger menu */
  }
}
