:root {
   
    --bg: #0b0e14;          /* Cambiado de #0b1120 a tu fondo original */
    --surface: #161b22;     /* Cambiado de #111827 a tu color de tarjetas original */
    --surface-2: #21262d;   /* Superficies secundarias más claras */
    --border: #30363d;      /* Cambiado de #374151 al borde sutil original */
    --text-secondary: #8b949e;

    --accent: #2f81f7;
    --accent-hover: #58a6ff;
    --accent-glow: rgba(47, 129, 247, 0.3);
   
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text: #f9fafb;
    --muted: #9ca3af;
    --success: #10b981;

    --radius: 16px;
    --shadow: 0 20px 40px rgba(0,0,0,.35);
}

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

html{
    scroll-behavior:smooth;
}

body{
    background:var(--bg);
    color:var(--text);
    font-family:Inter,Segoe UI,sans-serif;
    line-height:1.6;
}

img{
    width:100%;
    display:block;
}

section{
    width:min(1400px,92%);
    margin:auto;
    padding:90px 0;
}

a {
    text-decoration: none;
}
/* ==========================
   HERO
========================== */

.project-hero{
    min-height:100vh;

    display:grid;
    grid-template-columns:1fr 1.3fr;
    align-items:center;
    gap:4rem;
}

.project-badge{
    display:inline-block;

    padding:.5rem 1rem;

    background:rgba(59,130,246,.15);

    border:1px solid rgba(59,130,246,.35);

    border-radius:999px;

    color:#93c5fd;

    font-size:.85rem;
    font-weight:600;

    margin-bottom:1.5rem;
}

.project-hero h1{
    font-size:4rem;
    line-height:1.05;
    margin-bottom:1rem;
}

.project-subtitle{
    color:var(--muted);
    font-size:1.15rem;
    max-width:650px;
    margin-bottom:2rem;
    max-width: 800px; 
    line-height: 1.6;
}

/* ==========================
   HIGHLIGHTS
========================== */

.project-highlights{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;

    margin-bottom:2rem;
}

.highlight-item{
    display:flex;
    align-items:center;
    gap:.6rem;

    padding:.8rem 1rem;

    background:var(--surface);

    border:1px solid var(--border);

    border-radius:12px;
}

.highlight-item i{
    color:var(--primary);
}

/* ==========================
   BUTTONS
========================== */

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

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:1rem 1.5rem;
    border-radius:12px;
    font-weight:600;
    transition:.25s;
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{
    background:var(--primary-hover);
}

.btn-secondary{
    border:1px solid var(--border);
    color:white;
}

.btn-secondary:hover{
    background:var(--surface);
}

/* ==========================
   DASHBOARD IMAGE
========================== */

.project-showcase{
    position:relative;
}

.hero-dashboard-image{
    border-radius:24px;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

    transition:.3s;
}


.project-showcase::before{
    content:"";

    position:absolute;

    width:350px;
    height:350px;

    background:rgba(59,130,246,.25);

    filter:blur(120px);

    z-index:-1;

    top:50%;
    left:50%;

    transform:translate(-50%,-50%);
}

/* ==========================
   SECTION TITLE
========================== */

.section-title,
.project-gallery h2{
    font-size:2.2rem;

    margin-bottom:2rem;
}

/* ==========================
   SCREENSHOTS
========================== */

.gallery-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(430px,1fr));

    gap:1.5rem;
}

.gallery-grid img{
    border-radius:18px;

    border:1px solid var(--border);

    transition:.3s;
}

.gallery-grid img:hover{
    transform:translateY(-6px);
}

/* ==========================
   OVERVIEW
========================== */

.overview-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:1.5rem;
}

.overview-card{
    background:var(--surface);

    padding:2rem;

    border-radius:var(--radius);

    border:1px solid var(--border);
}

.overview-card i{
    font-size:2rem;

    color:var(--primary);

    margin-bottom:1rem;
}

.overview-card h3{
    margin-bottom:.75rem;
}

/* ==========================
   ARCHITECTURE
========================== */

.architecture-box{
    background:var(--surface);

    padding:3rem;

    border-radius:var(--radius);

    border:1px solid var(--border);
}

.node{
    background:var(--surface-2);

    padding:1rem;

    border-radius:12px;

    text-align:center;

    border:1px solid var(--border);

    font-weight:600;
}

.arrow{
    text-align:center;

    font-size:2rem;

    color:var(--primary);

    margin:1rem 0;
}

.node-group{
    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:1rem;
}

/* ==========================
   STACK
========================== */

.tech-tags{
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
}

.tech-tags span{
    background:var(--surface);

    border:1px solid var(--border);

    padding:.8rem 1rem;

    border-radius:999px;

    font-weight:600;
}

/* ==========================
   FEATURES
========================== */

.features ul{
    list-style:none;

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap:1rem;
}

.features li{
    background:var(--surface);

    padding:1rem;

    border-radius:12px;

    border:1px solid var(--border);
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:992px){

    .project-hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .project-highlights{
        justify-content:center;
    }

    .project-actions{
        justify-content:center;
    }

    .project-hero h1{
        font-size:3rem;
    }

}

@media(max-width:600px){

    .project-hero h1{
        font-size:2.4rem;
    }

    .project-subtitle{
        font-size:1rem;
    }

    section{
        padding:70px 0;
    }

}
.cta-section {
    display: flex;
    flex-direction: column; 
    align-items: center;    
    text-align: center;     
    padding: 40px 20px;     
}

.cta-button {
    background-color: var(--accent);
    color: white;
    padding: 12px 28px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    border: none;
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: var(--accent-hover);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.cta-button.secondary {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text-main);
}

.cta-button.secondary:hover {
    background-color: var(--card-bg);
    box-shadow: none;
}


.internal-nav {
    max-width: 1200px;
    margin: 0;
    padding: 0;
}

.back-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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