@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    /* Color Palette - Logo Based (Pastel/Warm) */
    --color-primary: #5DADEC;
    /* Sky Blue - Logo Background */
    --color-primary-dark: #4A9BC2;
    /* Darker shade for text/hover */
    --color-secondary: #F2B950;
    /* Warm Orange - Robot/Accent */
    --color-secondary-dark: #D9A030;
    --color-accent: #8EC5E5;
    /* Lighter Blue */

    --color-text-main: #4B5563;
    /* Soft Dark Gray */
    --color-text-light: #6B7280;
    /* Medium Gray */
    --color-background: #FDFBF7;
    /* Warm Off-white (Cream) */
    --color-white: #FFFFFF;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #E0F2FE 0%, #FFFBEB 100%);
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent));

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(93, 173, 236, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(93, 173, 236, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 0.8rem;
    /* Slightly more rounded for friendly feel */
    --radius-lg: 1.5rem;
    --radius-full: 9999px;

    /* Typography */
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-4 {
    gap: 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(0, 71, 171, 0.39);
}

.btn-primary:hover {
    background: #003380;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 4px 14px 0 rgba(255, 159, 28, 0.39);
}

.btn-secondary:hover {
    background: #e08c16;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-main);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
.footer {
    background: var(--color-text-main);
    color: var(--color-white);
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-links a {
    color: #9CA3AF;
}

.footer-links a:hover {
    color: var(--color-white);
}

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS to toggle */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        text-align: center;
    }
}