/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    /* More transparent for glass effect */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    /* Slightly lighter for better contrast on glass */
    --accent-gradient: linear-gradient(135deg, #3b82f6, #8b5cf6);
    /* Brighter, more modern gradient */
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    /* Aurora Background Effect */
    background-image:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.15), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.15), transparent 50%);
    background-size: 200% 200%;
    animation: aurora 15s ease infinite alternate;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 900px;
}

/* Header Section */
header {
    margin-bottom: 2rem;
    text-align: center;
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-area {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.logo-area img {
    height: 80px;
    /* Adjusted height */
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Main Content */
main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Cards */
section {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    /* Softer, more modern radius */
    padding: 2.5rem;
    /* More breathing room */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;

    /* Animation defaults */
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

section:hover {
    transform: translateY(-5px) scale(1.005);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.5rem;
    display: inline-block;
}

h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

ul {
    list-style: none;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Diagram */
.diagram-section {
    text-align: center;
    padding: 1rem;
    /* Less padding for the image container */
    overflow: hidden;
}

.diagram-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

/* Footer / Contact */
.next-step {
    background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(37, 99, 235, 0.1));
    border-color: rgba(37, 99, 235, 0.2);
}

/* Animations */
/* Animations */
@keyframes aurora {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 50% 50%;
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay Utility Classes */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* Responsive */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    body {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
    }
}