:root {
    --primary-color: #004c8c;
    --secondary-color: #f39c12;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f7f9fa;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --inner-width: 1100px;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

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

ul, ol {
    list-style: none;
}

.l-inner {
    max-width: var(--inner-width);
    margin: 0 auto;
    padding: 0 20px;
}

.bg-light {
    background-color: var(--bg-light);
}

.section {
    padding: 80px 0;
}

.section__title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 50px;
    line-height: 1.5;
}

.section__title small {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.section__title span {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn--primary {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    border: none;
}

.btn--primary:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d68910 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

.btn--secondary {
    background: linear-gradient(135deg, #00c300 0%, #00a400 100%); /* LINE Green */
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.4);
    border: none;
}

.btn--secondary:hover {
    background: linear-gradient(135deg, #00a400 0%, #008a00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 195, 0, 0.5);
}

.btn--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn--icon svg {
    flex-shrink: 0;
}

.btn--small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn--large {
    padding: 20px 40px;
    font-size: 18px;
    width: 100%;
    max-width: 400px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 100;
    height: 80px; /* slightly taller */
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1400px; /* wider inner to accommodate horizontal nav */
    margin: 0 auto;
    padding: 0 30px;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #003366;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__right {
    display: flex;
    align-items: center;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__list {
    display: flex;
    gap: 30px;
}

.header__list a {
    font-size: 15px;
    font-weight: 700; /* bold text */
    color: #003366; /* dark navy */
    transition: color 0.3s;
}

.header__list a:hover {
    color: var(--secondary-color);
}

.header__cta {
    margin-left: 40px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2175e8; /* bright blue */
    color: var(--white);
    padding: 0 25px;
    height: 50px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    transition: background-color 0.3s;
    text-decoration: none;
}

.btn-header:hover {
    background-color: #1a5cba;
    color: var(--white);
}

.btn-header .arrow {
    margin-left: 10px;
    font-weight: 400;
}

.header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.header__hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s;
}

.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header__hamburger span:nth-child(3) { bottom: 0; }

/* Hero FV (New Edgy Typography) */
.hero {
    position: relative;
    height: 100vh;
    min-height: 750px;
    background-color: #fafbfc; /* slightly off-white */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero__shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Noise filter applied separately so it doesn't break the shape colors */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.2; 
    mix-blend-mode: overlay;
}

.hero__shape {
    position: absolute;
    opacity: 0.3;
}

.hero__shape-1 {
    top: -50vw;
    left: -20vw;
    width: 100vw;
    height: 100vw;
    border-radius: 50%;
    background: linear-gradient(110deg, #3cf0b4 0%, #63b3f2 60%, #ab8bf0 100%);
}

.hero__shape-2 {
    bottom: -60vw;
    right: -20vw;
    width: 120vw;
    height: 120vw;
    border-radius: 50%;
    background: linear-gradient(110deg, #3cf0b4 0%, #63b3f2 40%, #ab8bf0 100%);
}

/* No animations to keep the sweeping diagonal gap stable */

.hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__content {
    text-align: center;
    width: 100%;
    margin-top: -10vh; /* Lift the text visually above the center */
}

.hero__catch {
    font-size: clamp(28px, 7.5vw, 90px); /* Adjusted to ensure it fits on mobile screens without overflowing */
    line-height: 1.3;
    color: #111111; /* Dark text for best contrast */
    font-weight: 900;
    letter-spacing: 0.05em;
    transform: rotate(-6deg);
    display: inline-block;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8); /* Strong white glow */
}

.hero__catch-line {
    display: inline-block;
    overflow: hidden; /* Masks the sliding text */
    vertical-align: top;
    padding-bottom: 10px; /* prevent shadow clipping */
    white-space: nowrap; /* Prevents awkward line breaks like "へ。" on mobile */
}

.hero__catch-text {
    display: inline-block;
    transform: translateX(-110%); /* Start hidden to the left */
    opacity: 0;
    animation: textSlideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s; /* Initial delay for the first line */
}

.hero__catch-text.delay-text {
    animation-delay: 0.4s;
}

.hero__catch-text.delay-text-2 {
    animation-delay: 0.6s;
}

@keyframes textSlideLeft {
    0% {
        transform: translateX(-110%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Utilities */
.u-show-sp { display: none !important; }
.hero__catch-line.u-show-sp { display: none !important; }
.u-hide-sp { display: block !important; }
.hero__catch-line.u-hide-sp { display: inline-block !important; }

/* Message Section (New 50/50 Layout) */
.intro-message {
    display: flex;
    min-height: 80vh;
}

.intro-message__content {
    flex: 1;
    background: linear-gradient(135deg, #d0f0f5 0%, #dff7c5 100%); /* Stronger gradient */
    padding: 80px 5% 80px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-message__label {
    color: #1a5cba; /* bright blue */
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.intro-message__title {
    font-size: 40px;
    color: #003366;
    font-weight: 900;
    line-height: 1.6;
    margin-bottom: 40px;
    background-color: var(--white);
    display: inline-block;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.intro-message__title span {
    display: block; /* Ensures each span is on its own line smoothly */
}

.intro-message__text {
    margin-bottom: 40px;
}

.intro-message__text p {
    font-size: 18px;
    line-height: 2;
    color: #003366;
    font-weight: 700;
    margin-bottom: 15px;
}

.intro-message__features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.intro-message__image-wrapper {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.intro-message__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Model */
.model__grid {
    display: flex;
    gap: 30px;
}

.model__box {
    flex: 1;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.model__box--highlight {
    border: 2px solid var(--primary-color);
    position: relative;
}

.model__box--highlight::before {
    content: 'おすすめ';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.model__box h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 20px;
    color: var(--primary-color);
}

.model__list li {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.model__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Cost */
.cost__content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.cost__image {
    flex: 1;
}
.cost__image img {
    border-radius: 20px;
}

.cost__table-wrapper {
    flex: 1.5;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
}

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

.table th {
    background-color: var(--bg-light);
    font-weight: 700;
    text-align: center;
}

.table td.highlight {
    color: var(--secondary-color);
    font-weight: 700;
    text-align: center;
}

.table td small {
    display: block;
    color: var(--text-light);
}

.total-row td {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
}

.total-row td.highlight-total {
    background-color: var(--secondary-color);
    text-align: center;
}

.cost__message {
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

/* Compare */
.table-scroll {
    overflow-x: auto;
}

.table--compare th, .table--compare td {
    text-align: center;
}
.table--compare th:first-child, .table--compare td:first-child {
    text-align: left;
    background-color: var(--bg-light);
    font-weight: 700;
}
.table--compare .highlight-col {
    background-color: #e6f2ff;
    color: var(--primary-color);
}

/* Plan */
.plan__grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.plan__card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.plan__card--popular {
    border-color: var(--secondary-color);
    border-width: 2px;
}

.plan__badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.plan__header h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.plan__price {
    margin-bottom: 30px;
}

.plan__price strong {
    font-size: 40px;
    color: var(--text-color);
}
.plan__price span {
    font-size: 16px;
}
.plan__term {
    color: var(--text-light);
    font-size: 14px;
}

.plan__features {
    text-align: left;
}

.plan__features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}
.plan__features li:last-child {
    border-bottom: none;
}
.plan__features li.disabled {
    color: #999;
    text-decoration: line-through;
}

.plan__note {
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* Flow Timeline */
.flow__timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Vertical Gradient Line */
.flow__timeline::before {
    content: '';
    position: absolute;
    left: 38px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #004c8c 0%, #00c300 100%);
    border-radius: 2px;
}

.flow__step {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
    z-index: 2;
}

.flow__step:last-child {
    margin-bottom: 0;
}

.flow__step-num {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.flow__step:nth-child(1) .flow__step-num { border-color: #004c8c; color: #004c8c; }
.flow__step:nth-child(2) .flow__step-num { border-color: #0074a6; color: #0074a6; }
.flow__step:nth-child(3) .flow__step-num { border-color: #009c5d; color: #009c5d; }
.flow__step:nth-child(4) .flow__step-num { border-color: #00c300; color: #00c300; }

.flow__step-box {
    flex: 1;
    margin-left: 40px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow__step-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.flow__step-box h4 {
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--text-color);
}

.flow__step-box p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}
.faq__item {
    margin-bottom: 20px;
    background-color: var(--bg-light);
    border-radius: 10px;
    padding: 20px;
}
.faq__item dt {
    font-weight: 700;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
    color: var(--primary-color);
}
.faq__item dt::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    transition: transform 0.3s;
}
.faq__item.is-open dt::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq__item dd {
    margin-top: 15px;
    display: none;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, rgba(60, 240, 180, 0.3) 0%, rgba(99, 179, 242, 0.3) 60%, rgba(171, 139, 240, 0.3) 100%), var(--white);
    color: #111111;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta .l-inner {
    position: relative;
    z-index: 2;
}
.cta__title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);
}
.cta__desc {
    margin-bottom: 40px;
    font-size: 18px;
}
.cta__buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background-color: #222;
    color: var(--white);
    text-align: center;
    padding: 30px 0;
    font-size: 14px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 {
    transition-delay: 0.2s;
}

/* Responsive (Mobile) */
@media screen and (max-width: 768px) {
    /* Utilities */
    .u-show-sp { display: block !important; }
    .hero__catch-line.u-show-sp { display: inline-block !important; }
    .u-hide-sp { display: none !important; }

    /* Hero FV Adjustments */
    .section__title {
        text-align: left;
        font-size: 22px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .hero {
        min-height: 100vh;
    }
    
    .hero__catch {
        font-size: 8.5vw; /* Slightly larger as requested */
        transform: rotate(-3deg);
        line-height: 1.5;
        letter-spacing: 0.02em;
    }

    .hero__shape-1 {
        top: -15vh;
        left: -20vw;
        width: 110vw;
        height: 110vw;
        opacity: 0.4; /* Slightly more vibrant */
    }
    
    .hero__shape-2 {
        bottom: 5vh;
        right: -30vw;
        width: 120vw;
        height: 120vw;
        opacity: 0.35;
    }

    .header__right {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .header__right.is-active {
        transform: translateY(0);
    }
    
    .header__nav {
        width: 100%;
    }

    .header__list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .header__list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .header__list a {
        display: block;
        padding: 15px 0;
    }
    
    .header__cta {
        margin: 20px 0 0 0;
        width: 100%;
    }
    .btn-header {
        width: 100%;
    }
    
    .header__hamburger {
        display: block;
    }
    .header__hamburger.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .header__hamburger.is-active span:nth-child(2) {
        opacity: 0;
    }
    .header__hamburger.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }



    .intro-message {
        flex-direction: column;
        min-height: auto;
    }
    .intro-message__content {
        padding: 60px 20px;
    }
    .intro-message__title {
        font-size: 24px;
        padding: 15px;
        text-align: left;
    }
    .intro-message__text p {
        font-size: 15px;
        text-align: left;
    }
    .intro-message__features {
        justify-content: flex-start;
    }
    .intro-message__image-wrapper {
        min-height: 300px;
        width: 100%;
    }


    .model__grid, .plan__grid, .cost__content {
        flex-direction: column;
    }
    
    .flow__timeline::before {
        left: 28px;
    }
    .flow__step {
        margin-bottom: 30px;
    }
    .flow__step-num {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-width: 3px;
    }
    .flow__step-box {
        margin-left: 20px;
        padding: 20px;
    }
    .flow__step-box h4 {
        font-size: 16px;
    }
    
    .table th, .table td {
        font-size: 13px;
        padding: 10px;
    }
    
    .total-row td {
        font-size: 14px;
    }
    
    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Contact Form */
.form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.form__group {
    margin-bottom: 20px;
    text-align: left;
}
.form__group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-color);
}
.form__group .required {
    background-color: #e74c3c;
    color: var(--white);
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}
.form__group input,
.form__group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}
.form__group input:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form__submit {
    text-align: center;
    margin-top: 30px;
}
.form__submit button {
    border: none;
    cursor: pointer;
}

/* ===== Site Footer (TonariWeb Style) ===== */
.site-footer {
  background: #111111;
  color: #ffffff;
  padding: 80px 40px 40px;
  position: relative;
  z-index: 10;
  font-family: sans-serif;
}
.site-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
}
.site-footer a:hover {
  opacity: 0.7;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding-bottom: 50px;
  margin-bottom: 30px;
}
.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.footer-brand .logo-mark {
  width: 48px;
  height: 48px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #cccccc;
}
.footer-info {
  font-size: 14px;
  line-height: 1.8;
  color: #cccccc;
}
.footer-heading {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-menu li {
  margin-bottom: 12px;
}
.footer-menu a {
  font-size: 14px;
  color: #cccccc;
}
.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888888;
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  color: #888888;
}
@media (max-width: 768px) {
  .site-footer {
    padding: 60px 20px 30px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ====== Responsive Tables Improvements ====== */
@media (max-width: 768px) {
    /* 1. Compare Table Sticky Column */
    .table-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px; /* space for scrollbar */
    }
    .table--compare {
        min-width: 600px; /* Force table to be wider than screen so it scrolls nicely */
    }
    .table--compare th,
    .table--compare td {
        min-width: 130px;
        word-break: keep-all; /* prevent weird line breaks on short words */
    }
    .table--compare th:first-child,
    .table--compare td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background-color: var(--bg-light);
        box-shadow: 2px 0 5px rgba(0,0,0,0.05);
        min-width: 85px;
    }
    
    /* 2. Cost Table Card Layout */
    .cost__table-wrapper .table,
    .cost__table-wrapper .table tbody,
    .cost__table-wrapper .table tr,
    .cost__table-wrapper .table td,
    .cost__table-wrapper .table tfoot {
        display: block;
        width: 100%;
    }
    
    .cost__table-wrapper .table thead {
        display: none;
    }
    
    .cost__table-wrapper .table tr {
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        overflow: hidden;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    
    .cost__table-wrapper .table td {
        text-align: left !important;
        padding: 15px !important;
        position: relative;
        border: none;
        border-bottom: 1px dashed var(--border-color);
    }
    
    .cost__table-wrapper .table td::before {
        content: attr(data-label);
        display: block;
        text-align: left;
        font-weight: 700;
        color: var(--primary-color);
        font-size: 12px;
        margin-bottom: 8px;
        background: var(--bg-light);
        padding: 4px 10px;
        border-radius: 4px;
        width: fit-content;
    }
    
    .cost__table-wrapper .table td:last-child {
        border-bottom: none;
        background-color: #f4fafe;
    }
    
    /* Total Row Overrides */
    .cost__table-wrapper .table .total-row td {
        background-color: var(--white);
        color: var(--text-color);
        padding: 15px !important;
    }
    .cost__table-wrapper .table .total-row td:last-child {
        background-color: var(--secondary-color);
        color: var(--white);
        font-size: 18px;
        text-align: center !important;
    }
    .cost__table-wrapper .table .total-row td::before {
        color: var(--primary-color);
    }
    .cost__table-wrapper .table .total-row td:last-child::before {
        color: var(--white);
        background: rgba(255, 255, 255, 0.2);
        margin: 0 auto 10px; /* Center the label in the highlighted total block */
    }
    
    /* Hide empty TD if data-label is "-" */
    .cost__table-wrapper .table td[data-label="-"] {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
        line-height: 1.7;
    }
    .model__box, .plan__card, .feature__item {
        padding: 25px 20px;
    }
    .section {
        padding: 60px 0;
    }
}

/* Contact Description */
.contact__desc {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
}
.contact__desc p {
    margin-bottom: 10px;
}
.contact__notice {
    color: #e74c3c;
    font-weight: bold;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .contact__desc {
        text-align: left;
    }
}
@media screen and (max-width: 768px) {
    .cost__message {
        text-align: left;
    }
    .form {
        padding: 30px 15px;
    }
}
@media screen and (max-width: 768px) {
    .form__submit button {
        width: 100%;
        font-size: 18px;
        padding: 20px;
    }
}
@media screen and (max-width: 768px) {
    .cta {
        padding: 60px 0;
    }
    .cta__title {
        font-size: 24px;
        line-height: 1.5;
    }
    .cta__desc {
        font-size: 15px;
        line-height: 1.6;
    }
}
@media screen and (max-width: 768px) {
    .cta__title {
        font-size: 22px !important;
    }
}
@media screen and (max-width: 768px) {
    .hero__content {
        margin-top: -18vh;
    }
}
