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

:root {
    /* Color Palette */
    --color-bg-primary: #0a0e1a;
    --color-bg-secondary: #121827;
    --color-bg-card: #1a2234;
    --color-bg-hover: #232d42;

    --color-primary: #4f46e5;
    --color-primary-light: #6366f1;
    --color-primary-dark: #4338ca;

    --color-accent: #10b981;
    --color-warning: #f59e0b;

    --color-text-primary: #f9fafb;
    --color-text-secondary: #9ca3af;
    --color-text-tertiary: #6b7280;

    --color-border: rgba(255, 255, 255, 0.1);
    --color-shadow: rgba(0, 0, 0, 0.3);

    /* Typography */
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-ja: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", YuGothic, Meiryo, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-ja), var(--font-family-base);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

section {
    position: relative;
    z-index: 1;
}

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

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at top,
        rgba(79, 70, 229, 0.15) 0%,
        rgba(10, 14, 26, 0) 50%
    ),
    radial-gradient(
        ellipse at bottom,
        rgba(16, 185, 129, 0.1) 0%,
        rgba(10, 14, 26, 0) 50%
    );
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.endorsement-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border: 1px solid rgba(79, 70, 229, 0.4);
    border-radius: var(--radius-full);
    color: var(--color-primary-light);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 0.6s ease-out, glow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(79, 70, 229, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(79, 70, 229, 0.4), 0 0 10px rgba(99, 102, 241, 0.3);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
}

.title-highlight {
    background: linear-gradient(135deg, #6366f1 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Expert Endorsement */
.expert-endorsement {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-xl) var(--spacing-sm) var(--spacing-sm);
    background: rgba(100, 116, 139, 0.3);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-lg);
    width: fit-content;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    transition: var(--transition-base);
}

.expert-endorsement:hover {
    background: rgba(100, 116, 139, 0.4);
    transform: translateY(-2px);
}

.expert-avatar {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.1);
    object-fit: cover;
    object-position: center 30%;
}

.expert-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-primary);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

/* CTA Button */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    animation: fadeInUp 0.8s ease-out 0.8s both, buttonPulse 3s ease-in-out infinite 2s;
    margin: 0 auto var(--spacing-md);
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 50px -10px rgba(0, 0, 0, 0.3), 0 20px 25px -10px rgba(79, 70, 229, 0.4), 0 0 40px rgba(79, 70, 229, 0.5);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
}

.cta-button:active {
    transform: translateY(-2px) scale(1);
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: var(--shadow-xl), 0 0 20px rgba(79, 70, 229, 0.3);
    }
    50% {
        box-shadow: var(--shadow-xl), 0 0 30px rgba(79, 70, 229, 0.5);
    }
}

/* Risk Warning */
.risk-warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-warning);
    font-size: 0.875rem;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 1s both;
    position: relative;
    overflow: hidden;
}

.risk-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.15), transparent);
    animation: shimmer 3s ease-in-out infinite 2s;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.icon-alert {
    flex-shrink: 0;
    animation: iconBounce 2s ease-in-out infinite 3s;
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* ===================================
   Topics Section
   =================================== */
.topics {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    background: linear-gradient(135deg, var(--color-text-primary) 0%, rgba(249, 250, 251, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header svg {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

.topic-card {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(26, 34, 52, 0.8) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: var(--transition-base);
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.6);
    background: linear-gradient(135deg, rgba(35, 45, 66, 1) 0%, rgba(26, 34, 52, 0.95) 100%);
}

.topic-card:hover::before {
    opacity: 1;
}

.topic-card:hover .topic-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(99, 102, 241, 0.15) 100%);
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
}

.topic-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: var(--radius-md);
    margin: 0 auto var(--spacing-md);
    color: var(--color-primary-light);
    position: relative;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.topic-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topic-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.topic-card p {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-md);
    color: var(--color-warning);
    font-size: 0.875rem;
    text-align: center;
    position: relative;
    transition: var(--transition-base);
}

.disclaimer::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.disclaimer:hover {
    border-color: rgba(245, 158, 11, 0.4);
    background: rgba(245, 158, 11, 0.08);
}

.disclaimer:hover::before {
    opacity: 1;
}

/* ===================================
   Skills Section
   =================================== */
.skills {
    padding: var(--spacing-3xl) 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.skill-card {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(26, 34, 52, 0.8) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    position: relative;
    transition: var(--transition-base);
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(79, 70, 229, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.6);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover .skill-number {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
}

.skill-number {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #059669 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    padding-right: var(--spacing-3xl);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
}

.skill-list li:last-child {
    margin-bottom: 0;
}

.check-icon {
    flex-shrink: 0;
    color: var(--color-accent);
    margin-top: 2px;
}

/* ===================================
   Community Section
   =================================== */
.community {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-secondary);
}

.community-description {
    text-align: center;
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.community-image-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    transition: var(--transition-base);
}

.community-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.community-image-wrapper:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(16, 185, 129, 0.2);
    transform: translateY(-8px);
}

.community-image-wrapper:hover::before {
    opacity: 1;
}

.community-image-wrapper:hover .community-image {
    transform: scale(1.05);
}

.community-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.community-image-placeholder {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-tertiary);
    font-size: 1.125rem;
}

