/* Tiny Cloud - Modern Enterprise CSS (Restored) */
:root {
    --tc-bg-main: #ffffff;
    --tc-bg-secondary: #fafafa;
    --tc-text-primary: #111827;
    --tc-text-secondary: #4b5563;
    --tc-text-muted: #6b7280;
    --tc-brand: #0ea5e9;
    --tc-brand-hover: #0284c7;
    --tc-border: #e5e7eb;
    --tc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --tc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--tc-bg-main);
    color: var(--tc-text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.tc-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 { margin-top: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin-top: 0; margin-bottom: 1.5rem; }

/* Buttons */
.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.tc-btn-primary { background-color: var(--tc-brand); color: #ffffff; border: 1px solid transparent; }
.tc-btn-primary:hover { background-color: var(--tc-brand-hover); box-shadow: var(--tc-shadow-md); transform: translateY(-1px); }
.tc-btn-secondary { background-color: #ffffff; color: var(--tc-text-primary); border: 1px solid var(--tc-border); }
.tc-btn-secondary:hover { background-color: var(--tc-bg-secondary); border-color: #d1d5db; }
.tc-btn-text { background-color: transparent; color: var(--tc-text-secondary); padding: 10px 16px; }
.tc-btn-text:hover { color: var(--tc-text-primary); background-color: var(--tc-bg-secondary); }
.tc-btn-large { padding: 14px 28px; font-size: 1.05rem; }
.tc-btn-full { width: 100%; }

/* Header */
.tc-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--tc-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.tc-header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.tc-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.05em; color: var(--tc-text-primary); }
.tc-nav { display: flex; gap: 32px; }
.tc-nav a { color: var(--tc-text-secondary); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.tc-nav a:hover { color: var(--tc-text-primary); }
.tc-header-actions { display: flex; gap: 12px; align-items: center; }

/* ====== 3D Data Center Hero Animation ====== */
.tc-hero {
    position: relative;
    overflow: hidden;
    background-color: #060913; /* 深いミッドナイトブルー */
    padding: 160px 0 120px;
    z-index: 1;
    text-align: center;
}

/* 画面奥の深い暗闇（グラデーション） */
.tc-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center 30%, rgba(14, 165, 233, 0.15) 0%, transparent 60%);
    z-index: -1;
}

/* 3Dパースペクティブを持たせた動く床（サーバーラックの床面イメージ） */
.tc-hero::after {
    content: '';
    position: absolute;
    top: 50%; left: -50%; right: -50%; bottom: -50%;
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    transform-origin: center top;
    transform: perspective(600px) rotateX(75deg);
    animation: gridMove 3s linear infinite;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 60%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 60%);
}

.tc-hero-content {
    position: relative;
    z-index: 2;
}

.tc-hero h1 { font-size: 4rem; color: #ffffff; text-shadow: 0 0 30px rgba(14,165,233,0.5); margin-bottom: 24px; line-height: 1.1;}
.tc-hero h1 span { background: linear-gradient(135deg, #38bdf8 0%, #a855f7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.tc-hero p { font-size: 1.25rem; color: #94a3b8; max-width: 800px; margin: 0 auto 40px;}
.tc-hero-badge { 
    display: inline-block;
    background-color: rgba(14, 165, 233, 0.1); 
    color: #38bdf8; 
    border: 1px solid rgba(14, 165, 233, 0.3); 
    box-shadow: 0 0 15px rgba(14,165,233,0.2);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 9999px;
    margin-bottom: 32px;
}
.tc-hero-buttons { display: flex; justify-content: center; gap: 16px; }

@keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 0 50px; }
}

/* Sections */
.tc-section { padding: 96px 0; }
.tc-section-title { font-size: 2.5rem; text-align: center; margin-bottom: 16px; }
.tc-section-subtitle { font-size: 1.1rem; color: var(--tc-text-secondary); text-align: center; margin-bottom: 64px; }
.tc-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }

/* Features */
.tc-features { background-color: var(--tc-bg-main); }
.tc-card {
    padding: 32px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--tc-border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tc-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow-lg); }
.tc-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #f0f9ff;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.tc-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.tc-card p { color: var(--tc-text-secondary); margin-bottom: 0; font-size: 1rem; line-height: 1.7; }

/* Pricing */
.tc-pricing { background-color: var(--tc-bg-secondary); border-top: 1px solid var(--tc-border); }
.tc-pricing-card {
    background: #ffffff;
    border: 1px solid var(--tc-border);
    border-radius: 16px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
}
.tc-pricing-card.tc-popular { border: 2px solid var(--tc-brand); box-shadow: var(--tc-shadow-lg); transform: scale(1.02); }
.tc-badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--tc-brand);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    text-transform: uppercase;
}
.tc-pricing-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.tc-pricing-card p { color: var(--tc-text-secondary); font-size: 0.95rem; margin-bottom: 24px; height: 44px; }
.tc-price { font-size: 3rem; font-weight: 800; color: var(--tc-text-primary); margin-bottom: 32px; line-height: 1; }
.tc-price span { font-size: 1rem; font-weight: 500; color: var(--tc-text-muted); }
.tc-pricing-card ul { list-style: none; padding: 0; margin: 0 0 32px 0; flex-grow: 1; }
.tc-pricing-card li { display: flex; align-items: center; margin-bottom: 16px; font-size: 0.95rem; color: var(--tc-text-secondary); }
.tc-pricing-card li::before { content: ✓; color: #10b981; font-weight: bold; margin-right: 12px; }

/* Footer */
.tc-footer { background-color: #ffffff; border-top: 1px solid var(--tc-border); padding: 80px 0 40px; }
.tc-footer-content { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; margin-bottom: 64px; }
.tc-footer-brand p { color: var(--tc-text-muted); font-size: 0.9rem; margin-top: 24px; }
.tc-footer-links { display: flex; justify-content: flex-end; gap: 80px; }
.tc-link-group h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--tc-text-primary); margin-bottom: 24px; }
.tc-link-group a { display: block; color: var(--tc-text-secondary); text-decoration: none; font-size: 0.95rem; margin-bottom: 16px; transition: color 0.2s; }
.tc-link-group a:hover { color: var(--tc-text-primary); }
.tc-footer-bottom { text-align: center; border-top: 1px solid var(--tc-border); padding-top: 32px; color: var(--tc-text-muted); font-size: 0.9rem; }

/* Mobile */
@media (max-width: 768px) {
    .tc-nav, .tc-btn-text { display: none; }
    .tc-hero h1 { font-size: 2.5rem; }
    .tc-hero-buttons { flex-direction: column; }
    .tc-pricing-card.tc-popular { transform: none; }
    .tc-footer-content { grid-template-columns: 1fr; gap: 40px; }
    .tc-footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

/* ====== Subpage Hero Banner ====== */
.tc-subpage-hero {
    background: radial-gradient(circle at right top, #1e293b 0%, #0f172a 100%);
    padding: 80px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid #334155;
    position: relative;
    overflow: hidden;
}

/* 控えめなサイバーグリッドを背景に */
.tc-subpage-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.tc-subpage-hero-inner {
    position: relative;
    z-index: 2;
}

.tc-subpage-hero h1 {
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.tc-subpage-hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 800px;
    margin: 0;
}
