/* ========================================
   aora Creative Finance Studio
   金融 × IP × クリエイティブ × ゲーミフィケーション
======================================== */

/* ========================================
   1. CSS RESET & BASE
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors - Creative Studio */
  --black: #0A0A0A;
  --white: #FFFFFF;
  --blue-primary: #0088FF;
  --blue-light: #00D4FF;
  --purple: #8B5CF6;
  --pink: #EC4899;
  --green: #10B981;
  
  /* Gradients */
  --gradient-main: linear-gradient(135deg, #0088FF 0%, #00D4FF 50%, #8B5CF6 100%);
  --gradient-game: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
  --gradient-finance: linear-gradient(135deg, #0088FF 0%, #10B981 100%);
  
  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  --font-display: "SF Pro Display", -apple-system, sans-serif;
  
  /* Spacing */
  --section-padding: clamp(6rem, 15vh, 12rem);
  --content-max: 1600px;
  
  /* Effects */
  --blur-glass: blur(20px) saturate(180%);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
  --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Theme Colors - Dark Mode (Default) */
  --bg-primary: #0A0A0A;
  --bg-secondary: #1A1A1A;
  --bg-card: rgba(255, 255, 255, 0.05);
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(0, 212, 255, 0.3);
}

/* Light Mode - Enhanced Professional Palette */
[data-theme="light"] {
  /* Theme Colors - Light Mode (Refined & Balanced) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;      /* Softer secondary background */
  --bg-tertiary: #F1F5F9;       /* Tertiary for section variation */
  --bg-card: #FFFFFF;
  --bg-card-elevated: #FAFBFD;  /* Subtle elevation */
  --bg-accent: #EFF6FF;         /* Light blue accent background */
  
  --text-primary: #0F172A;      /* Slate-900: 16.9:1 contrast */
  --text-secondary: #334155;    /* Slate-700: 10.8:1 contrast */
  --text-muted: #64748B;        /* Slate-500: 6.4:1 contrast */
  --text-accent: #0369A1;       /* Sky-700: Brand blue for accents */
  
  --border-color: #E2E8F0;      /* Slate-200: Softer borders */
  --border-strong: #CBD5E1;     /* Slate-300: Stronger borders */
  --border-hover: #0EA5E9;      /* Sky-500: Interactive state */
  --border-accent: #38BDF8;     /* Sky-400: Light accent */
  
  /* Adjust shadows for light mode - refined depth */
  --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 12px rgba(0, 0, 0, 0.10), 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.12), 0 16px 40px rgba(0, 0, 0, 0.10);
  --shadow-blue: 0 4px 16px rgba(14, 165, 233, 0.25), 0 2px 8px rgba(14, 165, 233, 0.15);
  
  /* Adjust blur for light mode */
  --blur-glass: blur(16px) saturate(180%);
}

/* Light Mode Specific Styles */
[data-theme="light"] body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="light"] .hero {
  background: linear-gradient(180deg, #F1F5F9 0%, #F8FAFC 50%, #FFFFFF 100%);
}

[data-theme="light"] .hero-bg {
  opacity: 0.15;
}

[data-theme="light"] .orb {
  opacity: 0.06;
  filter: blur(60px);
}

[data-theme="light"] .grid-canvas {
  opacity: 0.08;
}

[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

[data-theme="light"] header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-strong);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
}

[data-theme="light"] .nav-links a {
  color: var(--text-primary);
  font-weight: 600;
}

[data-theme="light"] .nav-links a:hover {
  color: var(--text-accent);
  background: var(--bg-accent);
}

[data-theme="light"] .nav-links a::after {
  background: var(--gradient-main);
  height: 2px;
}

[data-theme="light"] .logo-icon .circle {
  border-color: var(--text-primary);
  border-width: 2px;
}

[data-theme="light"] .logo-icon .circle.gradient {
  background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.6);
}

[data-theme="light"] .logo-text {
  color: var(--text-primary);
}

/* Cards with refined contrast */
[data-theme="light"] .core-card,
[data-theme="light"] .stat-card,
[data-theme="light"] .partner-category,
[data-theme="light"] .principle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-soft);
}

/* Principle cards only - left border accent */
[data-theme="light"] .principle {
  border-left: 3px solid var(--blue-light);
}

[data-theme="light"] .core-card:hover,
[data-theme="light"] .partner-category:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-blue), var(--shadow-medium);
  transform: translateY(-4px);
}

/* Text with strong contrast */
[data-theme="light"] .section-title,
[data-theme="light"] .hero-title,
[data-theme="light"] .puc-title,
[data-theme="light"] .core-title,
[data-theme="light"] .stat-number {
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .hero-subtitle {
  color: var(--text-primary);
  font-weight: 500;
}

[data-theme="light"] .section-subtitle,
[data-theme="light"] .core-description {
  color: var(--text-secondary);
  font-weight: 500;
}

[data-theme="light"] .hero-label,
[data-theme="light"] .puc-label {
  color: var(--text-accent);
  background: var(--bg-accent);
  border: 1px solid var(--border-accent);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

/* Gradient text - ensure visibility */
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, #0369A1 0%, #0EA5E9 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Section backgrounds with clear separation */
[data-theme="light"] .what-we-do {
  background: var(--bg-primary);
}

[data-theme="light"] .pucre-app-section {
  background: var(--bg-tertiary);
}

[data-theme="light"] .impact-section {
  background: var(--bg-secondary);
}

[data-theme="light"] .stat-card {
  background: var(--bg-primary);
  border-color: var(--border-color);
  box-shadow: var(--shadow-soft);
}

[data-theme="light"] .stat-card:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-strong), 0 20px 60px rgba(3, 105, 161, 0.15);
}

[data-theme="light"] .partner-category {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

[data-theme="light"] .partner-category:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-strong), 0 15px 45px rgba(3, 105, 161, 0.12);
}

[data-theme="light"] .partner-card {
  background: var(--bg-tertiary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .partner-card:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  box-shadow: 0 5px 20px rgba(3, 105, 161, 0.1);
}

[data-theme="light"] .approach-section {
  background: var(--bg-tertiary);
}

[data-theme="light"] .puc-section {
  background: var(--bg-primary);
}

[data-theme="light"] .puc-visual {
  filter: none;
}

[data-theme="light"] .contact-section {
  background: var(--bg-secondary);
}

[data-theme="light"] .footer {
  background: var(--bg-tertiary);
  border-top: 2px solid var(--border-strong);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .footer-description,
[data-theme="light"] .footer-column a {
  color: var(--text-secondary);
  font-weight: 500;
}

[data-theme="light"] .footer-column a:hover {
  color: var(--text-accent);
}

[data-theme="light"] .footer-tagline {
  color: var(--text-muted);
  font-weight: 600;
}

[data-theme="light"] .footer-column h4 {
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

[data-theme="light"] .footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  margin-top: 2rem;
}

[data-theme="light"] .footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Partner cards with strong contrast */
[data-theme="light"] .partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 500;
}

[data-theme="light"] .partner-card:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.20), 0 4px 12px rgba(0, 0, 0, 0.08);
  color: var(--text-primary);
}

