:root {
    --primary: #0d6efd;
    --primary-light: #e7f0ff;
    --primary-dark: #0056b3;
    --accent: #1fb6ff;
    --gradient: linear-gradient(135deg, #0d6efd 0%, #1fb6ff 100%);
    --gradient-dark: linear-gradient(135deg, #101922 0%, #1e293b 100%);
    --background-light: #f8fafc;
    --background-dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --glass-dark: rgba(15, 23, 42, 0.85);
    --border: rgba(15, 23, 42, 0.08);
    --shadow: 0 10px 40px -10px rgba(13, 110, 253, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--background-light);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo, .btn {
    font-family: 'Outfit', 'Noto Sans JP', sans-serif;
    font-weight: 800;
}

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

.container-narrow {
    max-width: 800px;
}

/* Typography Helpers */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 15px 30px -5px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -5px rgba(13, 110, 253, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-xl {
    padding: 20px 40px;
    font-size: 1.15rem;
}

.btn-full {
    width: 100%;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 16px 0;
    background: var(--glass);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    z-index: 10;
}

.logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    color: var(--primary);
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary);
}

.menu-trigger {
    display: none;
    padding: 8px;
    background: var(--primary-light);
    border-radius: 10px;
    color: var(--primary);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 2000;
    padding: 60px 30px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.1);
    transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 40px;
}

.mobile-nav li {
    margin-bottom: 30px;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
}

/* Hero Section V2 */
.hero.v2 {
    position: relative;
    padding: 220px 0 120px;
    overflow: hidden;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.08) 0%, transparent 70%);
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero h1 span {
    display: inline-block;
}

.hero h1 small {
    display: block;
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 10px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: fit-content;
}

.avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid var(--white);
    background-size: cover;
    margin-left: -15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.avatar:first-child { margin-left: 0; }

.hero-stats-box p {
    font-size: 0.9rem;
    line-height: 1.3;
}

.hero-stats-box p span {
    color: var(--primary);
    font-weight: 700;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
    mix-blend-mode: multiply;
    animation: float 6s ease-in-out infinite;
}

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

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.1) 0%, transparent 60%);
    z-index: -1;
}

/* Sections */
.section {
    padding: 140px 0;
}

.dark-bg {
    background: var(--gradient-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.white-text h2, .white-text p {
    color: var(--white);
}

.white-text p {
    opacity: 0.8;
}

/* Feature Cards Glass V2 */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card.glass-v2 {
    padding: 48px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    color: var(--white);
    transition: var(--transition);
}

.feature-card.glass-v2:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon span {
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

/* Results Banner */
.results-banner {
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

.result-box {
    text-align: center;
}

.result-box .num {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.result-box .num small {
    font-size: 1.5rem;
}

.result-box .label {
    font-weight: 700;
    color: var(--text-main);
    margin-top: 10px;
    display: block;
}

.result-separator {
    width: 1px;
    height: 60px;
    background: var(--border);
}

/* Lineup V2 */
.lineup-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    gap: 40px;
}

.lineup-item {
    display: flex;
    background: var(--white);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.lineup-item:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.15);
}

.lineup-visual {
    width: 45%;
    padding: 40px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lineup-visual img {
    max-width: 100%;
    height: auto;
}

.lineup-info {
    width: 55%;
    padding: 50px;
}

.lineup-info .tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.lineup-info h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
}

.lineup-info h3 small {
    display: block;
    font-size: 1rem;
    color: var(--text-muted);
}

.spec-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.s-item {
    text-align: center;
    padding: 15px 10px;
    background: var(--background-light);
    border-radius: 15px;
}

.s-item span {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    white-space: nowrap;
}

.s-item strong {
    font-size: 1.1rem;
    display: block;
    white-space: nowrap;
}

.lineup-price {
    margin-bottom: 30px;
}

.p-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.p-main {
    font-size: 1.25rem;
    font-weight: 900;
    color: #ef4444;
    white-space: nowrap;
}

.lineup-info .btn {
    white-space: nowrap;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.95rem;
}

/* Specs Table V2 */
.table-outer {
    overflow-x: auto;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.spec-table-v2 {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    min-width: 700px;
}

.spec-table-v2 th, .spec-table-v2 td {
    padding: 30px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-table-v2 th {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 800;
}

.p-col {
    color: var(--accent);
    font-size: 1.25rem;
}

.spec-note {
    text-align: center;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Testimonials V2 */
.testimonial-v2 {
    background: var(--white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.t-quote span {
    font-size: 3rem;
    color: var(--primary-light);
}

.t-quote p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.t-author strong {
    display: block;
}

.t-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Details V2 */
.faq-narrow {
    max-width: 800px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.faq-card summary {
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-card summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

.faq-card[open] summary::after {
    content: '-';
}

.faq-card .content {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
}

/* Order Form V2 */
.order-v2 {
    background: #f1f5f9;
}

.order-box-v2 {
    background: var(--white);
    border-radius: 40px;
    padding: 80px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.1);
}

.order-header {
    text-align: center;
    margin-bottom: 60px;
}

.form-v2 {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 18px 24px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary);
    background: var(--white);
    outline: none;
}

.form-selection-box {
    background: #f8fafc;
    padding: 30px;
    border-radius: 20px;
}

.s-label {
    font-weight: 800;
    margin-bottom: 20px;
}

.s-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.s-card {
    background: var(--white);
    padding: 20px 24px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    gap: 20px;
}

.s-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.05);
}

.qty-stepper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 14px;
    padding: 6px;
    border: 1px solid var(--border);
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    border-radius: 10px;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.qty-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.qty-stepper input {
    width: 60px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.form-footer {
    text-align: center;
}

.btn-submit {
    min-width: 300px;
}

.form-privacy {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer V2 */
.footer-v2 {
    background: var(--background-dark);
    color: var(--white);
    padding: 100px 0 50px;
}

.f-main {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.f-info .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.f-info p {
    opacity: 0.6;
}

.f-nav {
    display: flex;
    gap: 80px;
}

.f-nav h4 {
    margin-bottom: 24px;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.f-nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    opacity: 0.6;
    margin-bottom: 12px;
    transition: var(--transition);
}

.f-nav a:hover {
    opacity: 1;
    color: var(--accent);
}

.f-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.4;
    font-size: 0.85rem;
}

.f-social {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 40px; }
    .hero-btns { justify-content: center; }
    .hero-stats-box { margin: 0 auto; }
    
    .lineup-grid-v2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    nav { display: none; }
    .menu-trigger { display: block; }
    
    .hero h1 { font-size: 2.8rem; }
    .section-header h2 { font-size: 2.2rem; }
    
    .results-banner {
        flex-direction: column;
        gap: 40px;
    }
    
    .result-separator {
        width: 100%;
        height: 1px;
    }
    
    .lineup-item { flex-direction: column; }
    .lineup-visual, .lineup-info { width: 100%; }
    
    .order-box-v2 { padding: 40px 24px; }
    .form-row { grid-template-columns: 1fr; }
    .s-grid { grid-template-columns: 1fr; }
    .s-card { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 16px; 
    }
    .qty-stepper { width: 100%; justify-content: space-between; }
    
    .f-main { flex-direction: column; gap: 60px; }
    .f-nav { flex-direction: column; gap: 40px; }
}
