@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Noto+Sans+JP:wght@400;700;900&display=swap');

:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #0ea5e9;
    --accent: #f59e0b;
    --dark: #0f172a;
    --light: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: #334155;
    background: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Gradients & Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: #f8fafc;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    border-radius: 50%;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
}
.blob-2 {
    bottom: -20%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 15%) scale(1.1); }
}

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

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-container img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

/* Glass Panels */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    padding: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px -10px var(--primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px var(--primary);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p.hero-subtext {
    font-size: 18px;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

/* Screenshot Mockup */
.mockup-container {
    margin: 60px auto 0;
    max-width: 900px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    background: #fff;
}
.mockup-header {
    background: #e2e8f0;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}
.mockup-dot {
    width: 12px; height: 12px; border-radius: 50%;
}
.dot-r { background: #ef4444; }
.dot-y { background: #f59e0b; }
.dot-g { background: #10b981; }

.mockup-img {
    width: 100%;
    display: block;
    background: #f8fafc;
    min-height: 400px;
    object-fit: cover;
}

/* Features grid */
.features {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--dark);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--dark);
    line-height: 1.4;
}

.feature-card p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    text-align: center;
}

.price-card {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.price-badge {
    position: absolute;
    top: 24px;
    right: -35px;
    background: var(--accent);
    color: white;
    padding: 6px 40px;
    transform: rotate(45deg);
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.price-amount {
    font-size: 64px;
    font-weight: 900;
    color: var(--primary);
    margin: 24px 0;
}
.price-amount span {
    font-size: 24px;
    color: #64748b;
}

.price-list {
    list-style: none;
    margin: 32px 0;
    text-align: left;
}
.price-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}
.price-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    background: rgba(16, 185, 129, 0.2);
    width: 24px; height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    
    /* Typography Scaling */
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    h1, .page-header h1 { font-size: 32px !important; }
    .section-title { font-size: 28px !important; }
    .price-amount { font-size: 40px !important; }
    
    /* Navbar Restructuring */
    .nav-content {
        height: auto;
        flex-direction: column;
        padding: 12px 0 !important;
        gap: 8px !important;
    }
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 12px !important;
    }
    .nav-menu a {
        font-size: 12px !important;
    }
    .nav-menu a.btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }
    .logo-container span {
        font-size: 20px !important;
        margin-left: 8px !important;
    }
    /* スマホ画面では窮屈になるため、ヘッダーのサブタイトルを消す */
    .logo-container span:last-child {
        display: none !important;
    }
    
    /* スマホではヘッダーの追従（Fixed）を解除し、コンテンツへの被りを完全になくす */
    header {
        position: relative !important;
        border-bottom: 1px solid #e2e8f0;
    }
    
    /* ヘッダーがFixedではなくなったため、巨大な上部余白を消去 */
    .hero, .pricing-page, .contact-page, .faq-page, .page-header {
        padding-top: 50px !important; 
    }
    .glass-panel { padding: 24px; }
    
    /* Component Optimizations */
    .feature-block, .feature-block.reverse {
        flex-direction: column !important;
        gap: 32px !important;
    }
    .feature-visual { padding: 30px !important; }
    .faq-item { padding: 24px !important; }
    .contact-form-container { padding: 24px !important; }
    div[style*="display: flex; gap: 24px; margin-top: 80px;"] { flex-direction: column; }
    div[style*="display: flex; gap: 24px;"] { flex-direction: column; gap: 16px !important; }

    /* Footer Restructuring */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    .footer-logo {
        justify-content: center;
    }
    .footer-links {
        width: 100%;
    }
    .footer-content p {
        margin: 16px auto 0 !important;
    }
}