[data-theme="light"] .category-label {
  color: var(--text-accent);
  border-bottom: 2px solid var(--border-hover);
  font-weight: 700;
  padding-bottom: 0.5rem;
}

[data-theme="light"] .partners-title {
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .partners-subtitle {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Buttons with refined styling */
[data-theme="light"] .btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: var(--shadow-blue);
  border: none;
}

[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(14, 165, 233, 0.35), 0 4px 12px rgba(14, 165, 233, 0.25);
  transform: translateY(-2px);
}

[data-theme="light"] .btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  font-weight: 600;
}

[data-theme="light"] .btn-secondary:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  color: var(--text-accent);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

/* Feature lists and descriptions with better contrast */
[data-theme="light"] .core-features li,
[data-theme="light"] .feature-item {
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.8;
}

[data-theme="light"] .core-features li::before {
  content: '▶';
  color: var(--text-accent);
  font-size: 0.75rem;
  font-weight: 700;
  transform: translateY(-1px);
}

[data-theme="light"] .core-card:hover .core-features li::before {
  transform: translateY(-1px) translateX(3px);
  color: var(--border-hover);
}

[data-theme="light"] .core-card:hover .core-features li {
  color: var(--text-primary);
}

/* Principle cards */
[data-theme="light"] .principle-number {
  color: var(--text-accent);
  font-weight: 800;
  font-size: 3rem;
}

