/* Base Variables & Reset */
:root {
    --bg-color: #0f0f12;
    --card-bg: #1c1c21;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-color: #8b5cf6;
    /* Violet */
    --accent-gradient: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --accent-shine: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(217, 70, 239, 0.2) 100%);
    --border-color: #27272a;
    --success-color: #10b981;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    --container-width: 1100px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography & Utilities */
h1,
h2,
h3,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.highlight {
    color: #d946ef;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #8b5cf6;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    background: radial-gradient(circle at center top, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
}

.hero-title {
    font-size: 3.5rem;
    /* Large font for impact */
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
}

.hero-note {
    font-size: 0.875rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
}

.hero-visual {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dashboard-mockup-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #18181b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    border: 2px dashed var(--border-color);
}

/* Problems Section */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.problem-card {
    background: var(--card-bg);
    padding: var(--spacing-md);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.problem-card .icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.problem-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Solution Section */
.solution {
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

.solution-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Features Table */
.feature-block {
    margin-bottom: var(--spacing-lg);
}

.feature-block h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    min-width: 600px;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-weight: 500;
}

.target-own,
.target-competitor {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    background: rgba(255, 255, 255, 0.02);
}

.target-own {
    color: var(--text-primary);
}

.target-competitor {
    color: #d946ef;
}

/* Comparison Table */
.comparison-table th,
.comparison-table td {
    text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.02);
}

.th-primary,
.cell-primary {
    background: rgba(139, 92, 246, 0.1) !important;
    border-left: 1px solid rgba(139, 92, 246, 0.2);
    border-right: 1px solid rgba(139, 92, 246, 0.2);
}

.cell-primary {
    color: #c4b5fd;
    font-weight: bold;
}

.cell-primary strong {
    color: #8b5cf6;
    font-size: 1.2em;
}

.note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-align: right;
}

/* Target Section */
.target-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.target-list li {
    background: var(--card-bg);
    padding: 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color);
}

.check-icon {
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.target-list strong {
    color: white;
}

/* Pricing Section */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
    border: 2px solid #8b5cf6;
    /* Highlight border */
    padding: var(--spacing-lg) var(--spacing-md);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15);
    text-align: center;
}

.pricing-subtitle {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    font-size: 1.1rem;
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.pricing-header h3 {
    margin-bottom: 0.5rem;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: white;
}

.currency {
    font-size: 1.5rem;
    margin-right: 2px;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.price-note {
    color: var(--success-color);
    font-weight: bold;
    margin-top: 0.5rem;
}

.pricing-details {
    text-align: left;
    margin-top: var(--spacing-md);
}

.detail-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.detail-item .label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.detail-item .value {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1rem;
}

.campaign-price {
    color: #f472b6;
    /* Pink-400 */
}

.arrow {
    color: var(--text-secondary);
}

.badge {
    background: #db2777;
    /* Pink-600 */
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.detail-note {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    color: var(--text-secondary);
}

/* Flow Section */
.steps {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.02);
    padding: var(--spacing-md);
    border-radius: 12px;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mid CTA Section */
.cta-mid {
    padding: var(--spacing-lg) 0;
    background: rgba(139, 92, 246, 0.05);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-mid-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cta-mid-text {
    font-size: 1.25rem;
    font-weight: 600;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.faq-question {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.faq-question::before {
    content: 'Q';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: var(--accent-gradient);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
}

.faq-answer {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding-left: calc(28px + 0.75rem);
    line-height: 1.7;
}

/* CTA Section */
.cta {
    padding: 100px 0;
}

.cta-card {
    background: var(--accent-shine), var(--card-bg);
    border-radius: 30px;
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    border: 1px solid var(--accent-color);
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-text {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.form-requirements {
    text-align: left;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.form-requirements ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 0.5rem;
    color: var(--text-secondary);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 3rem;
}

.btn-large .icon {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.btn-large:hover .icon {
    transform: translateX(5px);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-card {
        padding: var(--spacing-md);
    }
}

/* Dashboard Mockup CSS */
.dashboard-window {
    background: #18181b;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-align: left;
    font-family: 'Inter', sans-serif;
    /* Use system or reliable font */
}

.window-header {
    background: #27272a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #eab308;
}

.dot.green {
    background: #22c55e;
}

.address-bar {
    background: #18181b;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #71717a;
    flex-grow: 1;
    text-align: center;
}

.dashboard-ui {
    display: flex;
    min-height: 350px;
}

.sidebar {
    width: 180px;
    background: #18181b;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    display: none;
    /* Hide on small screens, show on md+ */
}

@media (min-width: 640px) {
    .sidebar {
        display: block;
    }
}

.nav-item {
    padding: 10px 20px;
    color: #a1a1aa;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    border-right: 2px solid #8b5cf6;
}

.main-view {
    flex-grow: 1;
    padding: 24px;
    background: #0f0f12;
}

.stats-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 120px;
    background: #1c1c21;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
}

.stat-label {
    font-size: 0.75rem;
    color: #a1a1aa;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.stat-change {
    font-size: 0.75rem;
    font-weight: 500;
}

.stat-change.up {
    color: #10b981;
}

.stat-change.down {
    color: #3b82f6;
}

.chart-container {
    background: #1c1c21;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    height: 180px;
    position: relative;
    overflow: hidden;
}

.chart-header {
    font-size: 0.9rem;
    color: #e4e4e7;
    margin-bottom: 12px;
}

.chart-body {
    position: relative;
    height: 120px;
    width: 100%;
    border-left: 1px solid #3f3f46;
    border-bottom: 1px solid #3f3f46;
}

.chart-line-bg::before {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 10px;
    width: 90%;
    height: 60px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.2));
    clip-path: polygon(0 100%, 10% 80%, 20% 85%, 30% 60%, 40% 65%, 50% 40%, 60% 45%, 70% 20%, 80% 25%, 90% 5%, 100% 0, 100% 100%);
}

.line-1 {
    position: absolute;
    bottom: 20px;
    left: 10px;
    width: 90%;
    height: 60px;
    border-top: 2px solid #8b5cf6;
    clip-path: polygon(0 100%, 10% 80%, 20% 85%, 30% 60%, 40% 65%, 50% 40%, 60% 45%, 70% 20%, 80% 25%, 90% 5%, 100% 0, 100% 0.5px, 90% 5.5px, 80% 25.5px, 70% 20.5px, 60% 45.5px, 50% 40.5px, 40% 65.5px, 30% 60.5px, 20% 85.5px, 10% 80.5px, 0 100%);
    background: #8b5cf6;
    height: 2px;
    background: none;
}

.chart-line-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(139, 92, 246, 0.1) 100%);
    position: relative;
}

.chart-line-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #d946ef 50%, #8b5cf6 100%);
    transform: rotate(-10deg);
    transform-origin: left;
    margin-top: 30px;
}