:root {
    /* Colors - Light Theme with Dark Header */
    --color-bg: #fdfcfb;
    /* Warm White */
    --color-bg-light: #f4f0ec;
    /* Light Beige for cards */
    --color-text: #2b2623;
    /* Very Dark Coffee (Increased Contrast) */
    --color-text-muted: #5e544d;
    /* Darker Grey for legibility */

    --color-primary: #c5a059;
    /* Darker Gold for better contrast on white */
    --color-primary-dim: rgba(197, 160, 89, 0.1);
    --color-secondary: #704e2e;
    /* Darker Leather */

    --color-accent: #c5a059;

    --color-glass: rgba(255, 255, 255, 0.95);
    --color-glass-border: rgba(197, 160, 89, 0.3);

    /* Header Specific Colors (Dark) */
    --header-bg: #1a1512;
    --header-text: #e6dfd8;

    /* Fonts */
    --font-heading: 'Shippori Mincho', 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    /* Adjusted from 1600px for better balance */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Effects */
    --shadow-glass: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Smoother shadow */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    overflow-y: scroll;
    scrollbar-gutter: stable;
    /* Modern fix to reserve space */
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.8;
    overflow-x: hidden;
    letter-spacing: 0.02em;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed !important;
    width: 100% !important;
}

/* Responsive Utilities */
.mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }
}

