@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ==========================================
   VARIABLES & DESIGN SYSTEM
   ========================================== */
:root {
  /* Colors */
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-tertiary: #1f2937;
  --card-bg: rgba(17, 24, 39, 0.7);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-purple: #a855f7;
  
  --gradient-tech: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-indigo) 50%, var(--accent-purple) 100%);
  --gradient-text: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);

  /* Borders & Shadows */
  --border-glow: rgba(6, 182, 212, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.15);
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  
  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-lg: 16px;
  --border-radius-md: 12px;
  --border-radius-sm: 8px;
}

/* ==========================================
   BASE STYLES & RESET
   ========================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-indigo);
}

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

input, textarea, button {
  font-family: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
}

.section-subtitle {
  color: var(--text-secondary);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

/* Premium Glassmorphism */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-premium);
}

/* Micro-Animation Hover (Zoom & Elevación) */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease, 
              border-color 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-glow);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Animación de Entrada Suave */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Button Glow & Shapes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gradient-tech);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-primary:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 70px;
}

.nav-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo span {
  font-size: 1.7rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-tech);
  transition: width 0.3s ease;
}

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--header-height) 2rem 4rem;
  position: relative;
  overflow: hidden;
}

/* Background Gradients Glow Effects */
.hero::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  z-index: -1;
  filter: blur(40px);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Visual element representing a modern IDE mockup */
.hero-visual {
  width: 100%;
  perspective: 1000px;
}

.ide-mockup {
  width: 100%;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  background: #0f141c;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.ide-mockup:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.ide-header {
  height: 35px;
  background: #090c10;
  display: flex;
  align-items: center;
  padding: 0 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ide-dots {
  display: flex;
  gap: 6px;
}

.ide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ide-dot.red { background: #ef4444; }
.ide-dot.yellow { background: #f59e0b; }
.ide-dot.green { background: #10b981; }

.ide-title {
  margin-left: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.ide-body {
  padding: 1.5rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
}

.ide-line {
  display: flex;
}

.ide-num {
  color: var(--text-muted);
  width: 25px;
  text-align: right;
  margin-right: 1.5rem;
  user-select: none;
}

.ide-code {
  color: #e2e8f0;
}

.keyword { color: #f43f5e; }
.string { color: #10b981; }
.function { color: #3b82f6; }
.comment { color: var(--text-muted); font-style: italic; }
.variable { color: #f59e0b; }

/* ==========================================
   ABOUT ME SECTION
   ========================================== */
.about {
  padding: 8rem 2rem;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-highlight {
  border-left: 3px solid var(--accent-cyan);
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-primary);
  font-size: 1.1rem;
}

/* Custom Soft Skills Cards layout */
.soft-skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.soft-card {
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.02);
}

.soft-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.soft-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.soft-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================
   INTERACTIVE SKILLS CONSOLE
   ========================================== */
.skills-section {
  padding: 8rem 2rem;
  background: rgba(17, 24, 39, 0.3);
}

.console-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.console-box {
  width: 100%;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  background: #0d1117;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.console-header {
  background: #161b22;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.console-tabs {
  display: flex;
}

.console-tab {
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.console-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}

.console-tab.active {
  color: var(--accent-cyan);
  background: #0d1117;
}

.console-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
}

.console-indicator {
  display: flex;
  gap: 6px;
}

.console-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.console-body {
  padding: 2.5rem;
  min-height: 320px;
}

.console-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.console-panel.active {
  display: block;
  opacity: 1;
  animation: fadeInUp 0.5s forwards;
}

/* Skills Content Styling */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.skill-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
}

.skill-name {
  color: var(--text-primary);
}

.skill-val {
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.skill-bar {
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: var(--gradient-tech);
  border-radius: 10px;
  width: 0; /* Animated via JS */
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Soft Skills console representation */
.soft-skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.soft-item {
  display: flex;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-light);
}

.soft-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-indigo);
}

.soft-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.soft-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* ==========================================
   SERVICES / PROJECTS SECTION
   ========================================== */
.projects {
  padding: 8rem 2rem;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.project-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-visual {
  height: 200px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-visual::after {
  content: '</>';
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  transition: transform 0.5s ease, color 0.5s ease;
}

.project-card:hover .project-visual::after {
  transform: scale(1.2);
  color: rgba(6, 182, 212, 0.15);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border-light);
}

.project-card:hover .project-tag {
  border-color: rgba(99, 102, 241, 0.2);
  color: var(--text-primary);
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

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

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  transition: color 0.3s ease;
}

.project-link:hover {
  color: var(--accent-indigo);
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
  padding: 8rem 2rem;
  background: rgba(17, 24, 39, 0.3);
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-meta span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-meta a, .contact-meta p {
  font-weight: 500;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

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

/* Contact Form Styling */
.contact-form-box {
  padding: 3rem;
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.75rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.1);
}

.form-label {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -0.6rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: var(--bg-secondary);
  padding: 0 0.4rem;
  border-radius: 4px;
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
}

/* Form success message styling */
.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  display: none;
  animation: fadeInUp 0.4s ease;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 3rem 2rem;
  background: var(--bg-primary);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-credits {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-credits span {
  color: var(--accent-cyan);
}

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
  
  .about-grid, .contact-container {
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .header {
    height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
                opacity 0.4s ease;
    z-index: 999;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero {
    padding-top: 100px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  
  .ide-mockup {
    transform: none !important;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-grid, .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-text {
    order: 2;
  }
  
  .soft-skills-grid {
    order: 1;
  }
  
  .contact-info {
    gap: 3rem;
  }
  
  .contact-form-box {
    padding: 2rem;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .soft-skills-grid {
    grid-template-columns: 1fr;
  }
  
  .console-tab {
    padding: 0.8rem 1rem;
    font-size: 0.8rem;
  }
  
  .console-body {
    padding: 1.5rem;
  }
}