[data-theme="light"] .principle-title {
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .principle-description {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Contact section */
[data-theme="light"] .contact-title {
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .contact-description {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Stats section */
[data-theme="light"] .stat-number {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

[data-theme="light"] .stat-label {
  color: var(--text-secondary);
  font-weight: 600;
}

[data-theme="light"] .stat-unit {
  color: var(--text-muted);
  font-weight: 600;
}

/* iPhone mockup for better visibility */
[data-theme="light"] .iphone-frame {
  background: #f5f5f5;
  box-shadow: 
    0 0 0 2px #d1d5db,
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 0 2px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .iphone-screen {
  background: #ffffff;
}

[data-theme="light"] .iphone-notch {
  background: #f5f5f5;
}

[data-theme="light"] .progress-bar {
  background: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .progress-text {
  color: rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .preview-nav {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-item {
  opacity: 0.4;
}

[data-theme="light"] .nav-item.active {
  opacity: 1;
}

/* PUC visual elements */
[data-theme="light"] .puc-circle {
  opacity: 1;
}

[data-theme="light"] .puc-circle-1 {
  border: 2px solid rgba(3, 105, 161, 0.25);
  background: rgba(14, 165, 233, 0.05);
}

[data-theme="light"] .puc-circle-2 {
  border: 2px solid rgba(14, 165, 233, 0.35);
  background: rgba(56, 189, 248, 0.08);
}

[data-theme="light"] .puc-circle-3 {
  border: 2px solid rgba(14, 165, 233, 0.45);
  background: rgba(125, 211, 252, 0.12);
}

[data-theme="light"] .puc-circle-4 {
  background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.4), 0 0 80px rgba(14, 165, 233, 0.2);
}

[data-theme="light"] .puc-visual:hover .puc-circle-1 {
  border-color: rgba(3, 105, 161, 0.35);
  background: rgba(14, 165, 233, 0.08);
}

[data-theme="light"] .puc-visual:hover .puc-circle-2 {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(56, 189, 248, 0.12);
}

[data-theme="light"] .puc-visual:hover .puc-circle-3 {
  border-color: rgba(14, 165, 233, 0.55);
  background: rgba(125, 211, 252, 0.16);
}

[data-theme="light"] .puc-visual:hover .puc-circle-4 {
  box-shadow: 0 0 60px rgba(14, 165, 233, 0.5), 0 0 100px rgba(14, 165, 233, 0.25);
}

/* PUC coin animation - enhanced visibility */
[data-theme="light"] .puc-coin-img {
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.25));
}

[data-theme="light"] .core-card:hover .puc-coin-img {
  filter: drop-shadow(0 6px 20px rgba(14, 165, 233, 0.35));
}

/* Theme toggle button - enhanced visibility */
[data-theme="light"] .theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  color: var(--text-accent);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.20);
}

/* Language switcher */
[data-theme="light"] .lang-link {
  color: var(--text-secondary);
}

[data-theme="light"] .lang-link.active,
[data-theme="light"] .lang-link:hover {
  color: var(--text-accent);
  background: var(--bg-accent);
}

/* Navigation active states */
[data-theme="light"] .nav-links a.active {
  color: var(--text-accent);
}

/* Theme and language switcher borders */
[data-theme="light"] .theme-switcher {
  border-left-color: var(--border-strong);
}

[data-theme="light"] .lang-switcher {
  border-left-color: var(--border-strong);
}

[data-theme="light"] .lang-separator {
  color: var(--text-muted);
}

/* Core card title enhancement */
[data-theme="light"] .core-title {
  color: var(--text-primary);
  font-weight: 700;
}

/* Stats card enhancement */
[data-theme="light"] .stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

[data-theme="light"] .stat-card:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}

/* Stats with clear contrast */
[data-theme="light"] .stat-unit,
[data-theme="light"] .stat-label {
  color: var(--text-secondary);
}

/* PUC section elements */
[data-theme="light"] .puc-description,
[data-theme="light"] .puc-feature p {
  color: var(--text-secondary);
  font-weight: 500;
}

[data-theme="light"] .puc-feature h4 {
  color: var(--text-primary);
  font-weight: 700;
}

/* Approach section */
[data-theme="light"] .approach-title,
[data-theme="light"] .principle h4 {
  color: var(--text-primary);
  font-weight: 700;
}

[data-theme="light"] .approach-description,
[data-theme="light"] .principle p {
  color: var(--text-secondary);
  font-weight: 500;
}

[data-theme="light"] .principle-number {
  color: var(--text-accent);
  font-weight: 800;
}

/* Contact section */
[data-theme="light"] .contact-title {
  color: var(--text-primary);
}

[data-theme="light"] .contact-description {
  color: var(--text-secondary);
}

/* Misc elements */
[data-theme="light"] .scroll-indicator {
  color: var(--text-muted);
  font-weight: 600;
}

[data-theme="light"] .scroll-indicator:hover {
  color: var(--text-accent);
}

[data-theme="light"] .menu-toggle span {
  background: var(--text-primary);
}

[data-theme="light"] .menu-toggle:hover span {
  background: var(--text-accent);
}

[data-theme="light"] .theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  color: var(--text-accent);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

/* Mobile navigation styles */
[data-theme="light"] .nav-overlay {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .nav-links {
  background: var(--bg-card);
  border-left: 2px solid var(--border-strong);
}

[data-theme="light"] .nav-links li {
  border-bottom: 1px solid var(--border-color);
}

[data-theme="light"] .nav-links li:last-child {
  border-bottom: none;
}

/* Principle card hover effect */
[data-theme="light"] .principle:hover {
  background: var(--bg-card-elevated);
  border-color: var(--border-strong);
  border-left-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* CTA buttons enhancement */
[data-theme="light"] .hero-cta .btn-primary {
  box-shadow: var(--shadow-blue);
}

[data-theme="light"] .hero-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  font-weight: 600;
}

[data-theme="light"] .hero-cta .btn-secondary:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  color: var(--text-accent);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.20);
}

/* Partner category hover enhancement */
[data-theme="light"] .partner-category:hover .category-label {
  color: var(--text-primary);
}

/* Core icon hover effects */
[data-theme="light"] .icon-finance,
[data-theme="light"] .icon-ip,
[data-theme="light"] .icon-creative,
[data-theme="light"] .icon-gamification {
  transition: all 0.3s ease;
}

[data-theme="light"] .core-card:hover .icon-finance,
[data-theme="light"] .core-card:hover .icon-ip,
[data-theme="light"] .core-card:hover .icon-creative,
[data-theme="light"] .core-card:hover .icon-gamification {
  transform: scale(1.05);
}

/* Pucre character images hover */
[data-theme="light"] .pucre-char {
  transition: all 0.3s ease;
}

[data-theme="light"] .core-card:hover .pucre-char {
  transform: scale(1.05) rotate(2deg);
}

/* iPhone mockup enhancement */
[data-theme="light"] .core-card:hover .iphone-frame {
  box-shadow: 
    0 0 0 2px #0EA5E9,
    0 8px 24px rgba(14, 165, 233, 0.2),
    0 4px 12px rgba(14, 165, 233, 0.15),
    inset 0 0 2px rgba(14, 165, 233, 0.1);
}

[data-theme="light"] .iphone-screen {
  background: #ffffff;
}

[data-theme="light"] .iphone-notch {
  background: #f5f5f5;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(0, 136, 255, 0.1);
  border-color: rgba(0, 136, 255, 0.3);
}

/* Core features list */
[data-theme="light"] .core-features li {
  color: var(--text-secondary);
}

/* Feature numbers */
[data-theme="light"] .feature-number {
  background: linear-gradient(135deg, #0EA5E9 0%, #0369A1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

html {
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ========================================
   2. TYPOGRAPHY - Creative Studio
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3rem, 10vw, 10rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.5rem, 7vw, 6rem);
}

h3 {
  font-size: clamp(2rem, 5vw, 4rem);
}

p {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-flow 8s ease infinite;
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========================================
   3. LAYOUT
======================================== */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   4. HEADER - Glassmorphism
======================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: var(--blur-glass);
  -webkit-backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

nav {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Styles - 4 Circles + Text */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Legacy logo styles (deprecated - keeping for backward compatibility) */
.logo-icon {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 3px;
  width: 27px;
  height: 27px;
}

.logo-icon .circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  transition: var(--transition);
}

.logo-icon .circle.gradient {
  border: none;
  background: linear-gradient(135deg, #00D4FF 0%, #0088CC 100%);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* New image-based logo styles */
.logo-icon-img {
  height: 32px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-text-img {
  height: 24px;
  width: auto;
  display: block;
  transition: var(--transition);
}

/* Logo theme switching - Dark mode (default) */
.logo-light {
  display: none;
}

.logo-dark {
  display: block;
}

/* Logo theme switching - Light mode */
[data-theme="light"] .logo-light {
  display: block;
}

[data-theme="light"] .logo-dark {
  display: none;
}

.logo a {
  display: block;
  text-decoration: none;
}

.logo a:hover .circle {
  transform: scale(1.1);
}

.logo a:hover .circle.gradient {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
}

.logo img {
  height: 32px;
  width: auto;
  /* フィルター削除：ロゴの本来の色を表示 */
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

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

.nav-links a.active {
  color: var(--white);
}

.nav-links a.active::after {
  width: 100%;
}

/* Theme Switcher */
.theme-switcher {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-color);
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.theme-toggle-btn:hover {
  background: var(--border-hover);
  border-color: var(--border-hover);
  transform: scale(1.05);
}

.theme-icon {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: absolute;
}

.theme-icon-dark {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.theme-icon-light {
  opacity: 0;
  transform: translateY(20px) rotate(180deg);
}

[data-theme="light"] .theme-icon-dark {
  opacity: 0;
  transform: translateY(-20px) rotate(-180deg);
}

[data-theme="light"] .theme-icon-light {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--border-color);
}

.lang-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.lang-link:hover {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.05);
}

.lang-link.active {
  color: var(--white);
  background: rgba(0, 212, 255, 0.15);
}

.lang-link::after {
  display: none; /* Remove underline for lang links */
}

.lang-separator {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  position: relative;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* Menu Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* Improve mobile menu */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: var(--blur-glass);
    flex-direction: column;
    padding: 8rem 3rem;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }
  
  .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links.active li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links.active li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.active li:nth-child(4) { transition-delay: 0.25s; }
  
  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
  }
}

/* ========================================
   5. HERO - Full Creative
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Animated Background Grid */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.3;
  background: radial-gradient(circle at 50% 50%, rgba(0, 136, 255, 0.03) 0%, transparent 50%);
}

.grid-canvas {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(0, 136, 255, 0.15) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 136, 255, 0.15) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: grid-move 30s linear infinite;
  mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Floating Orbs - Gamification Visual */
.orbs {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.orbs::before,
.orbs::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(0, 136, 255, 0.6);
  border-radius: 50%;
  box-shadow: 
    0 0 10px rgba(0, 136, 255, 0.8),
    0 0 20px rgba(0, 212, 255, 0.6);
  animation: particle-float 15s linear infinite;
}

.orbs::before {
  top: 20%;
  left: 30%;
  animation-delay: 0s;
}

.orbs::after {
  bottom: 30%;
  right: 20%;
  animation-delay: 7s;
}

@keyframes particle-float {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -200px);
    opacity: 0;
  }
}

/* Circular Economy Visualization */
.circular-flow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(80vw, 700px);
  height: min(80vw, 700px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.circle-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid;
  opacity: 0;
  animation: ring-pulse 8s ease-in-out infinite;
}

.circle-ring-1 {
  width: 40%;
  height: 40%;
  border-color: rgba(0, 136, 255, 0.3);
  animation-delay: 0s;
}

.circle-ring-2 {
  width: 60%;
  height: 60%;
  border-color: rgba(0, 212, 255, 0.25);
  animation-delay: 2.67s;
}

.circle-ring-3 {
  width: 80%;
  height: 80%;
  border-color: rgba(139, 92, 246, 0.2);
  animation-delay: 5.33s;
}

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

/* Flow Particles - Circular Motion */
.flow-particles {
  position: absolute;
  inset: 0;
}

.flow-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--gradient-main);
  border-radius: 50%;
  box-shadow: 
    0 0 15px rgba(0, 136, 255, 0.8),
    0 0 30px rgba(0, 212, 255, 0.5);
  animation: circular-flow 12s linear infinite;
  opacity: 0.8;
}

.flow-particle-1 {
  animation-delay: 0s;
  left: 50%;
  top: 10%;
}

.flow-particle-2 {
  animation-delay: 2s;
  left: 50%;
  top: 10%;
}

.flow-particle-3 {
  animation-delay: 4s;
  left: 50%;
  top: 10%;
}

