/* aiu-style.css */
html,
body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    /* allow scrolling on all devices */
    overflow: auto;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

header {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    color: #111;
    text-decoration: none;
}

.site-nav a {
    margin-left: 1rem;
    color: #555;
    font-weight: 600;
    text-decoration: none;
}

.site-nav a.active,
.site-nav a:hover {
    color: #007acc;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.spark-border {
    position: relative;
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
}

.spark-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(128, 0, 128, 0.6);
    pointer-events: none;
    z-index: 1;
}

.spark-border::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #b19cd9 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
    animation: sparkle 4s linear infinite;
}

.hero {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 4rem 2rem;
    max-width: 900px;
    /* width: 90%; */
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #111;
}

.hero h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #111;
}

.lead {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-button {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: #007acc;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s;
}

.feature-button:hover {
    background: #005fa3;
}

.feature-button.secondary {
    background: #fff;
    color: #007acc;
    border: 1px solid #007acc;
}

.feature-button.secondary:hover {
    background: #e6f0fb;
}

.taglines {
    font-style: italic;
    color: #666;
    margin-top: 2rem;
}

.tiles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    z-index: 1;
    opacity: 0.15;
    pointer-events: none;
    will-change: transform;
}

.tiles-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
    background: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    color: #999;
    position: relative;
    z-index: 3;
}

/* shimmer background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(-45deg, #e0e0e0, #f5f5f5, #e0e0e0);
    background-size: 400% 400%;
    animation: shimmer 15s ease infinite;
    z-index: 0;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* sparkle animation around border */
@keyframes sparkle {
    0% {
        top: 0;
        left: 0;
    }

    25% {
        top: 0;
        left: calc(100% - 12px);
    }

    50% {
        top: calc(100% - 12px);
        left: calc(100% - 12px);
    }

    75% {
        top: calc(100% - 12px);
        left: 0;
    }

    100% {
        top: 0;
        left: 0;
    }
}

/* software page overrides */
.software-page {
    overflow: auto;
}

.software-page .main-content {
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 1.25rem 4rem;
}

.software-page .hero {
    text-align: left;
    padding: 3rem 2.5rem;
    margin: 0 auto;
}

.hero-shell {
    width: 100%;
}

.content-shell {
    width: min(1100px, 100%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}

.panel {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.panel h2 {
    margin: 0 0 1rem;
    font-size: 1.6rem;
    color: #111;
}

.panel h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #111;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    color: #7a7a7a;
    margin-bottom: 0.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.feature-list.compact {
    grid-template-columns: 1fr;
}

.feature-list li {
    background: #f4f7ff;
    border: 1px solid #d9e3ff;
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.card {
    background: #fff;
    border: 1px solid #e5e8ef;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: start;
}

.cta-panel {
    text-align: center;
}