/* ===================================
   FAQ Section
   =================================== */
.faq {
    padding: var(--spacing-3xl) 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, rgba(26, 34, 52, 0.8) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    transition: var(--transition-base);
    position: relative;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.6);
    transform: translateX(4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 15px rgba(79, 70, 229, 0.15);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25), 0 0 20px rgba(79, 70, 229, 0.25);
}

.faq-item[open]::before {
    opacity: 1;
}

.faq-item summary {
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    font-weight: 600;
    font-size: 1.125rem;
    list-style: none;
    transition: var(--transition-base);
    user-select: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: var(--color-bg-hover);
}

.chevron-icon {
    flex-shrink: 0;
    transition: var(--transition-base);
    color: var(--color-primary-light);
}

.faq-item[open] .chevron-icon {
    transform: rotate(180deg);
}

.faq-content {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: var(--spacing-2xl) 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.footer-copyright {
    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-notice {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-links a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-fast);
    position: relative;
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

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

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
        --spacing-3xl: 4rem;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-2xl) 0;
    }

    .expert-endorsement {
        padding: var(--spacing-xs) var(--spacing-lg) var(--spacing-xs) var(--spacing-xs);
    }

    .expert-avatar {
        width: 48px;
        height: 48px;
        object-fit: cover;
        object-position: center 30%;
    }

    .expert-name {
        font-size: 0.9375rem;
    }

    .topics-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: var(--spacing-sm);
    }

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

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .expert-endorsement {
        padding: var(--spacing-xs) var(--spacing-md) var(--spacing-xs) var(--spacing-xs);
        gap: var(--spacing-sm);
    }

    .expert-avatar {
        width: 44px;
        height: 44px;
        object-fit: cover;
        object-position: center 30%;
    }

    .expert-name {
        font-size: 0.875rem;
    }

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

    .topic-card {
        padding: var(--spacing-md);
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .skill-card {
        padding: var(--spacing-md);
    }

    .skill-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .skill-card h3 {
        font-size: 1.25rem;
    }
}

/* Desktop large */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Legal Pages Styles
   =================================== */

/* Legal Header */
.legal-header {
    padding: var(--spacing-2xl) 0 var(--spacing-xl);
    background: var(--color-bg-secondary);
    border-bottom: 1px solid var(--color-border);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-md);
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--color-primary-light);
    transform: translateX(-2px);
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Legal Content */
.legal-content {
    padding: var(--spacing-3xl) 0;
    background: var(--color-bg-primary);
}

.legal-container {
    max-width: 900px;
}

.legal-update {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xl);
}

.legal-section {
    margin-bottom: var(--spacing-2xl);
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
    border-bottom: 2px solid rgba(79, 70, 229, 0.3);
}

.legal-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.legal-section p {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-list {
    list-style: none;
    margin: var(--spacing-md) 0;
    padding-left: 0;
}

.legal-list li {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: var(--spacing-xs);
    color: var(--color-primary-light);
    font-weight: 700;
}

.legal-notice-box {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.legal-notice-box h3 {
    color: var(--color-warning);
    margin-bottom: var(--spacing-sm);
}

.legal-notice-box p {
    color: var(--color-text-secondary);
}

.legal-contact {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.legal-contact p {
    margin-bottom: var(--spacing-xs);
}

.legal-contact p:last-child {
    margin-bottom: 0;
}

.legal-contact strong {
    color: var(--color-text-primary);
}

.legal-end {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 1rem;
    margin-top: var(--spacing-xl);
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-header {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .legal-header h1 {
        font-size: 1.75rem;
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }

    .legal-section h3 {
        font-size: 1.125rem;
    }

    .legal-list li {
        padding-left: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .legal-content {
        padding: var(--spacing-xl) 0;
    }

    .legal-header h1 {
        font-size: 1.5rem;
    }

    .legal-section {
        margin-bottom: var(--spacing-xl);
    }

    .legal-section h2 {
        font-size: 1.125rem;
    }

    .legal-notice-box {
        padding: var(--spacing-md);
    }
}
