/* Font Face */
@font-face {
    font-family: msEmoji;
    src: url(/static/resources/FluentEmojiColor.ttf);
}

/* Emoji usage: apply the msEmoji font to elements that contain emoji characters.
   - `.card-icon` and `.feature-image` are used site-wide for emoji graphics.
   - `.emoji` is a utility class you can add to any element with emoji.
   - Footer headings often include a small emoji (e.g., "⚡ Exabyte").
*/
.emoji,
.card-icon,
.feature-image,
footer .footer-section h4 {
    font-family: msEmoji, system-ui, -apple-system, 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
    /* ensure emoji render at their native size and color font where supported */
    font-variation-settings: normal;
}
/* CSS Variables */
:root {
    --primary-color: #14c7e1;
    --secondary-color: #0a9fb0;
    --accent-color: #14c7e1;
    --accent-light: rgba(20, 199, 225, 0.1);
    --accent-dark: #08788f;
    --text-color: #1a1a1a;
    --light-text: #666666;
    --background-color: #f0fafb;
    --border-color: #d9f1f6;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

html {
    scroll-behavior: smooth;
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(20, 199, 225, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.logo span {
    white-space: nowrap;
}

.logo:hover {
    color: var(--accent-color);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 6rem;
    background: linear-gradient(135deg, #f0fafb 0%, #e0f7fb 100%);
    text-align: center;
    animation: fadeInDown 0.8s ease;
    border-bottom: 2px solid var(--border-color);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #08788f;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 199, 225, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(20, 199, 225, 0.1);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(20, 199, 225, 0.25);
    border-color: var(--accent-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card p {
    color: var(--light-text);
    line-height: 1.8;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    height: 60px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-light);
    border-radius: 8px;
    border: 2px solid rgba(20, 199, 225, 0.2);
}

/* Sections */
section {
    margin: 4rem 0;
    padding: 3rem 0;
}

section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

section p {
    text-align: center;
    color: var(--light-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Feature Section */
.feature-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 3rem 0;
}

.feature-content h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-content p {
    text-align: left;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.8rem 0;
    color: var(--light-text);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 2rem;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-image {
    background-color: var(--accent-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-size: 5rem;
    border: 2px solid var(--border-color);
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.stat-item {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(20, 199, 225, 0.1);
    animation: fadeInUp 0.6s ease;
    border: 1px solid var(--border-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--light-text);
    font-weight: 500;
}

/* Footer */
footer {
    background-color: #0d4f5d;
    background: linear-gradient(135deg, #0a3a47 0%, #0d4f5d 100%);
    color: var(--white);
    padding: 4rem 5%;
    margin-top: 6rem;
    border-top: 3px solid var(--primary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 5%;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .hero {
        padding: 4rem 5% 3rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .feature-group {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
        display: block;
    }

    .feature-content p {
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section ul {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
    }
}