.flow-particle-4 {
  animation-delay: 6s;
  left: 50%;
  top: 10%;
}

.flow-particle-5 {
  animation-delay: 8s;
  left: 50%;
  top: 10%;
}

.flow-particle-6 {
  animation-delay: 10s;
  left: 50%;
  top: 10%;
}

@keyframes circular-flow {
  0% {
    offset-distance: 0%;
    opacity: 0;
    filter: hue-rotate(0deg);
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
    filter: hue-rotate(360deg);
  }
}

/* Alternative approach using transform for better compatibility */
@keyframes circular-flow {
  0% {
    transform: rotate(0deg) translateX(200px) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  25% {
    box-shadow: 
      0 0 15px rgba(0, 212, 255, 0.8),
      0 0 30px rgba(0, 136, 255, 0.5);
  }
  50% {
    box-shadow: 
      0 0 15px rgba(139, 92, 246, 0.8),
      0 0 30px rgba(0, 212, 255, 0.5);
  }
  75% {
    box-shadow: 
      0 0 15px rgba(0, 136, 255, 0.8),
      0 0 30px rgba(139, 92, 246, 0.5);
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: rotate(360deg) translateX(200px) rotate(-360deg);
    opacity: 0;
  }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: float-orb 20s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-main);
  top: 10%;
  left: 10%;
  opacity: 0.5;
  animation: float-orb 25s ease-in-out infinite, pulse-orb 8s ease-in-out infinite;
  animation-delay: 0s;
}

@keyframes pulse-orb {
  0%, 100% { opacity: 0.5; filter: blur(60px); }
  50% { opacity: 0.7; filter: blur(80px); }
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-game);
  bottom: 20%;
  right: 15%;
  opacity: 0.4;
  animation: float-orb 20s ease-in-out infinite, pulse-orb 6s ease-in-out infinite;
  animation-delay: 3s, 1s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: var(--gradient-finance);
  top: 50%;
  right: 25%;
  opacity: 0.35;
  animation: float-orb 30s ease-in-out infinite, pulse-orb 10s ease-in-out infinite;
  animation-delay: 5s, 2s;
}

@keyframes float-orb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 50px) scale(0.95);
  }
}

/* Hero Content */
.hero-content {
  text-align: center;
  z-index: 1;
  max-width: 1200px;
  position: relative;
  animation: hero-content-enter 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes hero-content-enter {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-label {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--blur-glass);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 4px 12px rgba(0, 136, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-label::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

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

.hero-title {
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 2rem;
  letter-spacing: -0.04em;
  text-shadow: 
    0 0 40px rgba(0, 136, 255, 0.4),
    0 0 80px rgba(0, 212, 255, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.5);
  transform-style: preserve-3d;
  animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
  0% {
    text-shadow: 
      0 0 40px rgba(0, 136, 255, 0.4),
      0 0 80px rgba(0, 212, 255, 0.3),
      0 10px 30px rgba(0, 0, 0, 0.5);
  }
  100% {
    text-shadow: 
      0 0 60px rgba(0, 136, 255, 0.6),
      0 0 120px rgba(0, 212, 255, 0.4),
      0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

/* Hero Logo Container */
.hero-title .logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  filter: drop-shadow(0 0 40px rgba(0, 136, 255, 0.4))
          drop-shadow(0 0 80px rgba(0, 212, 255, 0.3))
          drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  animation: title-glow 3s ease-in-out infinite alternate;
}

.hero-title .logo-icon {
  height: clamp(4rem, 12vw, 10rem);
  width: auto;
  transition: transform 0.3s ease;
}

.hero-title .logo-text {
  height: clamp(3.5rem, 10vw, 8rem);
  width: auto;
  transition: transform 0.3s ease;
}

.hero-title .logo-container:hover .logo-icon,
.hero-title .logo-container:hover .logo-text {
  transform: scale(1.05);
}

/* Theme-based logo visibility */
/* Default: Dark mode - show dark logos, hide light logos */
.hero-title .logo-dark {
  display: block;
}

.hero-title .logo-light {
  display: none;
}

/* Light mode - hide dark logos, show light logos */
[data-theme="light"] .hero-title .logo-dark {
  display: none;
}

[data-theme="light"] .hero-title .logo-light {
  display: block;
}

/* Light mode logo effects */
[data-theme="light"] .hero-title .logo-container {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1))
          drop-shadow(0 4px 16px rgba(0, 136, 255, 0.15));
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 800px;
  margin: 0 auto 3rem;
  font-weight: 300;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  line-height: 1.4;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator::after {
  content: '';
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue-light), transparent);
}

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

/* ========================================
   6. BUTTONS - Creative
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 136, 255, 0.4);
}

.btn-primary:hover::before {
  opacity: 0.1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--blur-glass);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

/* Button Icon */
.btn-icon {
  position: relative;
  z-index: 1;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn:hover .btn-icon {
  transform: translateX(-2px) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.4));
}

/* Email icon special animation - Gold circle */
.btn-primary:hover .btn-icon circle[fill="#FFD700"] {
  animation: pulse-circle-gold 1.5s ease-in-out infinite;
}

.btn-primary:hover .btn-icon circle[fill="white"] {
  animation: pulse-circle-white 1.5s ease-in-out infinite 0.2s;
}

@keyframes pulse-circle-gold {
  0%, 100% {
    opacity: 0.95;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

@keyframes pulse-circle-white {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.4);
  }
}

.btn span {
  position: relative;
  z-index: 1;
}

/* ========================================
   7. ANIMATIONS
======================================== */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fade-in 1s ease-out;
}

.fade-in-delay-1 { animation-delay: 0.2s; animation-fill-mode: backwards; }
.fade-in-delay-2 { animation-delay: 0.4s; animation-fill-mode: backwards; }
.fade-in-delay-3 { animation-delay: 0.6s; animation-fill-mode: backwards; }

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   8. RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  :root {
    --section-padding: clamp(4rem, 10vh, 8rem);
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: var(--blur-glass);
    flex-direction: column;
    padding: 6rem 2rem;
    gap: 2rem;
    transition: var(--transition);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 768px) {
  .orb {
    width: 200px !important;
    height: 200px !important;
  }
}

/* ========================================
   10. WHAT WE DO SECTION
======================================== */
.what-we-do {
  background: var(--black);
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 700px;
  margin: 0 auto;
}

.core-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Tablet: 2 columns (768px - 1343px) */
@media (min-width: 768px) and (max-width: 1343px) {
  .core-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large screens: 2x2 layout (>= 1344px) */
@media (min-width: 1344px) {
  .core-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }
}

.core-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.core-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition);
}

.core-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.core-card:hover::before {
  opacity: 0.05;
}

.core-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Custom Icons - PUC/Pucre Based */
.core-icon-custom {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Finance Icon - PUC 3D Coin */
.icon-finance-coin {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.puc-coin-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 212, 255, 0.4));
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: coin-float-simple 3s ease-in-out infinite;
}

@keyframes coin-float-simple {
  0%, 100% {
    transform: translateY(0px);
    filter: drop-shadow(0 10px 20px rgba(0, 212, 255, 0.4));
  }
  50% {
    transform: translateY(-10px);
    filter: drop-shadow(0 15px 30px rgba(0, 212, 255, 0.6));
  }
}

