/* ============================
   Global Styles & Reset
   ============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #f59e0b;
    --tertiary-color: #10b981;
    --quaternary-color: #8b5cf6;
    --quinary-color: #ef4444;
    
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Typography */
    --font-family: 'Noto Sans JP', sans-serif;
    --font-size-base: 16px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================
   Hero Section
   ============================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease-out;
}

.hero-title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-title-sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    letter-spacing: 0.2em;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.hero-tagline {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.1em;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    background: white;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-base);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
}

.hero-scroll i {
    font-size: 1.5rem;
}

/* ============================
   Navigation
   ============================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--spacing-md);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.navbar-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-base);
    padding: 0.5rem 1rem;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    border-radius: 25px;
    padding: 0.7rem 1.5rem !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-base);
}

/* ============================
   Main Goal Section
   ============================ */
.main-goal {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.section-title .highlight {
    color: var(--primary-color);
    position: relative;
}

.goal-conclusion {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.goal-conclusion-text {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    line-height: 2;
    text-align: center;
}

.goal-conclusion-text strong {
    color: var(--primary-color);
    font-weight: 900;
}

/* ============================
   Goals Section
   ============================ */
.goals {
    padding: var(--spacing-xl) 0;
    background: white;
}

.goal-card {
    margin-bottom: var(--spacing-xl);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition-base);
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.goal-header {
    padding: var(--spacing-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.goal-card-primary .goal-header {
    background: var(--gradient-primary);
}

.goal-card-secondary .goal-header {
    background: var(--gradient-secondary);
}

.goal-card-tertiary .goal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.goal-card-quaternary .goal-header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.goal-card-quinary .goal-header {
    background: var(--gradient-success);
}

.goal-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: var(--spacing-sm);
}

.goal-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
}

.goal-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.goal-content {
    padding: var(--spacing-lg);
    background: white;
}

.goal-intro {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
    color: var(--text-light);
}

/* ============================
   Skills Grid
   ============================ */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.skill-item {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition-base);
    border: 2px solid transparent;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
}

.skill-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.skill-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.skill-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================
   Results List
   ============================ */
.results-list {
    margin-top: var(--spacing-md);
}

.result-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition-base);
}

.result-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.result-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
}

.result-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.result-content p {
    color: var(--text-light);
}

.goal-summary {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    text-align: center;
}

.goal-summary p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.goal-summary strong {
    color: var(--primary-color);
    font-weight: 900;
}

/* ============================
   Changes Grid
   ============================ */
.changes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.change-item {
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--tertiary-color);
    transition: var(--transition-base);
}

.change-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.2);
}

.change-icon {
    font-size: 2rem;
    color: var(--tertiary-color);
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
}

.change-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.change-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================
   Opportunities
   ============================ */
.opportunities {
    margin-top: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: 15px;
}

.opportunities h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

.opportunities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.opportunities-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 1.1rem;
    font-weight: 500;
}

.opportunities-list i {
    color: var(--quaternary-color);
    font-size: 1.3rem;
}

/* ============================
   Community Benefits
   ============================ */
.community-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.community-item {
    text-align: center;
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition-base);
}

.community-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.community-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.community-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.community-summary {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.1) 0%, rgba(0, 242, 254, 0.1) 100%);
    border-radius: 15px;
}

/* ============================
   Summary Section
   ============================ */
.summary {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.summary-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.summary-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-dark);
}

.summary-points {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.summary-point {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition-base);
}

.summary-point:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.summary-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
}

.summary-point p {
    font-size: 1.3rem;
    line-height: 1.8;
}

.summary-point strong {
    color: var(--primary-color);
}

/* ============================
   CTA Section
   ============================ */
.cta {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: var(--spacing-md);
}

.cta-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-base);
}

.cta-button-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.cta-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ============================
   Footer
   ============================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
}

.footer-brand p {
    opacity: 0.8;
}

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

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition-base);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================
   Responsive Design
   ============================ */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        background: white;
        padding: var(--spacing-lg);
        transition: var(--transition-base);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-menu.active {
        left: 0;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .changes-grid {
        grid-template-columns: 1fr;
    }
    
    .opportunities-list {
        grid-template-columns: 1fr;
    }
    
    .community-benefits {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }
    
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .goal-content {
        padding: var(--spacing-md);
    }
    
    .result-item {
        flex-direction: column;
        text-align: center;
    }
}