/* ══════════════════════════════════════════════════════
   ASU AI Cloud Innovation Center — Portfolio Website
   ══════════════════════════════════════════════════════ */

:root {
    --navy: #1A2744;
    --navy-dark: #0F1A2E;
    --orange: #FF9900;
    --orange-light: #FFB84D;
    --maroon: #8C1D40;
    --gold: #FFC627;
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 153, 0, 0.2);
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
}

.brand-asu {
    color: var(--gold);
    font-weight: 800;
}

.brand-cic {
    color: var(--white);
    font-weight: 400;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 40%, #2D3A5C 100%);
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(255,153,0,0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(140,29,64,0.06) 0%, transparent 50%);
}

.hero-content {
    padding: 80px 0;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 153, 0, 0.15);
    border: 1px solid rgba(255, 153, 0, 0.3);
    color: var(--orange);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 680px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 153, 0, 0.3);
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.hero-cta {
    display: inline-block;
    background: var(--orange);
    color: var(--navy-dark);
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.4);
}

.hero-cta:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.5);
}

/* ── Prominent Links Banner ── */
.links-banner {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 24px 0;
    position: relative;
    z-index: 10;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.banner-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    text-decoration: none;
    transition: var(--transition);
}

.banner-link:hover {
    background: var(--white);
    border-color: var(--orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.banner-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.banner-text {
    flex: 1;
}

.banner-text strong {
    display: block;
    font-size: 0.9rem;
    color: var(--navy);
    margin-bottom: 2px;
}

.banner-text span {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.banner-arrow {
    font-size: 1.2rem;
    color: var(--orange);
    font-weight: 600;
    transition: var(--transition);
}

.banner-link:hover .banner-arrow {
    transform: translateX(4px);
}

/* ── Sections ── */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: rgba(255, 153, 0, 0.1);
    color: var(--orange);
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.section-description {
    text-align: center;
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 8px auto 0;
}

.section-header + .section-description {
    margin-top: -24px;
    margin-bottom: 48px;
}

/* ── Overview Cards ── */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.overview-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}

.overview-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
    transform: translateY(-3px);
}

.overview-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.overview-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.overview-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.overview-narrative {
    background: linear-gradient(135deg, var(--navy) 0%, #2D3A5C 100%);
    border-radius: var(--radius);
    padding: 36px 40px;
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.8;
}

.overview-narrative strong {
    color: var(--orange);
}

/* ── Impact Section ── */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.impact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.impact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.impact-metric {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 8px;
}

.impact-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 12px;
    line-height: 1.5;
}

.impact-customer {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ── Sectors ── */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.sector-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.sector-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.sector-card.active {
    border-color: var(--orange);
    background: var(--orange);
    box-shadow: 0 4px 14px rgba(255, 153, 0, 0.3);
}

.sector-card.active h4,
.sector-card.active p {
    color: var(--white);
}

.sector-card.active .sector-expand {
    color: var(--white);
}

.sector-expand {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.2rem;
    color: var(--gray-400);
    font-weight: 300;
    transition: var(--transition);
}

.sector-card.active .sector-expand {
    transform: rotate(45deg);
}

.sector-icon {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.sector-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.sector-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

/* Sector Projects Panel */
.sector-projects-panel {
    display: none;
    margin-top: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px 32px;
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

.sector-projects-panel.visible {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange);
}

.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.panel-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.panel-close:hover {
    background: var(--gray-100);
    color: var(--gray-700);
}

.panel-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.panel-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid transparent;
    transition: var(--transition);
}

.panel-list li:hover {
    background: var(--white);
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.panel-list li::before {
    content: '▸';
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
    padding-left: 14px;
}

.panel-list li a {
    display: block;
    width: 100%;
    padding: 10px 14px 10px 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.panel-list li:hover a {
    color: var(--navy);
}

/* ── Projects ── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
    border-color: var(--orange);
}

.project-sector {
    display: inline-block;
    background: rgba(255, 153, 0, 0.1);
    color: var(--orange);
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.project-card h4 a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

.project-card h4 a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: var(--radius);
}

.project-card:hover h4 a {
    color: var(--orange);
}

.project-customer {
    font-size: 0.8rem;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card > p:last-of-type {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tech {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

/* ── Technology ── */
.tech-patterns {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.pattern-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 24px 16px;
    text-align: center;
    transition: var(--transition);
}

.pattern-card:hover {
    border-color: var(--orange);
    box-shadow: var(--shadow);
}

.pattern-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
}

.pattern-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.pattern-card p {
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.tech-stack {
    background: linear-gradient(135deg, var(--navy) 0%, #2D3A5C 100%);
    border-radius: var(--radius);
    padding: 36px;
    text-align: center;
}

.tech-stack h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.stack-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tag {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tag-primary {
    background: rgba(255, 153, 0, 0.2);
    color: var(--orange);
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.tag-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gray-300);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.quote-mark {
    font-size: 3.5rem;
    color: var(--orange);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.6;
    margin-bottom: -8px;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author strong {
    display: block;
    font-size: 0.85rem;
    color: var(--navy);
    font-style: normal;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--gray-500);
    font-style: normal;
}

/* ── Footer ── */
.footer {
    background: var(--navy-dark);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.8rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .tech-patterns {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .overview-grid,
    .impact-grid,
    .projects-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-patterns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
    }
    
    .panel-list {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .tech-patterns {
        grid-template-columns: 1fr;
    }
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }
