/* =========================
   RESET & VARIABLES
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-dark: #0A0E1A;
    --bg-card: #111827;
    --bg-surface: #0F172A;
    --bg-elevated: #1E293B;
    
    --cyan: #00E5FF;
    --cyan-dark: #00B4CC;
    --blue: #3B82F6;
    --blue-dark: #2563EB;
    --purple: #A855F7;
    --purple-dark: #9333EA;
    
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    
    --border-light: rgba(51, 65, 85, 0.5);
    --border-glow: rgba(0, 229, 255, 0.3);
    
    --gradient-primary: linear-gradient(135deg, var(--cyan), var(--blue), var(--purple));
    --gradient-cyan: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
    --gradient-blue: linear-gradient(135deg, var(--blue), var(--blue-dark));
    
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================
   TYPOGRAPHY
========================= */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
    border: 1px solid var(--border-light);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* =========================
   HEADER & TOP BAR
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
    gap: 16px;
}

/* =========================
   REGION BADGES
========================= */
.region-badges {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.badge:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.badge img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.badge span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* =========================
   LANGUAGE SELECTOR
========================= */
.language-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: inherit;
}

.lang-btn img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* =========================
   SOCIAL LINKS
========================= */
.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* =========================
   NAVIGATION
========================= */
.main-nav {
    background: rgba(17, 24, 39, 0.5);
    border-radius: 60px;
    padding: 8px 24px;
    border: 1px solid var(--border-light);
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link i {
    font-size: 1.2rem;
    color: var(--cyan);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.highlight {
    background: var(--gradient-primary);
    padding: 8px 20px;
    border-radius: 40px;
    color: white;
}

.nav-link.highlight i {
    color: white;
}

.nav-link.highlight::after {
    display: none;
}

.nav-link.highlight:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* =========================
   HERO SECTION
========================= */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.08), transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--border-light);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1rem;
}

.hero-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyber-sphere {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--cyan), var(--purple));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: pulse 4s infinite;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: var(--cyan);
    filter: drop-shadow(0 0 10px var(--cyan));
    animation: float 3s ease-in-out infinite;
}

.floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 60%; right: 10%; animation-delay: 0.5s; }
.floating-icons i:nth-child(3) { bottom: 20%; left: 20%; animation-delay: 1s; }
.floating-icons i:nth-child(4) { top: 30%; right: 25%; animation-delay: 1.5s; }

.hero-image {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-glow);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* =========================
   ABOUT SECTION
========================= */
.about {
    padding: 80px 0;
    background: var(--bg-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.about-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.about-icon i {
    font-size: 2.5rem;
    color: var(--cyan);
}

.about-card h3 {
    margin-bottom: 16px;
}

.about-card p {
    color: var(--text-secondary);
}

/* =========================
   FEATURES SECTION
========================= */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 32px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--cyan);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.feature-image {
    width: 100%;
    height: 160px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 16px;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* =========================
   SERVICES SECTION
========================= */
.services {
    padding: 80px 0;
    background: var(--bg-surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.service-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
    text-align: center;
}

.service-content i {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 16px;
}

.service-content h3 {
    margin-bottom: 12px;
}

.service-content p {
    color: var(--text-secondary);
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05), rgba(168, 85, 247, 0.05));
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand i {
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 16px;
}

.footer-brand h3 {
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.footer-contact i {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =========================
   TOAST NOTIFICATION
========================= */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    font-size: 0.9rem;
    box-shadow: var(--shadow-glow);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 968px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .nav-list {
        gap: 16px;
    }
    
    .nav-link span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .header-top {
        flex-direction: column;
        align-items: stretch;
    }
    
    .region-badges {
        justify-content: center;
    }
    
    .language-selector {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .badge span {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .lang-btn span {
        display: none;
    }
    
    .lang-btn {
        padding: 8px;
    }
    
    .badge span {
        display: none;
    }
    
    .badge {
        padding: 8px;
    }
    
    .badge img {
        width: 28px;
        height: 28px;
    }
    
    .nav-link span {
        display: none;
    }
    
    .nav-link i {
        font-size: 1.4rem;
    }
    
    .main-nav {
        border-radius: 30px;
        padding: 8px 16px;
    }
}