:root {
    --primary: #00BCD4;
    --primary-dark: #00838F;
    --secondary: #4DD0E1;
    --accent: #006064;
    --bg-light: #E0F7FA;
    --bg-white: #FFFFFF;
    --text-main: #263238;
    --text-light: #546E7A;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-soft: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --font-main: 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-light);
    background-image:
        radial-gradient(at 0% 0%, hsla(192, 90%, 90%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(180, 80%, 88%, 1) 0, transparent 50%),
        radial-gradient(at 100% 100%, hsla(190, 70%, 92%, 1) 0, transparent 50%),
        radial-gradient(at 0% 100%, hsla(185, 90%, 94%, 1) 0, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.15);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #0D47A1;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary);
}

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

nav a {
    font-weight: 500;
    color: var(--text-light);
    position: relative;
}

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

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    opacity: 0.8;
    /* Slight fade so text pops */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(224, 247, 250, 0.4) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.2s;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.5s;
}

.btn-main {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 188, 212, 0.4);
}

/* Sections */
section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.0rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--accent);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Grid */
.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.policy-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.policy-card h3 {
    font-size: 1.1rem;
    color: var(--accent);
}

.policy-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    text-align: justify;
}

/* Manifesto Text Style */
.manifesto-text p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.manifesto-highlight {
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 3rem 0 1.5rem;
    padding-left: 1rem;
    border-left: 5px solid var(--primary);
}

/* Footer */
footer {
    background: var(--accent);
    color: white;
    padding: 3rem 5%;
    text-align: center;
    margin-top: 4rem;
    font-size: 0.9rem;
}

footer p {
    opacity: 0.8;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

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

    header {
        padding: 1rem;
    }

    nav {
        display: none;
        /* Simple mobile hide for now, or use hamburger if requested. User asked for "Cool site", keeping it simple but sleek. */
    }
}

/* Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 90%;
    width: 400px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-text {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 500;
}

.btn-close {
    background: var(--primary);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-close:hover {
    background: var(--primary-dark);
}