/* ============================================================
   REBRANDING CSS - GSA SoftEng
   Chic, Technological & Exclusive Aesthetic
   ============================================================ */

:root {
    /* New Premium Palette Overrides */
    --color-primary-800: #0f172a;
    /* Darker, richer blue */
    --color-accent: #38bdf8;
    /* Cyan/Sky blue for tech accents */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;
    --font-family-heading: 'Inter', sans-serif;
    /* Ensure clean headings */
}

/* Global Refinements */
body {
    background-color: #f8fafc;
    color: #334155;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
    /* Tighter, more modern tracking */
}

/* ============================================================
   HERO SECTION REDESIGN
   ============================================================ */
.hero {
    background: radial-gradient(circle at top right, #1e40af, #0f172a);
    padding: 120px 0 100px;
    /* More breathing room */
    position: relative;
    overflow: hidden;
}

/* Abstract Tech Shapes Background */
.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    align-items: center;
}

.hero__text h1 {
    font-size: 3.5rem;
    /* Large, confident */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero__text p {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Softer white */
    font-weight: 300;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

/* Premium CTA Button */
.btn--premium {
    background: white;
    color: #0f172a;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 50px;
    /* Pill shape */
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn--premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    background: #f1f5f9;
}

/* ============================================================
   PROCESS SECTION ("COMO FUNCIONA")
   ============================================================ */
.process-section {
    padding: 100px 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
}

/* Connector Line (Desktop only) */
@media (min-width: 992px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        right: 10%;
        height: 2px;
        background: #e2e8f0;
        z-index: 0;
    }
}

.process-step {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    border: 1px solid #f1f5f9;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.process-step h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 10px;
}

.process-step p {
    color: #64748b;
    line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS REFRESH
   ============================================================ */
.testimonials {
    background: #f8fafc;
    /* Light gray background */
}

.testimonial__card {
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    border-left: none;
    /* Remove old style */
    padding: 40px;
}

.testimonial__stars {
    color: #fbbf24;
    /* Amber 400 */
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.testimonial__text {
    font-style: italic;
    color: #334155;
    font-size: 1.1rem;
}

.testimonial__author {
    margin-top: 20px;
    font-weight: 700;
    color: #0f172a;
}

/* ============================================================
   TOOLS SECTION (FORMERLY SERVICES)
   ============================================================ */
.tools-section {
    padding: 80px 0;
    background: #0f172a;
    /* Dark background for tools */
    color: white;
}

.tools-section .section__title {
    color: white;
}

.tools-section .section__description {
    color: #94a3b8;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    transition: background 0.3s;
}

.tool-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tool-card h4 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.tool-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tool-card a {
    color: #38bdf8;
    font-size: 0.85rem;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.tool-card a:hover {
    text-decoration: underline;
}

/* ============================================================
   NAVIGATION SIMPLIFICATION
   ============================================================ */
.nav__list {
    gap: 40px;
    /* More space between links */
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 5px;
}

.nav__link.active {
    color: #1e3a8a;
    font-weight: 700;
}

/* Gradient Underline Animation */
.nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #38bdf8);
    transition: width 0.3s ease;
    display: block;
}

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

/* Remove default underline from header.css to prevent double underline */
.nav__link:hover,
.nav__link.active {
    text-decoration: none !important;
}