.core-card:hover .puc-coin-img {
  transform: scale(1.15);
  filter: drop-shadow(0 20px 40px rgba(0, 212, 255, 0.8));
  animation-play-state: paused;
}

/* Finance Icon - PUC Tokens (Old 4 circles design - kept for reference) */
.icon-finance {
  display: flex;
  gap: 8px;
  align-items: center;
}

.puc-token {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.puc-token.glow {
  background: var(--gradient-main);
  border: none;
  box-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
  animation: pulse-glow-icon 2s ease-in-out infinite;
}

@keyframes pulse-glow-icon {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 136, 255, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
  }
}

.core-card:hover .puc-token {
  transform: translateY(-3px);
}

.core-card:hover .puc-token:nth-child(1) { transition-delay: 0s; }
.core-card:hover .puc-token:nth-child(2) { transition-delay: 0.05s; }
.core-card:hover .puc-token:nth-child(3) { transition-delay: 0.1s; }
.core-card:hover .puc-token.glow { transition-delay: 0.15s; }

/* IP Icon - Pucre Base Characters (Creative Floating Layout) */
.pucre-characters-base {
  position: relative;
  width: 160px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pucre-char-base {
  position: absolute;
  object-fit: contain;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 4px 12px rgba(0, 212, 255, 0.3));
  cursor: pointer;
}

/* Character 1 - Top Left (Floating) */
.pucre-char-base:nth-child(1) {
  width: 50px;
  height: 100px;
  left: 5px;
  top: -10px;
  transform: rotate(-8deg);
  z-index: 1;
  animation: float-char1 3s ease-in-out infinite;
}

/* Character 2 - Center (Main) */
.pucre-char-base:nth-child(2) {
  width: 70px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.15);
  z-index: 3;
  animation: float-char2 4s ease-in-out infinite;
}

/* Character 3 - Bottom Right (Floating) */
.pucre-char-base:nth-child(3) {
  width: 50px;
  height: 100px;
  right: 5px;
  bottom: -5px;
  transform: rotate(8deg);
  z-index: 2;
  animation: float-char3 3.5s ease-in-out infinite;
}

/* Floating Animations */
@keyframes float-char1 {
  0%, 100% {
    transform: rotate(-8deg) translateY(0px);
  }
  50% {
    transform: rotate(-10deg) translateY(-8px);
  }
}

@keyframes float-char2 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1.15) translateY(0px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.15) translateY(-10px);
  }
}

@keyframes float-char3 {
  0%, 100% {
    transform: rotate(8deg) translateY(0px);
  }
  50% {
    transform: rotate(10deg) translateY(-6px);
  }
}

/* Hover Effects - Interactive */
.core-card:hover .pucre-char-base:nth-child(1) {
  transform: rotate(-15deg) translateY(-15px) scale(1.2);
  filter: drop-shadow(0 8px 20px rgba(0, 212, 255, 0.6));
  z-index: 4;
}

.core-card:hover .pucre-char-base:nth-child(2) {
  transform: translate(-50%, -50%) scale(1.3);
  filter: drop-shadow(0 10px 25px rgba(0, 212, 255, 0.7));
  z-index: 5;
}

.core-card:hover .pucre-char-base:nth-child(3) {
  transform: rotate(15deg) translateY(-12px) scale(1.2);
  filter: drop-shadow(0 8px 20px rgba(0, 212, 255, 0.6));
  z-index: 4;
}

/* Pause animation on hover for better interaction */
.core-card:hover .pucre-char-base {
  animation-play-state: paused;
}

/* IP Icon - Pucre Characters (Old collaboration design - kept for reference) */
.pucre-characters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 120px;
  height: 120px;
}

.pucre-char {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.core-card:hover .pucre-char {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.1);
}

.core-card:hover .pucre-char:nth-child(1) { 
  transition-delay: 0s;
  transform: scale(1.1) rotate(-5deg);
}
.core-card:hover .pucre-char:nth-child(2) { 
  transition-delay: 0.1s;
  transform: scale(1.1) rotate(5deg);
}
.core-card:hover .pucre-char:nth-child(3) { 
  transition-delay: 0.2s;
  transform: scale(1.1) rotate(-5deg);
}
.core-card:hover .pucre-char:nth-child(4) { 
  transition-delay: 0.3s;
  transform: scale(1.1) rotate(5deg);
}

/* IP Icon - Pucre Character Face (Old design - kept for reference) */
.icon-character {
  width: 80px;
  height: 80px;
  position: relative;
}

.character-face {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-game);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.4);
  animation: character-bounce 3s ease-in-out infinite;
}

@keyframes character-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.05);
  }
}

.char-eyes {
  display: flex;
  gap: 12px;
}

.char-eyes span {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: blink 4s ease-in-out infinite;
}

@keyframes blink {
  0%, 48%, 52%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.1);
  }
}

.char-smile {
  width: 20px;
  height: 10px;
  border: 2px solid var(--white);
  border-top: none;
  border-radius: 0 0 20px 20px;
}