main,
.main-content,
.legal-container {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.4;
    color: #0f0c0a;
    /* Almost Black for Headings */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.text-accent {
    color: var(--color-primary);
}

.text-gradient {
    /* Darker gradient for legibility */
    background: linear-gradient(135deg, #0f0c0a 0%, #c5a059 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    border: 1px solid var(--color-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #9e8047;
    border-color: #9e8047;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
    background-color: #fff;
    color: var(--color-primary);
    margin-left: 1rem;
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary-dim);
    color: #9e8047;
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background-color: rgba(26, 21, 18, 0.98);
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--header-text);
    font-family: "Helvetica", "Arial", sans-serif;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-family: inherit;
    /* Use Helvetica */
    letter-spacing: 0.02em;
    color: #c5a059;
    /* Refined Champagne Gold */
    font-weight: 800;
    /* Bolder for modern tech look */
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

.logo-font {
    font-family: "Helvetica", "Arial", sans-serif;
    font-weight: 800;
    letter-spacing: 0.02em;
    /* Ensure color is inherited or set explicitly if needed */
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 12px;
    display: inline-block;
}

.logo span {
    display: inline-flex;
    align-items: center;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    margin-left: 2.5rem;
    font-size: 0.95rem;
    color: #fff;
    /* Improved from #ccc for visibility */
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.nav a:not(.btn):hover {
    color: #c5a059;
}

.header .btn-sm {
    /* Reset existing */
    padding: 0.5rem 1.2rem;
}

.auth-buttons {
    display: flex;
    align-items: center;
    margin-left: 2rem;
    /* Reduced from 3rem to match index page feel */
}

/* Reset margin for links inside auth-buttons to avoid double spacing */
.auth-buttons a {
    margin-left: 1rem;
    /* Reduced from 1.5rem to match index page feel */
    height: auto;
    align-self: center;
}

.btn-login {
    color: #ccc;
    font-weight: 500;
    transition: color 0.3s;
    border: none;
    background: transparent;
    padding: 0.5rem 1.2rem;
    /* Match btn-sm padding */
    display: inline-flex;
    align-items: center;
    height: auto;
}

.btn-login:hover {
    color: #fff;
}

/* Specific style for the outline CTA in header */
.header .btn-primary.btn-sm {
    border: 1px solid #c5a059;
    color: #c5a059;
    background: transparent;
    transition: all 0.3s ease;
}

.header .btn-primary.btn-sm:hover {
    background: #c5a059;
    color: #000;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
}



/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: #e6dfd8;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    min-height: 90vh;
    /* Reduced height to avoid excessive scrolling */
    display: flex;
    align-items: center;
    background: var(--color-bg);
    overflow: visible;
    /* Allow 3D image to extend */
    z-index: 5;
    /* Ensure it stays above following sections */
}

/* Clean Background */
.hero-bg::before,
.hero-bg::after {
    display: none;
    /* Remove distracting blobs for cleaner look */
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    position: relative;
    z-index: 1;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 0 0 500px;
    /* Fixed width for text block to stay consistent */
    position: relative;
    z-index: 2;
}

.badge-new {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: #fdf8e6;
    color: #c5a059;
    border: 1px solid #e3cfa0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.3;
    margin-bottom: 2rem;
    font-weight: 700;
    color: #0f0c0a;
}

.hero-visual {
    flex: 0 0 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* 3D Effect for Desktop */
@media (min-width: 992px) {
    .dashboard-frame {
        /* Rotate slightly to the left (y-axis) and tilt up (x-axis) for depth */
        transform: rotateY(-12deg) rotateX(2deg) translateZ(0);
        box-shadow: -20px 30px 60px rgba(0, 0, 0, 0.25);
        /* Enhanced shadow for depth */
        transition: transform 0.5s ease;
        will-change: transform;

        /* High Quality Rendering Fixes */
        image-rendering: -webkit-optimize-contrast;
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
    }

    .dashboard-frame img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 8px;
        /* Prevent blurring on some browsers */
        image-rendering: auto;
    }

    .dashboard-frame:hover {
        transform: rotateY(-8deg) rotateX(0deg) scale(1.02);
        /* Interactive hover */
        box-shadow: -30px 40px 80px rgba(0, 0, 0, 0.3);
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 100%;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    /* Left align buttons */
}

.hero-btns .btn-secondary {
    margin-left: 0;
}

/* Visual Card in Hero */
.glass-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.visual-card {
    padding: 0;
    background: transparent;
    border: none;
}

/* removed hover effect as requested */

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 1rem;
}

.doc-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.card-body .line {
    height: 1px;
    background: #eee;
    margin-bottom: 1.2rem;
    width: 100%;
}

.diff-highlight {
    background: #fffaf0;
    border: 1px solid #f0e6d2;
    border-left: 4px solid var(--color-primary);
    padding: 1.2rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-radius: var(--radius-sm);
}

.diff-icon {
    font-size: 1.2rem;
}

.diff-text {
    font-size: 0.95rem;
    color: #4a4a4a;
    font-weight: 500;
}

/* Section Common */
.section {
    padding: var(--spacing-lg) 0;
    position: relative;
    background-color: var(--color-bg);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: #0f0c0a;
}

.section-desc {
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Cards */
.card {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    border-color: #dacba3;
}

.problem-card .icon-box {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    /* Use emoji as is, no color override needed usually, but ok */
}

.problem-card h3 {
    margin-bottom: 0.8rem;
    color: #0f0c0a;
    font-size: 1.2rem;
}

.problem-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Comparison - Simplified Table */
.comparison-box {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

/* Comparison - Simplified Table */
.comparison-box {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.comparison-box .section-header {
    margin-bottom: 2rem;
    padding-top: 3.5rem;
    /* Added spacing from top border */
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-top: 1px solid #eee;
    /* Separator between title and grid */
}

.comp-col {
    padding: 3rem;
}

.comp-col:first-child {
    background: #fcfcfc;
    border-right: 1px solid #eee;
}

.comp-col h4 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: #0f0c0a;
}

.comp-col ul li {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #4a4a4a;
}



.highlight {
    background: #fff;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
    max-width: var(--container-width);
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
}

.pricing-card.highlight-plan {
    border: 2px solid var(--color-primary);
    box-shadow: 0 15px 40px rgba(161, 126, 26, 0.1);
    z-index: 10;
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #fdf8e6;
    color: var(--color-primary);
    padding: 0.2rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--color-primary);
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-badge.recommended {
    background: var(--color-primary);
    color: #fff;
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.pricing-header h3 {
    font-size: 1.4rem;
    color: #0f0c0a;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    margin-bottom: 1.5rem;
}

.amount {
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: #0f0c0a;
    font-weight: 700;
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-align: right;
    margin-right: 8px;
    padding-top: 10px;
    /* Aligns visually with the top of numbers */
}

.price-sub {
    font-size: 0.95rem;
    color: #888;
    font-family: var(--font-body);
    font-weight: 400;
    text-align: left;
}

.pricing-description {
    min-height: 80px;
    /* Standardize height to align feature lists */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.pricing-description p {
    font-size: 1rem;
    color: #444;
    /* Back to original grey */
    font-weight: 600;
    background: #f9f9f9;
    /* Near-white background */
    padding: 12px 20px;
    border: 1px solid #eee;
    /* Light border for "frame" feel */
    border-radius: 6px;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}



.pricing-features {
    text-align: left;
    flex: 1;
    /* Push CTA to bottom */
    margin-bottom: 2rem;
}

.pricing-features ul li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #444;
    padding-left: 1.2rem;
    position: relative;
}

.pricing-features ul li::before {
    content: '•';
    color: var(--color-text-muted);
    position: absolute;
    left: 0;
}

.pricing-features ul li strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* CTA */
.cta-section {
    background: #f4f0ec;
    padding-bottom: 6rem;
    padding-top: 6rem;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: #0f0c0a;
}

.cta-form {
    max-width: 500px;
    margin: 0 auto 1rem;
}

.cta-form input {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: var(--radius-sm);
    color: #0f0c0a;
    font-family: var(--font-body);
    padding: 1rem;
    font-size: 1rem;
}

.cta-form input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(161, 126, 26, 0.1);
}

.cta-form .btn {
    border-radius: var(--radius-sm);
}

/* Footer (Dark) */
.footer {
    background-color: #1a1512;
    padding: 3rem 0;
    border-top: none;
    color: #888;
}

.footer p {
    font-size: 0.9rem;
}

/* Navigation Login Link */
.nav-login {
    font-size: 0.9rem;
    margin-left: 2rem;
}

/* Icon Box FontAwesome Icons */
.icon-box i {
    font-size: 2.5rem;
}

/* Desktop: Hide mobile LP visual, show dashboard */
.mobile-lp-visual {
    display: none;
}

.dashboard-frame {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {

    /* Header & Nav */
    .menu-toggle {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        /* Header height */
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin: 0;
        padding: 1rem 0;
        font-size: 1.1rem;
        width: 100%;
        justify-content: center;
        color: #e6dfd8;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    .nav a.btn-sm {
        margin-top: 1rem;
        display: inline-flex;
        /* Changed from inline-block to match flex center */
        width: auto;
    }

    .auth-buttons {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        gap: 1rem;
        padding-bottom: 2rem;
    }

    .auth-buttons a {
        margin-left: 0;
        width: 80%;
        justify-content: center;
    }

    /* Toggle Animation */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Layout Adjustments */
    .section-title {
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 4rem;
        text-align: center;
    }

    .hero-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        text-align: center;
        transform: none !important;
        /* Force reset desktop shift */
        margin: 0 auto;
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        display: contents;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.4;
        word-break: auto-phrase;
        order: 1;
        margin-bottom: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
        /* Increased bottom margin to prevent overlap with visual */
        font-size: 0.95rem;
        order: 2;
        /* Move before visual */
        position: relative;
        z-index: 5;
        width: 100%;
        padding: 0 1.5rem;
        text-align: center;
        line-height: 1.6;
    }

    .hero-visual {
        width: 100%;
        transition: height 0.3s ease;
        /* Smooth height change */
        margin-top: 0;
        /* Remove top margin */
        order: 3;
        /* After subtitle */
        perspective: none;
        display: flex !important;
        justify-content: center;
        padding: 0 1rem;
        overflow: visible;
        /* Allow cards and shadows to breathe */
        margin-bottom: 2rem;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 2.5rem auto 0;
        /* Added margin-top to separate from visual */
        gap: 1rem;
        order: 4;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-btns .btn-secondary {
        margin-left: 0;
    }

    .grid-3,
    .comparison-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .comp-col:first-child {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .pricing-card.highlight-plan {
        transform: none;
    }

    .cta-title {
        font-size: 1.6rem;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .cta-form {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 1rem;
    }

    .cta-form input,
    .cta-form .btn {
        width: 100%;
        max-width: 100%;
    }
}

/* Global Styles */
:root {
    --color-primary: #c5a059;
    --color-bg: #ffffff;
    --color-text: #1a1512;
    --font-main: 'Inter', 'Noto Sans JP', sans-serif;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --container-width: 1200px;
    --radius-md: 12px;
}

.no-scroll {
    overflow: hidden !important;
    height: 100vh;
}

/* Dashboard Preview Styles (Hero Visual) */
.dashboard-preview-card {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    /* Stronger shadow for pop */
    border: 1px solid #e0e0e0;
    overflow: hidden;
    font-family: "Inter", "Noto Sans JP", sans-serif;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.dashboard-header {
    background: #2b2623;
    color: #fff;
    padding: 12px 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #444;
}

.dashboard-body {
    padding: 2rem;
}

.preview-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #333;
    line-height: 1.4;
}

.preview-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge-sm {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.badge-red {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

.badge-yellow {
    background: #fffde7;
    color: #f9a825;
    border: 1px solid #fff9c4;
}

/* AI Summary Block */
.hero-ai-summary {
    background: #fff8f8;
    border: 1px solid #ffcdd2;
    border-left: 4px solid #d32f2f;
    padding: 1.2rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.risk-level-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #d32f2f;
    font-size: 0.95rem;
}

.summary-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
}

/* Diff Block */
.diff-box {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.diff-header {
    background: #f5f5f5;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    color: #555;
}

.diff-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
}

.diff-pane {
    padding: 12px;
    line-height: 1.6;
}

.diff-left {
    background: #fffbfc;
    border-right: 1px solid #eee;
    color: #555;
}

.diff-right {
    background: #fcffff;
    color: #333;
}

.diff-del {
    background-color: #ffccd0;
    text-decoration: line-through;
    color: #b71c1c;
    padding: 0 2px;
}

.diff-add {
    background-color: #c8e6c9;
    color: #1b5e20;
    padding: 0 2px;
    font-weight: 600;
}

/* Mobile Adjustments for Preview */
@media (max-width: 768px) {
    .dashboard-preview-card {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        /* Stronger shadow for pop */
        border: 1px solid #e0e0e0;
        overflow: hidden;
        font-family: "Inter", "Noto Sans JP", sans-serif;
        text-align: left;
        max-width: 600px;
        margin: 0 auto;
        position: relative;
        z-index: 10;
    }

    .dashboard-header {
        background: #2b2623;
        color: #fff;
        padding: 12px 20px;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 10px;
        border-bottom: 1px solid #444;
    }

    .dashboard-body {
        padding: 2rem;
    }

    .preview-title {
        font-size: 1.1rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
        color: #333;
        line-height: 1.4;
    }

    .preview-badges {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .badge-sm {
        font-size: 0.75rem;
        padding: 3px 10px;
        border-radius: 4px;
        font-weight: 600;
    }

    .badge-red {
        background: #ffebee;
        color: #c62828;
        border: 1px solid #ffcdd2;
    }

    .badge-yellow {
        background: #fffde7;
        color: #f9a825;
        border: 1px solid #fff9c4;
    }

    /* AI Summary Block */
    .hero-ai-summary {
        background: #fff8f8;
        border: 1px solid #ffcdd2;
        border-left: 4px solid #d32f2f;
        padding: 1.2rem;
        border-radius: 4px;
        margin-bottom: 1.5rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    }

    .risk-level-row {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        margin-bottom: 10px;
        color: #d32f2f;
        font-size: 0.95rem;
    }

    .summary-text {
        font-size: 0.9rem;
        color: #444;
        line-height: 1.6;
    }

    /* Diff Block */
    .diff-box {
        border: 1px solid #eee;
        border-radius: 4px;
        overflow: hidden;
        background: #fff;
    }

    .diff-header {
        background: #f5f5f5;
        padding: 8px 12px;
        font-size: 0.8rem;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        color: #555;
    }

    .diff-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        font-family: 'Consolas', 'Monaco', monospace;
        font-size: 0.8rem;
    }

    .diff-pane {
        padding: 12px;
        line-height: 1.6;
    }

    .diff-left {
        background: #fffbfc;
        border-right: 1px solid #eee;
        color: #555;
    }

    .diff-right {
        background: #fcffff;
        color: #333;
    }

    .diff-del {
        background-color: #ffccd0;
        text-decoration: line-through;
        color: #b71c1c;
        padding: 0 2px;
    }

    .diff-add {
        background-color: #c8e6c9;
        color: #1b5e20;
        padding: 0 2px;
        font-weight: 600;
    }

    /* Mobile Adjustments for Preview */
    @media (max-width: 768px) {
        .dashboard-preview-card {
            margin-top: 2rem;
        }

        .diff-content {
            grid-template-columns: 1fr;
        }

        .diff-left {
            border-right: none;
            border-bottom: 1px solid #eee;
        }
    }
}

/* Full Dashboard Preview Frame [v20260130.2040] */
.dashboard-frame {
    display: flex;
    background: #f4f6f8;
    border-radius: 12px;
    overflow: hidden;
    /* Clips children to the corners */
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle but definite border */
    font-family: "Inter", "Noto Sans JP", sans-serif;
    text-align: left;
    width: 1100px;
    height: 750px;
    position: relative;
    z-index: 10;
    transform: scale(1);
    /* JS handles scaling dynamically */
    transform-origin: top center;
    /* Anchored to top center for consistent centering */
}



@media (max-width: 992px) {
    .dashboard-frame {
        transform: scale(0.5);
    }

    .hero-visual {
        height: 400px;
    }
}

/* Mini Sidebar */
.mini-sidebar {
    width: 180px;
    background: #1a1512;
    /* Deep Coffee from actual dashboard */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 2rem 1rem 1rem;
    color: #948b85;
}

.mini-logo {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-nav-item {
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    margin-bottom: 4px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Mini Main Content */
.mini-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f9f9f9;
    padding-top: 28px;
    /* Room for browser bar */
}

.mini-header {
    height: 50px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    background: #fff;
}

.mini-breadcrumb {
    font-size: 0.8rem;
    color: #999;
}

.mini-btn {
    background: var(--color-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.mini-content {
    padding: 2rem;
    overflow-y: hidden;
    position: relative;
    flex: 1;
}

/* Reusing existing preview styles inside mini-content with adjustments */
.mini-content .preview-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Mobile Focus Mode: Highlight AI Summary & Diff */
@media (max-width: 768px) {
    .dashboard-frame {
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0;
        flex-direction: column !important;
    }

    .mini-sidebar,
    .mini-header,
    .preview-back-link,
    .preview-header-area,
    .preview-actions,
    .preview-memo-section {
        display: none !important;
    }

    .mini-main {
        width: 100%;
        background: transparent !important;
    }

    .mini-content {
        padding: 0 !important;
        gap: 15px;
    }

    .preview-ai-summary {
        margin: 0 !important;
        padding: 24px !important;
        box-shadow: 0 10px 30px rgba(191, 155, 48, 0.2) !important;
        border: 2px solid rgba(191, 155, 48, 0.3) !important;
        background: linear-gradient(135deg, #fffbf0 0%, #fff 100%) !important;
        border-radius: 16px !important;
    }

    .mobile-lp-visual {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

}

/* AI Risk Card */
.lp-ai-card {
    background: linear-gradient(135deg, #fffcf5 0%, #fff 100%);
    border: 1px solid #e3cfa0;
    /* Balanced full border */
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.15);
    position: relative;
}

.lp-ai-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #bf9b30;
    font-weight: 900;
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.lp-ai-header i {
    font-size: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.lp-ai-text {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
}

/* Unified Comparison Card */
.lp-unified-comparison {
    background: white;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.lp-comparison-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 24px;
}

.lp-comparison-header i {
    color: #c5a059;
}

.lp-clause-title {
    font-weight: 700;
    color: #1a1512;
    font-size: 1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.lp-comparison-row {
    padding: 4px 0;
}

.lp-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.lp-badge-before {
    background: #f8f9fa;
    color: #888;
    border: 1px solid #eee;
}

.lp-badge-after {
    background: #1a1512;
    color: #fff;
}

.lp-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333;
    margin: 0;
}

.lp-highlight {
    padding: 2px 4px;
    border-radius: 4px;
    margin: 0 2px;
}

.lp-highlight-red {
    background-color: #ffeef0;
    color: #D73A49;
    text-decoration: line-through;
}

.lp-highlight-green {
    background-color: #e6ffed;
    color: #22863a;
    font-weight: 700;
}

.lp-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    color: #eee;
    position: relative;
}

.lp-divider::before,
.lp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f5f5f5;
}

.lp-divider i {
    margin: 0 15px;
    font-size: 0.8rem;
}

/* Pulse animation for AI icon */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Feature Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    /* Increased gap */
    margin-top: 5rem;
    align-items: stretch;
    /* Force all items to take the height of the tallest item in the row */
}

.step-item {
    background: #fff;
    padding: 4.5rem 3rem;
    /* Further increased padding for a massive, bold feel */
    border-radius: var(--radius-md);
    border: 1px solid #f0f0f0;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    /* Ensure item fills the grid area */
}

.step-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
    border-color: var(--color-primary-dim);
}

.step-number {
    font-size: 8.5rem;
    /* Even larger background number for impact */
    font-weight: 800;
    color: rgba(197, 160, 89, 0.08);
    position: absolute;
    top: -30px;
    right: 5px;
    line-height: 1;
    z-index: 0;
    font-family: var(--font-heading);
    opacity: 1;
    pointer-events: none;
}

.step-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.step-content i {
    font-size: 4rem !important;
    /* Force icons to be even larger */
    display: inline-block;
    margin-bottom: 2rem !important;
}

.step-content h3 {
    font-size: 1.7rem;
    /* Larger headline */
    margin-bottom: 1.2rem;
    color: #0f0c0a;
    line-height: 1.3;
}

.step-content p {
    font-size: 1.1rem;
    /* Larger text for authoritative readability */
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Connectors (Desktop Only) */
@media (min-width: 993px) {
    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50%;
        right: -1.0rem;
        width: 1rem;
        height: 1px;
        background: #eee;
    }
}

/* Comparison Section */
.comparison-box {
    padding: 4rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-glass);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.comp-col {
    padding: 2.5rem;
    border-radius: var(--radius-md);
    background: #fdfcfb;
    border: 1px solid #f0eee8;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.comp-col h4 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    color: #888;
}

.comp-subtitle {
    text-align: center;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 2rem;
    font-family: var(--font-body);
}

.comp-col li {
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.5;
}

.comp-col.highlight {
    background: #fff;
    border: 2px solid var(--color-primary);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.2);
    transform: scale(1.05);
    z-index: 1;
}

.comp-col.highlight h4 {
    color: var(--color-primary);
    font-weight: 800;
}

.comp-col.highlight .comp-subtitle {
    color: var(--color-primary);
    opacity: 0.7;
}

.recommend-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}

.comp-col li.good i {
    color: var(--color-primary);
    margin-top: 4px;
}

.comp-col li.bad i {
    color: #ccc;
    margin-top: 4px;
}

/* FAQ Section */
.faq-section {
    background: #fdfcfb;
    padding: 8rem 0;
}

.faq-container {
    max-width: 800px;
    margin: 4rem auto 0;
}

.faq-item {
    background: #fff;
    border: 1px solid #f0eee8;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    padding: 2.5rem;
    /* Slightly more padding */
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary-dim);
    transform: translateY(-2px);
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f0c0a;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.faq-question::before {
    content: 'Q.';
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
}

.faq-answer {
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    padding-left: 3rem;
    position: relative;
}

.faq-answer::before {
    content: 'A.';
    position: absolute;
    left: 0;
    top: 0;
    color: #ccc;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Security Section */
.security-section {
    background-color: #fcfcfc;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.security-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.security-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.security-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    background: rgba(161, 126, 26, 0.05);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.security-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.security-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.security-diagram-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.diagram-title {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: #333;
    font-weight: 700;
}

.security-diagram {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
}

.diagram-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diagram-node {
    padding: 0.8rem 1.2rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.diagram-arrow {
    padding: 0.5rem 0;
    color: #adb5bd;
}

.diagram-box {
    width: 100%;
    flex: 1;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.box-danger {
    background: #fff5f5;
    border: 1px solid #ffd8d8;
}

.box-safe {
    background: #f0f7ff;
    border: 1px solid #d0e7ff;
}

.diagram-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #dee2e6;
    padding-top: 80px;
}

.diagram-box h5 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.box-danger h5 {
    color: #e03131;
}

.box-safe h5 {
    color: #1971c2;
}

.diagram-box .box-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.box-danger .box-icon {
    color: #fa5252;
}

.box-safe .box-icon {
    color: #228be6;
}

.diagram-box ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.diagram-box ul li {
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: #495057;
    padding-left: 1.2rem;
    position: relative;
}

.box-danger ul li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #fa5252;
    font-weight: bold;
}

.safe-flow {
    text-align: left;
}

.flow-step {
    font-size: 0.8rem;
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
    border: 1px solid #e7f5ff;
    color: #1864ab;
    font-weight: 600;
}

.flow-note {
    font-size: 0.7rem;
    color: #1971c2;
    margin-top: 10px;
    opacity: 0.8;
}

.security-footer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(161, 126, 26, 0.03);
    border-radius: 12px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 991px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container {
        gap: 3rem;
    }

    .security-grid {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
        align-items: center;
        margin-top: 3rem;
    }

    .security-item {
        display: flex;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .security-item i {
        font-size: 1.5rem;
        color: var(--color-primary);
        background: rgba(161, 126, 26, 0.05);
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .security-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: #333;
    }

    .security-item p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.6;
    }

    .security-diagram-container {
        background: #fff;
        padding: 2.5rem;
        border-radius: var(--radius-md);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        border: 1px solid #eee;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero .container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }

    .hero-content {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .hero-visual {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .nav {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        height: auto;
        background: rgba(26, 21, 18, 0.98);
        padding: 1.5rem 2rem;
        flex-direction: column;
        z-index: 999;
        overflow-y: visible;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

        /* Fast animation */
        transform: translateY(-20px);
        transition: all 0.25s ease-out;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav a {
        margin: 1.5rem 0;
        font-size: 1.2rem;
        margin-left: 0;
        color: #fff;
    }

    .auth-buttons {
        margin: 2.5rem 0;
        flex-direction: column;
        width: 100%;
        gap: 1.5rem;
        margin-left: 0;
    }

    .auth-buttons a {
        margin: 0;
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1002;
    }

    .security-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .security-diagram {
        flex-direction: column;
    }

    .diagram-vs {
        padding: 1rem 0;
    }
}
/* FINAL RESPONSIVE OVERRIDES (FORCE PRIORITY) */
@media (max-width: 768px) {
    .comparison-box {
        padding: 1.5rem !important;
        margin: 0 1rem !important;
        width: calc(100% - 2rem) !important;
        box-sizing: border-box !important;
    }

    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .comp-col {
        padding: 1.5rem !important;
        border-right: none !important;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .comp-col:last-child {
        border-bottom: none !important;
    }

    .recommend-badge {
        position: static !important;
        transform: none !important;
        margin-bottom: 1rem !important;
        display: inline-block !important;
    }

    .steps-container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        margin-top: 3rem !important;
    }

    .step-item {
        padding: 2.5rem 1.2rem !important;
        height: auto !important;
    }

    .step-number {
        font-size: 5rem !important;
        top: -10px !important;
        right: 15px !important;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.7rem !important;
        line-height: 1.3 !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 1.2rem !important;
    }

    .security-diagram {
        flex-direction: column !important;
        padding: 0 !important;
    }

    .diagram-vs {
        padding: 1.5rem 0 !important;
    }

    .comparison-box {
        padding: 1.2rem !important;
        margin: 0 0.5rem !important;
        width: calc(100% - 1rem) !important;
    }
}
