:root {
    --bg: #ffffff;
    --bg-alt: #fbfbfd;
    --text-main: #1d1d1f;
    --text-secondary: #86868b;
    --accent: #0071e3;
    --border: rgba(0, 0, 0, 0.08);
    --ease: cubic-bezier(0.15, 1, 0.3, 1);
    --font-stack: "SF Pro Display", "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-stack); }
body { background-color: var(--bg); color: var(--text-main); -webkit-font-smoothing: antialiased; }

.reveal { opacity: 0; transform: translateY(50px); transition: all 1.2s var(--ease); }
.reveal.active { opacity: 1; transform: translateY(0); }

.hero {
    padding-top: 220px; padding-bottom: 160px;
    text-align: center; 
    background-image: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,1)), url('../../resource/image/hero-bg-new.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 120px;
    background: linear-gradient(to bottom, transparent, #ffffff);
}
.hero h2 { font-size: 14px; font-weight: 800; letter-spacing: 0.5em; color: var(--accent); margin-bottom: 30px; text-transform: uppercase; text-align: center; }
.hero h1 { font-size: clamp(60px, 10vw, 120px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.95; margin-bottom: 40px; text-align: center; }
.hero p { font-size: 28px; color: var(--text-secondary); max-width: 850px; margin: 0 auto 64px; font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; }
.cta-box { display: flex; justify-content: center; gap: 30px; }
.btn-hero-p { background: var(--accent); color: #fff; padding: 20px 50px; border-radius: 40px; font-weight: 700; text-decoration: none; font-size: 20px; transition: all 0.3s; box-shadow: 0 15px 30px rgba(0, 113, 227, 0.2); }
.btn-hero-s { color: var(--accent); text-decoration: none; font-size: 20px; font-weight: 600; padding: 20px; }

.section-bento { padding: 140px 40px; max-width: 1400px; margin: 0 auto; }
.bento-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.bento-card { 
    background: var(--bg-alt); border-radius: 60px; padding: 70px; 
    position: relative; overflow: hidden; border: none; transition: all 0.8s var(--ease);
    cursor: default;
}
.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.06);
}

.bento-main { 
    grid-column: span 8; grid-row: span 2; 
    background-image: url('../../resource/image/hero-bg-new.jpg');
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: #fff;
    transition: transform 1.2s var(--ease), background-size 1.2s var(--ease);
}
.bento-main:hover { background-size: 105% 105%; }
.bento-main::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 60%); z-index: 1; }
.bento-main-content { position: relative; z-index: 5; }
.bento-main h3 { font-size: 72px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin-bottom: 20px; }

.chip-inner-img {
    position: absolute; right: 0; top: 50px; height: 100%; aspect-ratio: 1 / 1;
    background-image: url('../../resource/image/m4-chip.jpg');
    background-size: 150%; 
    background-position: center; 
    border: none;
    border-radius: 0 60px 60px 0; 
    box-shadow: none !important;
    z-index: 2; transition: all 1s var(--ease);
}

.bento-small { 
    grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; 
    padding: 60px; background: #f8f8fa; border: 1px solid var(--border); transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-small:hover {
    background: #ffffff;
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 113, 227, 0.05);
}
.bento-small h4 { font-size: 26px; font-weight: 700; transition: color 0.4s ease; }
.bento-small:hover h4 { color: var(--accent); }
.bento-small p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin-top: 15px; }

.performance { padding: 120px 40px; background: #fff; text-align: center; }
.perf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; max-width: 1200px; margin: 0 auto; }
.perf-item h5 { font-size: 16px; color: var(--text-secondary); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 24px; }
.perf-item .value { font-size: 96px; font-weight: 700; letter-spacing: -5px; line-height: 1; margin-bottom: 12px; color: var(--accent); }

.solutions { background: var(--bg-alt); padding: 160px 40px; border-radius: 80px; margin: 0 40px; }
.sol-title { text-align: center; margin-bottom: 100px; }
.sol-title h2 { font-size: 64px; tracking: -0.04em; }
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; max-width: 1200px; margin: 0 auto; }
.sol-item h4 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.sol-item p { color: var(--text-secondary); font-size: 16px; line-height: 1.8; }

