/* ==========================================================================
   SKYNET CONSULT — OFFICIAL CORE DESIGN SYSTEM
   Modern, Accessible, High-Performance CSS for Static & GitHub Pages Hosting
   ========================================================================== */

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

/* --- 1. DESIGN TOKENS & CSS VARIABLES --- */
:root {
    --navy: #0a192f;
    --navy-dark: #060d18;
    --navy-light: #112240;
    --navy-card: #0d1f38;
    --skynet-blue: #3b82f6;
    --skynet-blue-hover: #2563eb;
    --skynet-cyan: #06b6d4;
    --skynet-light: #eff6ff;
    --skynet-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #3b82f6 100%);
    --skynet-gradient-subtle: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    
    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --wa-green: #25d366;
    --wa-green-hover: #1eb956;
    
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-dark-bg: rgba(10, 25, 47, 0.85);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.04);
    --shadow-md: 0 10px 25px rgba(10, 25, 47, 0.06);
    --shadow-lg: 0 20px 45px rgba(10, 25, 47, 0.1);
    --shadow-xl: 0 30px 60px rgba(10, 25, 47, 0.16);
    --shadow-glow: 0 0 35px rgba(59, 130, 246, 0.25);
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --radius-full: 9999px;
    
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
}

/* --- 2. BASE RESET & ACCESSIBILITY --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--gray-50);
    color: var(--navy);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

/* --- 3. ATMOSPHERIC BACKGROUND EFFECTS --- */
.bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    animation: floatGlow 12s infinite alternate ease-in-out;
}

.bg-glow.top-left {
    top: -120px;
    left: -120px;
}

.bg-glow.bottom-right {
    bottom: 15%;
    right: -200px;
    animation-delay: -6s;
}

.bg-glow.center-alt {
    top: 45%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
    animation-delay: -3s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.12); }
}

/* --- 4. TYPOGRAPHY & HEADINGS --- */
h1, h2, h3, h4, h5, h6 {
    color: var(--navy);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--gray-500);
    font-size: 1.05rem;
    line-height: 1.7;
}

.lead {
    font-size: 1.2rem;
    color: var(--gray-500);
    line-height: 1.75;
}

.highlight {
    background: var(--skynet-gradient);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientShift 6s linear infinite;
}

.highlight-blue {
    color: var(--skynet-blue);
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* --- 5. BADGES & TAGLINES --- */
.tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.2rem;
    background: var(--skynet-light);
    color: var(--skynet-blue);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-blue { background: rgba(59, 130, 246, 0.12); color: var(--skynet-blue); }
.badge-green { background: rgba(16, 185, 129, 0.12); color: var(--accent-green); }
.badge-orange { background: rgba(245, 158, 11, 0.12); color: var(--accent-orange); }

/* --- 6. BUTTONS & ACTIONS --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--navy);
    color: var(--white) !important;
    padding: 1rem 2.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.18);
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--skynet-blue);
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--white);
    color: var(--navy) !important;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.05rem;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--skynet-light);
    color: var(--skynet-blue) !important;
    border-color: var(--skynet-blue);
    transform: translateY(-2px);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--wa-green);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.02rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background: var(--wa-green-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.35);
}

.link-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy);
    font-size: 1.02rem;
    transition: var(--transition);
}

.link-secondary:hover {
    color: var(--skynet-blue);
    gap: 12px;
}

/* --- 7. CONTAINER & LAYOUT UTILITIES --- */
.site-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 8%;
    width: 100%;
}

.section-padding {
    padding: 6rem 8%;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --- 8. UNIVERSITY LOGO MARQUEE & SHOWCASE --- */
.partners-section {
    padding: 4rem 8% 3rem;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    position: relative;
}

.partners-title {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2.2rem;
}

.partners-track {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    min-width: 120px;
}

.partner-item:hover {
    transform: translateY(-4px);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.3);
}

.partner-item img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.partner-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

/* --- 9. ACCORDIONS / FAQ --- */
.faq-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    padding: 1.4rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--skynet-blue);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--skynet-blue);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.8rem;
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.7;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 1.8rem 1.6rem 1.8rem;
}

/* --- 10. TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(59, 130, 246, 0.3);
}

.stars {
    color: #fbbf24;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--skynet-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.student-details h5 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 2px;
}

.student-details span {
    font-size: 0.82rem;
    color: var(--skynet-blue);
    font-weight: 600;
}

/* --- 11. FORM CONTROLS --- */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--navy);
    margin-bottom: 0.6rem;
}

.form-control {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--navy);
    font-size: 1rem;
    transition: var(--transition-fast);
    outline: none;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.form-control:focus {
    border-color: var(--skynet-blue);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background: var(--white);
}

/* --- 12. RESPONSIVENESS --- */
@media (max-width: 992px) {
    .section-padding { padding: 4.5rem 6%; }
    .site-container { padding: 0 6%; }
    .partners-track { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .section-padding { padding: 3.5rem 5%; }
    .site-container { padding: 0 5%; }
    .btn-primary, .btn-secondary, .btn-whatsapp { width: 100%; text-align: center; }
    .partners-track { gap: 1rem; }
    .partner-item { min-width: 100px; padding: 10px; }
    .partner-item img { height: 38px; }
}