/* Creative Icon - Play Button + Sound Waves */
.icon-creative {
  width: 80px;
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.play-triangle {
  width: 0;
  height: 0;
  border-left: 12px solid var(--blue-light);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  margin-left: 3px;
}

.core-card:hover .play-button {
  background: var(--gradient-main);
  border-color: transparent;
}

.core-card:hover .play-triangle {
  border-left-color: var(--white);
}

.sound-waves {
  position: absolute;
  right: -10px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.sound-waves span {
  width: 3px;
  background: var(--blue-light);
  border-radius: 2px;
  animation: wave 1.5s ease-in-out infinite;
}

.sound-waves span:nth-child(1) {
  height: 12px;
  animation-delay: 0s;
}

.sound-waves span:nth-child(2) {
  height: 20px;
  animation-delay: 0.15s;
}

.sound-waves span:nth-child(3) {
  height: 16px;
  animation-delay: 0.3s;
}

@keyframes wave {
  0%, 100% {
    transform: scaleY(0.5);
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Game Icon - iPhone Mockup with App Screenshot */
.iphone-mockup {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-frame {
  position: relative;
  width: 85px;
  height: 100px;
  background: #1a1a1a;
  border-radius: 14px;
  padding: 3px;
  box-shadow: 
    0 0 0 2px #2a2a2a,
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.iphone-notch {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 6px;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
  z-index: 2;
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.app-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #87CEEB 0%, #98D8C8 50%, #90EE90 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Pucre App Preview Design */
.pucre-preview {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
}

.preview-character {
  font-size: 2.5rem;
  margin-top: 10px;
  animation: character-bounce-small 2s ease-in-out infinite;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

@keyframes character-bounce-small {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.preview-progress {
  width: 90%;
  text-align: center;
  margin-top: 0; /* リセット */
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
  margin-top: 8px; /* プログレスバーを下に */
}

.progress-fill {
  width: 21%;
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #34D399 100%);
  animation: progress-grow 3s ease-in-out infinite;
}

@keyframes progress-grow {
  0%, 100% { width: 21%; }
  50% { width: 23%; }
}

.progress-text {
  font-size: 0.5rem;
  color: rgba(0, 0, 0, 0.7);
  font-weight: 600;
  margin-top: -4px; /* テキストを上に */
}

.preview-nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 100%;
  padding: 4px 0;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
}

.nav-item {
  font-size: 0.9rem;
  opacity: 0.5;
  transition: var(--transition);
}

.nav-item.active {
  opacity: 1;
  transform: scale(1.2);
}

.placeholder-icon {
  font-size: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.placeholder-text {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
}

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

.iphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  z-index: 2;
}

/* Hover Effect */
.core-card:hover .iphone-frame {
  transform: scale(1.1) rotateY(5deg);
  box-shadow: 
    0 0 0 2px #3a3a3a,
    0 15px 40px rgba(0, 136, 255, 0.3),
    inset 0 0 3px rgba(0, 212, 255, 0.2);
}

/* Floating Animation */
.iphone-frame {
  animation: iphone-float 3s ease-in-out infinite;
}

@keyframes iphone-float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.core-card:hover .iphone-frame {
  animation-play-state: paused;
}

/* Game Icon - Game Controller (Old design - kept for reference) */
.icon-game {
  width: 80px;
  height: 60px;
  position: relative;
}

.game-controller {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--purple);
  border-radius: 30px 30px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  position: relative;
  transition: var(--transition);
}

.core-card:hover .game-controller {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--purple);
  transform: scale(1.05);
}

.controller-dpad {
  width: 20px;
  height: 20px;
  position: relative;
}

.controller-dpad::before,
.controller-dpad::after {
  content: '';
  position: absolute;
  background: var(--purple);
  border-radius: 2px;
}

.controller-dpad::before {
  width: 100%;
  height: 6px;
  top: 50%;
  transform: translateY(-50%);
}

.controller-dpad::after {
  width: 6px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.controller-buttons {
  display: flex;
  gap: 6px;
}

.controller-buttons span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple);
  animation: button-glow 2s ease-in-out infinite;
}

.controller-buttons span:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes button-glow {
  0%, 100% {
    opacity: 0.5;
    box-shadow: 0 0 0 rgba(139, 92, 246, 0);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
  }
}

.core-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.core-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.core-features {
  list-style: none;
  position: relative;
  z-index: 1;
}

.core-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
}

.core-features li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-size: 0.7rem;
  transform: translateY(2px);
  transition: all 0.3s ease;
}

.core-card:hover .core-features li::before {
  transform: translateY(2px) translateX(3px);
  color: var(--blue-primary);
}

/* ========================================
   11. PUC SECTION
======================================== */
.puc-section {
  background: var(--black);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.puc-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.puc-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.puc-title {
  font-size: clamp(4rem, 8vw, 8rem);
  margin-bottom: 2rem;
  line-height: 1;
}

.puc-description {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.puc-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.puc-feature {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.feature-text h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-text p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.puc-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.puc-circle {
  position: absolute;
  border-radius: 50%;
  animation: float-orb 15s ease-in-out infinite;
}

.puc-circle-1 {
  width: 80%;
  height: 80%;
  border: 2px solid rgba(0, 136, 255, 0.3);
}

.puc-circle-2 {
  width: 60%;
  height: 60%;
  border: 2px solid rgba(0, 212, 255, 0.3);
  animation-delay: 2s;
}

.puc-circle-3 {
  width: 40%;
  height: 40%;
  border: 2px solid rgba(139, 92, 246, 0.3);
  animation-delay: 4s;
}

.puc-circle-4 {
  width: 20%;
  height: 20%;
  background: var(--gradient-main);
  box-shadow: 0 0 60px rgba(0, 136, 255, 0.5);
  animation-delay: 6s;
}

/* ========================================
   12. IMPACT SECTION - Complete Redesign v6.1.0
======================================== */
/* ========================================
   PUCRE APP SECTION
======================================== */
.pucre-app-section {
  position: relative;
  background: var(--bg-secondary);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.pucre-app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}

.pucre-app-left {
  max-width: 600px;
}

.app-label {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 136, 255, 0.1);
  border: 1px solid rgba(0, 136, 255, 0.3);
  border-radius: 50px;
  color: var(--blue-light);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.app-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 2rem;
}

.app-description {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.app-feature-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.app-cta {
  margin-top: 2rem;
}

/* App Screenshots */
.pucre-app-right {
  position: relative;
  height: 600px;
}

.app-screens {
  position: relative;
  width: 100%;
  height: 100%;
}

.screen-mockup {
  position: absolute;
  width: 280px;
  height: 560px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

.screen-1 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: float-screen-1 6s ease-in-out infinite;
}

.screen-2 {
  left: 0;
  top: 50%;
  transform: translate(0, -50%) rotate(-5deg) scale(0.9);
  z-index: 2;
  opacity: 0.8;
  animation: float-screen-2 7s ease-in-out infinite;
}

.screen-3 {
  right: 0;
  top: 50%;
  transform: translate(0, -50%) rotate(5deg) scale(0.9);
  z-index: 2;
  opacity: 0.8;
  animation: float-screen-3 8s ease-in-out infinite;
}

@keyframes float-screen-1 {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}

@keyframes float-screen-2 {
  0%, 100% { transform: translate(0, -50%) rotate(-5deg) scale(0.9) translateY(0); }
  50% { transform: translate(0, -50%) rotate(-5deg) scale(0.9) translateY(-15px); }
}

@keyframes float-screen-3 {
  0%, 100% { transform: translate(0, -50%) rotate(5deg) scale(0.9) translateY(0); }
  50% { transform: translate(0, -50%) rotate(5deg) scale(0.9) translateY(-15px); }
}

.mockup-frame {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 40px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

/* App Screenshot Image */
.mockup-frame .app-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

.mockup-content {
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.screen-demo {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.demo-character {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.pucre-char {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 136, 255, 0.3));
}

.demo-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Calendar Screen */
.screen-calendar {
  padding: 1.5rem;
}

.calendar-header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 8px;
  font-size: 0.875rem;
}

.calendar-day.active {
  background: var(--gradient-main);
  color: white;
  font-weight: 700;
}

.calendar-total {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-top: 1rem;
}

/* Market Screen */
.screen-market {
  padding: 1.5rem;
}

.market-header {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.market-item {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
}

.item-image {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.item-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.item-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--blue-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .pucre-app-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pucre-app-right {
    height: 500px;
  }
  
  .screen-mockup {
    width: 240px;
    height: 480px;
  }
}

@media (max-width: 768px) {
  .pucre-app-content {
    gap: 2rem;
  }
  
  .pucre-app-left {
    order: 1;
  }
  
  .pucre-app-right {
    height: 450px;
    order: 2;
    margin-top: 2rem;
  }
  
  .screen-mockup {
    width: 200px;
    height: 400px;
  }
  
  .screen-2,
  .screen-3 {
    display: none;
  }
  
  .screen-1 {
    width: 260px;
    height: 520px;
  }
  
  .app-cta {
    margin-top: 2rem;
    margin-bottom: 2rem;
    z-index: 10;
    position: relative;
  }
}

@media (max-width: 480px) {
  .pucre-app-right {
    height: 380px;
  }
  
  .screen-1 {
    width: 220px;
    height: 440px;
  }
  
  .app-cta {
    margin-bottom: 3rem;
  }
  
  .app-cta .btn {
    width: 100%;
    text-align: center;
    padding: 1rem 2rem;
  }
}

/* ========================================
   IMPACT SECTION
======================================== */
.impact-section {
  position: relative;
  background: var(--bg-primary);
  padding: var(--section-padding) 0;
  overflow: hidden;
}

/* Stats Grid - Desktop First */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.stat-card {
  position: relative;
  text-align: center;
  padding: 3.5rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Stat Card Hover Effects */
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.stat-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-strong), 0 20px 60px rgba(14, 165, 233, 0.25);
}

.stat-card:hover::before {
  opacity: 0.05;
}

/* Stat Content */
.stat-card > * {
  position: relative;
  z-index: 1;
}

.stat-number {
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out forwards;
}

.stat-unit {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.1s forwards;
  opacity: 0;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

/* Partners Section */
.partners {
  text-align: center;
  margin-top: 6rem;
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
}

.partners-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.partners-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 4rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Partners Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-category {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* Partner Category Gradient Effect */
.partner-category::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.partner-category:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-strong), 0 15px 45px rgba(14, 165, 233, 0.2);
}

.partner-category:hover::before {
  opacity: 0.03;
}

/* Partner Category Content */
.partner-category > * {
  position: relative;
  z-index: 1;
}

.category-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-accent);
  font-weight: 700;
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border-strong);
}

.category-items {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.partner-card {
  padding: 1rem 1.5rem;
  background: var(--bg-tertiary);
  backdrop-filter: var(--blur-glass);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-align: center;
  cursor: default;
}

.partner-card:hover {
  background: var(--bg-accent);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateX(8px);
  box-shadow: 0 5px 20px rgba(14, 165, 233, 0.15);
}

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

/* ========================================
   13. APPROACH SECTION
======================================== */
.approach-section {
  background: var(--black);
  padding: var(--section-padding) 0;
}

.approach-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.approach-title {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 2rem;
}

.approach-description {
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.approach-principles {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.principle {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--blue-light);
  border-radius: 12px;
}

.principle-number {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.principle h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.principle p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ========================================
   14. NEWS PREVIEW SECTION
======================================== */
.news-preview-section {
  background: var(--bg-secondary);
  padding: var(--section-padding) 0;
}

.news-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.loading-mini {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 3rem 0;
}

.spinner-mini {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 136, 255, 0.1);
  border-top-color: var(--blue-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.news-preview-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-preview-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 20px 50px rgba(0, 136, 255, 0.1);
}

.news-preview-image {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(0, 136, 255, 0.1), rgba(0, 212, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-preview-card:hover .news-preview-image img {
  transform: scale(1.05);
}

.news-preview-image.no-image::after {
  content: '📰';
  font-size: 3rem;
  opacity: 0.3;
}

.news-preview-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-preview-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-preview-category {
  padding: 0.3rem 0.8rem;
  background: rgba(0, 136, 255, 0.1);
  border: 1px solid rgba(0, 136, 255, 0.3);
  border-radius: 16px;
  color: var(--blue-light);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.news-preview-date {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.news-preview-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-preview-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Light theme */
[data-theme="light"] .news-preview-section {
  background: var(--bg-secondary);
}

[data-theme="light"] .news-preview-card {
  background: var(--bg-card);
  border-color: var(--border-color);
  box-shadow: var(--shadow-soft);
}

[data-theme="light"] .news-preview-card:hover {
  border-color: var(--border-hover);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.12),
    0 20px 50px rgba(14, 165, 233, 0.15);
}

[data-theme="light"] .news-preview-category {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--text-accent);
}

/* ========================================
   NEWS DETAIL MODAL
======================================== */
.news-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
}

.news-modal.active {
  display: block;
}

.news-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.news-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 24px;
  overflow: hidden;
  animation: modalSlideIn 0.4s ease;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 10px 30px rgba(0, 0, 0, 0.2);
}

.news-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-modal-close:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: rgba(255, 0, 0, 0.5);
  transform: rotate(90deg);
}

.news-modal-body {
  padding: 3rem;
  overflow-y: auto;
  max-height: 90vh;
}

.news-modal-header {
  margin-bottom: 2rem;
}

.news-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.news-modal-category {
  padding: 0.5rem 1.2rem;
  background: rgba(0, 136, 255, 0.15);
  border: 1px solid rgba(0, 136, 255, 0.4);
  border-radius: 24px;
  color: var(--blue-light);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-modal-date {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.news-modal-featured-badge {
  padding: 0.5rem 1rem;
  background: var(--gradient-main);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.4);
}

.news-modal-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.news-modal-image {
  width: calc(100% + 6rem);
  margin-left: -3rem;
  margin-right: -3rem;
  margin-bottom: 2rem;
  max-height: 400px;
  overflow: hidden;
}

.news-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-modal-content-text {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.news-modal-content-text h2,
.news-modal-content-text h3,
.news-modal-content-text h4 {
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.news-modal-content-text h2 {
  font-size: 2rem;
}

.news-modal-content-text h3 {
  font-size: 1.5rem;
}

.news-modal-content-text h4 {
  font-size: 1.25rem;
}

.news-modal-content-text p {
  margin-bottom: 1.5rem;
}

.news-modal-content-text ul,
.news-modal-content-text ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

.news-modal-content-text li {
  margin-bottom: 0.75rem;
}

.news-modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.news-modal-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.news-modal-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.news-modal-view-all {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--bg-card-elevated);
  border: 2px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.news-modal-view-all:hover {
  border-color: var(--border-hover);
  background: var(--bg-accent);
  transform: translateY(-2px);
}

/* Light theme */
[data-theme="light"] .news-modal-content {
  background: var(--bg-card);
  border-color: var(--border-strong);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.15),
    0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .news-modal-close {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--border-color);
  color: var(--text-primary);
}

[data-theme="light"] .news-modal-close:hover {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
  color: #ff0000;
}

[data-theme="light"] .news-modal-category {
  background: rgba(14, 165, 233, 0.1);
  border-color: rgba(14, 165, 233, 0.3);
  color: var(--text-accent);
}

[data-theme="light"] .news-modal-tag {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .news-modal-view-all {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-theme="light"] .news-modal-view-all:hover {
  border-color: var(--border-hover);
  background: var(--bg-accent);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .news-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .news-modal-body {
    padding: 2rem 1.5rem;
  }

  .news-modal-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .news-modal-title {
    font-size: 1.75rem;
  }

  .news-modal-image {
    width: calc(100% + 3rem);
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  .news-modal-content-text {
    font-size: 1rem;
  }
}

/* ========================================
   15. CONTACT SECTION
======================================== */
.contact-section {
  background: var(--bg-primary);
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.contact-content {
  max-width: 900px;
  margin: 0 auto;
}

/* Form Tabs */
.form-tabs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.form-tab {
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-tab:hover {
  border-color: rgba(0, 136, 255, 0.3);
  color: var(--blue-light);
}

.form-tab.active {
  background: var(--gradient-main);
  border-color: transparent;
  color: white;
}

/* Form Container */
.form-container {
  /* タブなしの場合は常に表示 */
  visibility: visible;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

/* タブがある場合用（下位互換性のため残す） */
.form-container.hidden {
  visibility: hidden;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.form-container.active {
  visibility: visible;
  height: auto;
  opacity: 1;
  animation: fadeIn 0.5s ease;
}

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

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-strong);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9375rem;
}

.required {
  color: #FF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: rgba(0, 136, 255, 0.05);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

/* Checkbox Group */
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem;
  background: var(--bg-primary);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.checkbox-label:hover {
  border-color: rgba(0, 136, 255, 0.3);
  background: rgba(0, 136, 255, 0.05);
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: var(--blue-light);
}

.checkbox-label span {
  font-size: 0.9375rem;
  color: var(--text-primary);
}

/* Form Submit Button */
.btn-form-submit {
  width: 100%;
  margin-top: 1rem;
  justify-content: center;
  gap: 0.75rem;
}

.btn-form-submit .btn-icon {
  order: 2;
}

/* Hidden honeypot field */
.hidden {
  display: none;
}

/* Contact Info */
.contact-info {
  margin-top: 3rem;
  text-align: center;
}

.contact-info-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.contact-icon {
  color: var(--blue-light);
  flex-shrink: 0;
}

.contact-info-text {
  text-align: left;
}

.contact-info-text h4 {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-info-text a {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--blue-light);
}

/* Responsive */
@media (max-width: 768px) {
  .form-tabs {
    flex-direction: column;
  }
  
  .form-tab {
    width: 100%;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .checkbox-group {
    grid-template-columns: 1fr;
  }
  
  .contact-info-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-info-text {
    text-align: center;
  }
}

/* ========================================
   15. FOOTER
======================================== */
.footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo .logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo .logo-icon {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 3px;
  width: 27px;
  height: 27px;
}

.footer-logo .circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
}

.footer-logo .circle.gradient {
  border: none;
  background: linear-gradient(135deg, #00D4FF 0%, #0088CC 100%);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.footer-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Footer image-based logo styles */
.footer-logo .logo-icon-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo .logo-text-img {
  height: 28px;
  width: auto;
  display: block;
}

/* Footer logo theme switching - inherits from header rules */
.footer-logo .logo-light {
  display: none;
}

.footer-logo .logo-dark {
  display: block;
}

[data-theme="light"] .footer-logo .logo-light {
  display: block;
}

[data-theme="light"] .footer-logo .logo-dark {
  display: none;
}

.footer-logo img {
  /* フィルター削除：ロゴの本来の色を表示 */
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

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

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   16. RESPONSIVE FOR NEW SECTIONS
======================================== */

/* Tablet (1024px) */
@media (max-width: 1280px) {
  :root {
    --section-padding: clamp(5rem, 12vh, 10rem);
  }
}

@media (max-width: 1024px) {
  :root {
    --section-padding: clamp(4rem, 10vh, 8rem);
  }
  
  .puc-content,
  .approach-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  /* Impact Section - Tablet (1024px) */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .stat-card {
    padding: 3rem 2rem;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .partner-category {
    padding: 2rem;
  }
  
  /* Touch-friendly */
  .btn {
    min-height: 48px;
    padding: 1rem 2rem;
  }
}

/* Mobile (768px) */
@media (max-width: 768px) {
  :root {
    --section-padding: clamp(3rem, 8vh, 6rem);
  }
  
  /* Typography mobile */
  h1 {
    font-size: clamp(2.5rem, 10vw, 6rem);
  }
  
  h2 {
    font-size: clamp(2rem, 7vw, 4rem);
  }
  
  h3 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  /* Hero mobile */
  .hero {
    min-height: 100svh;
    padding: 6rem 1.5rem 4rem;
  }
  
  .hero-title {
    font-size: clamp(3rem, 12vw, 6rem);
    margin-bottom: 1.5rem;
  }
  
  /* Hero Logo Mobile */
  .hero-title .logo-container {
    gap: 1rem;
  }
  
  .hero-title .logo-icon {
    height: clamp(3rem, 10vw, 6rem);
  }
  
  .hero-title .logo-text {
    height: clamp(2.5rem, 8vw, 5rem);
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
  }
  
  .hero-label {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  /* Orbs mobile */
  .orb {
    width: 200px !important;
    height: 200px !important;
    filter: blur(40px);
  }
  
  /* Grids mobile */
  .core-grid {
    grid-template-columns: 1fr;
  }
  
  /* Impact Section - Mobile (768px) */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
  }
  
  .stat-card {
    padding: 2.5rem 2rem;
  }
  
  .stat-number {
    font-size: clamp(3rem, 10vw, 4.5rem);
  }
  
  .stat-unit {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.875rem;
  }
  
  .core-card {
    padding: 2rem 1.5rem;
  }
  
  /* PUC mobile */
  .puc-visual {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .puc-features {
    gap: 1.5rem;
  }
  
  .feature-number {
    font-size: 1.5rem;
  }
  
  /* Approach mobile */
  .principle {
    padding: 1.5rem;
  }
  
  /* Contact mobile */
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Touch targets */
  a, button, .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-links a {
    padding: 0.75rem 0;
  }
  
  /* Partners Section - Mobile (768px) */
  .partners {
    margin-top: 4rem;
  }
  
  .partners-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    margin-bottom: 0.75rem;
  }
  
  .partners-subtitle {
    font-size: 1rem;
    margin-bottom: 3rem;
  }
  
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .partner-category {
    padding: 2rem 1.5rem;
  }
  
  .category-label {
    font-size: 0.7rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
  }
  
  .category-items {
    gap: 0.75rem;
  }
  
  .partner-card {
    font-size: 0.875rem;
    padding: 0.875rem 1.25rem;
  }
}

/* Small mobile (480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .circular-flow {
    width: 95vw;
    height: 95vw;
    opacity: 0.4;
  }
  
  .flow-particle {
    width: 6px;
    height: 6px;
  }
  
  .circle-ring {
    border-width: 0.5px;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }
  
  .section-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  
  .core-card,
  .stat-card,
  .principle {
    padding: 1.5rem 1rem;
  }
  
  .puc-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Landscape mobile */
@media (max-width: 896px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 1.5rem 3rem;
  }
  
  :root {
    --section-padding: clamp(3rem, 8vh, 5rem);
  }
  
  .orb {
    display: none;
  }
}

/* High DPI */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ========================================
   9. ACCESSIBILITY
======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip link - visible on focus */
.skip-link {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--white);
  color: var(--black);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
  clip: auto;
  width: auto;
  height: auto;
  overflow: visible;
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

/* Improve focus visibility on dark background */
.nav-links a:focus {
  outline-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }
  
  .core-card,
  .stat-card,
  .principle {
    border-width: 2px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .orb,
  .grid-canvas {
    animation: none !important;
  }
}

/* Reduce animations class (for slow connections) */
.reduce-animations * {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}