.plans-section { padding: 180px 40px; max-width: 1400px; margin: 0 auto; }
.plans-head { text-align: center; margin-bottom: 120px; }
.plans-head h2 { font-size: 72px; font-weight: 700; tracking: -0.05em; }

.cycle-switcher { background: #eee; padding: 6px; border-radius: 40px; display: inline-flex; gap: 8px; margin-top: 48px; }
.cycle-btn { padding: 12px 40px; border-radius: 30px; cursor: pointer; font-size: 14px; font-weight: 700; color: var(--text-secondary); transition: all 0.3s; }
.cycle-btn.active { background: #fff; color: #000; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.plan-card {
    background: #fff; border: 1px solid var(--border); border-radius: 64px; padding: 90px 64px;
    display: flex; flex-direction: column; transition: all 0.7s var(--ease);
}
.plan-card:hover { transform: translateY(-12px); box-shadow: 0 40px 80px rgba(0,0,0,0.08); border-color: var(--text-main); }
.plan-card.featured { border: 2.5px solid #000; position: relative; }
.featured-tag { position: absolute; top: 32px; right: 48px; background: #000; color: #fff; font-size: 11px; font-weight: 900; padding: 6px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1px; }

.price-hero { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 60px; padding-top: 48px; border-top: 1px solid var(--border); }
.price-hero .num { font-size: 80px; font-weight: 700; letter-spacing: -4px; line-height: 1; }
.price-hero .unit { font-size: 14px; opacity: 0.5; font-weight: 700; text-transform: uppercase; margin-top: 12px; white-space: nowrap; }
.price-hero .currency { font-size: 24px; font-weight: 700; margin-top: 10px; }

.feature-set { list-style: none; flex-grow: 1; margin-bottom: 60px; }
.feature-set li { font-size: 17px; margin-bottom: 24px; display: flex; align-items: center; gap: 20px; font-weight: 500; color: #444; }
.feature-set li::before { content: ""; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }

.btn-order { display: block; width: 100%; padding: 24px; border-radius: 24px; background: #f5f5f7; text-align: center; text-decoration: none; color: #000; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s; }
.plan-card.featured .btn-order { background: #000; color: #fff; }

.sovereignty { 
    background: #000; color: #fff; padding: 220px 40px 100px; position: relative; overflow: hidden; 
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../../resource/image/global-map-new.jpg');
    background-size: cover; background-position: center;
}
.sov-content { max-width: 1300px; margin: 0 auto; position: relative; z-index: 5; }
.sov-mask { 
    position: absolute; bottom: 0; left: 0; width: 100%; height: 600px; 
    background: linear-gradient(to bottom, transparent 0%, #ffffff 100%);
    z-index: 1; pointer-events: none;
}
.node-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 100px; text-align: center; }
.node-tile { 
    background: rgba(10, 16, 29, 0.6);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 64px 20px; border-radius: 48px; 
    border: 1px solid rgba(255,255,255,0.08); 
    transition: transform 0.4s var(--ease);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.node-tile:hover { 
    transform: translateY(-8px); 
}
.node-tile h6 { font-size: 22px; margin-top: 15px; font-weight: 700; color: #fff; }
.node-tile .loc-code { font-size: 13px; opacity: 0.4; letter-spacing: 5px; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.node-tile .loc-desc { font-size: 14px; opacity: 0.5; margin-top: 10px; line-height: 1.6; max-width: 200px; }

.trust-grid { 
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 80px; 
    text-align: center; padding: 180px 0 60px; color: #000;
    position: relative; z-index: 6;
}
.trust-item h4 { font-size: 22px; margin-bottom: 18px; font-weight: 800; }
.trust-item p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.faq-preview { padding: 140px 40px; max-width: 900px; margin: 0 auto; }
.faq-preview h2 { text-align: center; font-size: 48px; margin-bottom: 80px; tracking: -0.04em; }
.faq-row { border-bottom: 1px solid var(--border); padding: 36px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 20px; transition: all 0.3s; }
.faq-row:hover { opacity: 0.7; }
.faq-row.active { color: var(--accent); }
.faq-row span { display: flex; align-items: center; }
.arrow-icon { width: 20px; height: 20px; transition: transform 0.4s var(--ease); stroke: var(--text-secondary); stroke-width: 2.5; fill: none; }
.faq-row.active .arrow-icon { transform: rotate(180deg); stroke: var(--accent); }
.faq-content { padding: 24px 0 40px; color: var(--text-secondary); font-size: 17px; line-height: 1.8; display: none; }

@media (max-width: 1024px) {
    .hero { padding-top: 140px; padding-bottom: 80px; padding-left: 24px; padding-right: 24px; }
    .hero h1 { font-size: 48px; letter-spacing: -0.04em; }
    .hero p { font-size: 18px; margin-bottom: 40px; }
    .cta-box { flex-direction: column; gap: 16px; align-items: center; }
    .btn-hero-p { width: 100%; max-width: 300px; }

    .section-bento { padding: 80px 24px; }
    .bento-layout { grid-template-columns: 1fr; gap: 20px; }
    .bento-main { grid-column: span 1; padding: 40px; min-height: 400px; border-radius: 40px; }
    .bento-main h3 { font-size: 40px; }
    .chip-inner-img { display: none; }
    .bento-small { grid-column: span 1; padding: 40px; border-radius: 40px; }

    .performance { padding: 80px 24px; }
    .perf-grid { grid-template-columns: 1fr; gap: 48px; }
    .perf-item .value { font-size: 72px; }

    .solutions { padding: 80px 24px; margin: 0 20px; border-radius: 40px; }
    .sol-title h2 { font-size: 36px; }
    .sol-grid { grid-template-columns: 1fr; gap: 40px; }

    .bento-card[style*="grid-column: span 6"] { grid-column: span 1 !important; padding: 40px 24px !important; }
    .bento-card[style*="grid-column: span 6"] h4 { font-size: 28px !important; }
    section[style*="padding: 160px 40px"] { padding: 80px 24px !important; border-radius: 40px !important; margin: 0 20px !important; }
    .perf-grid[style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: 1fr !important; gap: 24px !important; }
    .perf-grid[style*="grid-template-columns: repeat(3, 1fr)"] > div { padding: 32px !important; border-radius: 32px !important; }
    section h2[style*="font-size: 56px"] { font-size: 36px !important; }

    .plans-section { padding: 80px 24px; }
    .plans-head h2 { font-size: 40px; }
    .cycle-switcher { width: 100%; overflow-x: auto; white-space: nowrap; justify-content: flex-start; padding: 4px 20px; }
    .plans-grid { grid-template-columns: 1fr; gap: 24px; }
    .plan-card { padding: 60px 32px; border-radius: 40px; }
    .price-hero .num { font-size: 72px; }

    .sovereignty { padding: 120px 24px 60px; }
    .sovereignty h2 { font-size: 36px !important; }
    .node-matrix { grid-template-columns: 1fr; gap: 16px; margin-top: 60px; }
    .node-tile { 
        padding: 40px 24px; 
        border-radius: 40px; 
        background: rgba(10, 16, 29, 0.6) !important;
        backdrop-filter: blur(15px) saturate(180%);
        -webkit-backdrop-filter: blur(15px) saturate(180%);
        border: 1px solid rgba(255,255,255,0.08);
    }
    .node-tile h6 { color: #fff !important; }
    .node-tile .loc-desc { color: rgba(255,255,255,0.5) !important; }
    .trust-grid { grid-template-columns: 1fr; gap: 40px; padding: 80px 0; }

    .faq-preview { padding: 80px 24px; }
    .faq-preview h2 { font-size: 32px; }
    .faq-row { font-size: 16px; padding: 24px 0; }

    #story { padding: 80px 0 !important; }
    #story > div { padding: 0 24px !important; }
    #story .bento-layout, #story [style*="display: grid"] { grid-template-columns: 1fr !important; gap: 0 !important; border-radius: 32px !important; }
    #story [style*="padding: 80px"] { padding: 40px !important; }
    #story h2 { font-size: 32px !important; }
    #story [style*="height: 100%"] { height: 300px !important; min-height: 300px !important; }
}