/* Minimalist & Bold Design System */
:root {
    --bg-color: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-secondary: #6E6E73;
    --accent-color: #e65f59;
    /* Matching the reference "Red/Pink" accent for maximum impact */
    --accent-green: #00A651;
    /* Fujimura Green */
    --surface-color: #FAFAFA;
    --border-color: #E5E5E5;
    --font-heading: 'Noto Sans JP', sans-serif;
    --font-body: 'Inter', 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    margin-left: 32px;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Main Layout */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 180px;
    padding-bottom: 120px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 100px;
}

.badge {
    display: inline-block;
    background: #FFF0F0;
    color: var(--accent-color);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 32px;
}

h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-color);
}

.subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.japanese-subtitle {
    display: none;
    /* Merged into main subtitle */
}

/* Grid */
.gpts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 24px;
}

/* Minimal Cards */
.glass-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-align: left;
    /* Align left for cleaner look usually, but let's see */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

/* Unified Icons */
.icon-container {
    width: 48px;
    height: 48px;
    background: var(--surface-color);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

/* Force all icons to accent color for unity */
.card-icon path,
.card-icon circle,
.card-icon rect {
    stroke: var(--text-primary);
    /* Dark icons */
}

.glass-card:hover .card-icon path,
.glass-card:hover .card-icon circle,
.glass-card:hover .card-icon rect {
    stroke: var(--accent-color);
    /* Highlight on hover */
}

/* Typography in Cards */
.glass-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.glass-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

/* Button */
.action-btn {
    background: var(--text-primary);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.glass-card:hover .action-btn {
    background: var(--accent-color);
}

/* Animations */
.fade-in-up {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Responsive */
@media (max-width: 900px) {
    .gpts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    h1 {
        font-size: 42px;
    }
}

@media (max-width: 600px) {
    .gpts-grid {
        grid-template-columns: 1fr;
    }

    .glass-header {
        padding: 0 20px;
    }
}