/* =========================================
   1. Variables & Reset (White Theme)
   ========================================= */
:root {
    /* Colors */
    --bg-white: #ffffff;
    --bg-offwhite: #f9fafb;
    --bg-gray: #f3f4f6;
    --bg-dark: #1f2937;
    /* For contrast sections */

    --text-main: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --text-white: #f9fafb;

    --accent-blue: #3b82f6;
    /* Clean Professional Blue */
    --accent-dark: #1e40af;
    --accent-glow: rgba(59, 130, 246, 0.2);
    --accent-gradient: linear-gradient(135deg, #3b82f6, #06b6d4);

    --border-color: #e5e7eb;

    /* Fonts */
    --font-heading: 'Jost', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;

    /* Spacing */
    --container-width: 1100px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* =========================================
   2. Utilities
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.bg-gray {
    background-color: var(--bg-gray);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.bg-light-blue {
    background-color: #eff6ff;
}

.white {
    color: var(--text-white);
}

.white-desc {
    color: var(--text-light) !important;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    margin: 10px auto 0;
}

.section-desc {
    color: var(--text-muted);
    margin-bottom: 3rem;
    text-align: center;
}

.highlight {
    color: var(--accent-blue);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    /* Matched to Admin */
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-2px);
    opacity: 0.95;
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--text-main);
    background: var(--bg-gray);
}

/* =========================================
   3. Header & Navigation (Mobile First)
   ========================================= */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    padding-top: 1px;
    /* Subtle pixel adjustment if flex alone isn't enough, but user asked for "down". Safe tweak. */
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-left: auto;
    /* Push to right */
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-menu a:hover {
    color: var(--accent-blue);
}

.nav-cta {
    background: var(--bg-dark);
    color: white !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-cta:hover {
    opacity: 0.9;
}

/* Hamburger Menu (Mobile) */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
    }

    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--text-main);
        height: 2px;
        width: 100%;
        position: absolute;
        transition: 0.3s;
    }

    .nav-toggle-label span {
        top: 9px;
    }

    .nav-toggle-label span::before {
        content: '';
        top: -9px;
    }

    .nav-toggle-label span::after {
        content: '';
        top: 9px;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        width: 100%;
        padding: 20px 0;
        border-bottom: 1px solid var(--border-color);
        transform: scaleY(0);
        transform-origin: top;
        transition: 0.3s;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .nav-toggle:checked~.nav-menu {
        transform: scaleY(1);
    }
}

/* =========================================
   4. Hero Section & Video Background
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
    /* Default text white for better contrast over video */
}

/* Background Video Wrapper */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: #000;
}

.video-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.video-slide.active {
    opacity: 1;
}

/* Make iframe cover the background */
.video-slide iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 ratio based on width */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 ratio based on height */
    transform: translate(-50%, -50%) scale(1.2);
    /* Scale up slightly to avoid edges */
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Simple dark overlay */
    z-index: 2;
}

/* Hero Content z-index fix */
.hero-container {
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
    /* Prevent overlap */
}

.hero-container h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.9);
    /* Stronger shadow */
}

.accent-text {
    color: #ffffff;
    /* White */
    background: none;
    -webkit-text-fill-color: initial;
    font-weight: 800;
    text-shadow:
        0 0 10px rgba(0, 123, 255, 0.8),
        0 0 20px rgba(0, 123, 255, 0.4),
        0 0 30px rgba(0, 123, 255, 0.2);
    /* Blue Glow Effect */
}

.sp-break {
    display: none;
}

.no-wrap-text {
    white-space: nowrap;
    display: inline-block;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ... existing animation styles ... */
.fade-in {
    opacity: 0;
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero {
        /* Push down by header height to clear text from being covered */
        margin-top: 70px;
        /* Exact 16:9 Aspect Ratio */
        height: 56.25vw;
        min-height: auto;
        overflow: hidden;
    }

    .video-slide iframe {
        /* Fit the container exactly */
        min-height: 100%;
        min-width: 100%;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transform: translate(-50%, -50%);
    }

    .hero-container h1 {
        font-size: 6vw !important;
        /* Adjusted for better visibility */
        margin-bottom: 8px;
    }

    .sp-break {
        display: block;
    }

    .hero-sub {
        font-size: 2.8vw;
        margin-bottom: 10px;
    }

    .hero-container {
        /* Remove extra padding to keep everything tight in the 16:9 box */
        padding-bottom: 0;
    }
}

/* =========================================
   Page Header (Subpages)
   ========================================= */
.page-header {
    background: var(--bg-dark);
    color: white;
    padding: 120px 0 60px;
    /* Enough top padding to clear fixed header */
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Prevent spill */
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    padding: 0 20px;
    /* Ensure text doesn't touch edges on mobile */
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.9rem;
        word-wrap: break-word;
        /* Ensure wrapping */
    }
}


/* =========================================
   5. About Section
   ========================================= */
.profile-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.profile-img-container {
    margin-bottom: 25px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-gray);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.job-title {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-left: 10px;
}

.profile-desc {
    margin: 20px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
    text-align: left;
    background: var(--bg-gray);
    padding: 15px;
    border-radius: 10px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
}

.stat-text {
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
}

/* =========================================
   6. Services & Compare Widget
   ========================================= */
/* Compare Lite Widget */
.audio-compare-lite {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #dbeafe;
    /* Light blue border */
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.05);
}

.widget-title {
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.widget-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.compare-item-lite {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.song-label {
    font-weight: 600;
    color: var(--text-main);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.toggle-switch {
    display: flex;
    background: #e5e7eb;
    border-radius: 30px;
    padding: 3px;
    position: relative;
}

.toggle-switch input {
    display: none;
}

/* Profile Buttons */
.profile-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.toggle-switch label {
    padding: 6px 16px;
    cursor: pointer;
    z-index: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-switch input:checked+label {
    color: white;
    background: var(--accent-blue);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.play-btn:hover {
    transform: scale(1.05);
    background: var(--accent-dark);
}

/* Pricing Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.price-card {
    background: white;
    padding: 30px;
    padding-top: 50px;
    /* Consistent top padding */
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    /* Flexbox for vertical alignment */
    display: flex;
    flex-direction: column;
    height: 100%;
}



.price-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.tax-note {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}



/* Customer Voices */
.voice-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.voice-body {
    position: relative;
    padding-left: 20px;
}

.voice-quote {
    position: absolute;
    top: -5px;
    left: -5px;
    color: var(--accent-blue);
    font-size: 1.2rem;
    opacity: 0.3;
}

.voice-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 20px;
    font-style: italic;
}

.voice-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.voice-plan {
    background: var(--accent-blue);
    color: white;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.voice-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Validation Styles */
.input-error {
    border-color: #dc2626 !important;
    background-color: #fef2f2;
}

.error-message {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
}

.price-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-card.featured {
    border: 2px solid var(--accent-blue);
    background: #f0f9ff;
}

.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-blue);
    color: white;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

/* =========================================
   11. Order Form Sections
   ========================================= */
.form-legend {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: right;
}

.form-sections-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section-block {
    padding: 30px;
    border-radius: 12px;
}

.form-section-block:nth-child(odd) {
    background-color: white;
    border: 1px solid var(--border-color);
}

.form-section-block:nth-child(even) {
    background-color: var(--bg-gray);
    /* Using lighter gray var available? --bg-gray is #f3f4f6 */
    /* Add slight border to match visual weight? */
    border: 1px solid transparent;
}

.form-section-block .form-section-title {
    margin-top: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    /* Subtle divider */
}

@media (max-width: 768px) {
    .form-section-block {
        padding: 20px;
    }
}

.options-box {
    margin-top: 40px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
}

.option-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* =========================================
   7. Original Music & Works
   ========================================= */
.original-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.work-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    /* Ensure ease timing */
    will-change: transform;
    /* Hint browser for performance */
    transform: translateY(0);
    /* Explicitly set default state */
}



.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.work-title {
    padding: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-main);
    /* Allow full text display with wrapping */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* =========================================
   8. Order & Form
   ========================================= */
.order-status {
    margin-bottom: 30px;
}

.status-open {
    color: #10b981;
    font-weight: 600;
    background: #ecfdf5;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.order-form-clean {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 40px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
}

.req {
    color: #ef4444;
    margin-left: 3px;
}

input[type="text"],
input[type="email"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
    background: #f9fafb;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.hidden {
    display: none;
}

.success-message {
    text-align: center;
    margin-top: 20px;
    padding: 40px;
    background: #ecfdf5;
    border-radius: 10px;
    color: #065f46;
}

.success-message i {
    font-size: 3rem;
    margin-bottom: 15px;
}

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-container h1 {
        font-size: 2.2rem;
    }

    .compare-item-lite {
        width: 100%;
    }
}

/* =========================================
   News Section
   ========================================= */
.twitter-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* =========================================
   9. Footer
   =========================================/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-gray);
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    /* Adjusted columns: Give more space to the 3rd column (Legal) for 2-col list */
    grid-template-columns: 1.5fr 0.8fr 2fr 0.8fr;
    gap: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

/* Specific style for Legal/Support column (3rd child) to be 2-column grid */


.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    /* Prevent wrapping for cleaner look if space allows */
}

.footer-col ul li a:hover {
    color: var(--accent-blue);
}

.footer-logo {
    width: 140px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-copy {
    font-size: 0.8rem;
    color: #666;
}

.footer-sns a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: 20px;
    transition: color 0.3s;
}

.footer-sns a:hover {
    color: var(--accent-blue);
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    /* Reset to single column on mobile for better readability */
    .footer-container .footer-col:nth-child(3) ul {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}

.form-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
    display: block;
    width: 100%;
}

.form-section-title:first-child {
    margin-top: 0;
}

/* =========================================
   10. Components & Legal
   ========================================= */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.legal-table th,
.legal-table td {
    padding: 18px 25px;
    border-bottom: 1px solid #eee;
    text-align: left;
    font-size: 0.95rem;
}

.legal-table th {
    background-color: #f8f9fa;
    color: var(--text-heading);
    width: 30%;
    font-weight: 600;
}

.legal-table td {
    color: var(--text-main);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {

    .legal-table th,
    .legal-table td {
        display: block;
        width: 100%;
    }

    .legal-table th {
        padding-bottom: 5px;
        color: var(--accent-blue);
    }

    .legal-table td {
        padding-top: 5px;
    }
}

/* Privacy Policy & Terms Styles */
.privacy-content h3,
.terms-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-heading);
    border-left: 4px solid var(--accent-blue);
    padding-left: 15px;
}

.privacy-content h3:first-of-type,
.terms-content h3:first-of-type {
    margin-top: 20px;
}

.privacy-content p,
.terms-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-content ul,
.terms-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.privacy-content li,
.terms-content li {
    margin-bottom: 5px;
    color: var(--text-main);
}

.notice-box {
    margin: 0 auto 40px;
    max-width: 800px;
    text-align: left;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: white;
    border: 1px solid #e5e7eb;
}

.notice-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    /* Site Blue Gradient */
    color: white;
    padding: 15px 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
}

.notice-content {
    background-color: white;
    padding: 30px;
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.8;
}

.notice-content h4 {
    font-size: 1rem;
    color: var(--accent-blue);
    /* Blue accent for title */
    margin-bottom: 15px;
    font-weight: 700;
    border-bottom: 1px dashed #e5e7eb;
    padding-bottom: 10px;
}

/* =========================================
   11. News Section (Redesign)
   ========================================= */
.news-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-header {
    flex: 0 0 260px;
    /* Fixed width for title */
    text-align: left;
}

.news-header h2 {
    font-size: 3rem;
    /* Large font size like image */
    font-weight: 500;
    margin: 0;
    text-align: left;
    width: auto;
    display: block;
    white-space: nowrap;
}

.news-header .section-title {
    text-align: left;
    margin-bottom: 0;
    width: auto;
}

.news-header .section-title::after {
    display: none;
    /* Remove blue underline for this specific layout */
}

.news-content {
    flex: 1;
}

.news-list {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    /* Thin light line */
    gap: 30px;
}

.news-item:first-child {
    padding-top: 0;
}

.news-date {
    color: #9ca3af;
    /* Muted gray for date */
    font-family: var(--font-heading);
    font-size: 0.95rem;
    min-width: 100px;
}

.news-title {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.2s;
}

.news-title:hover {
    color: var(--accent-blue);
}

.news-more {
    text-align: right;
    margin-top: 20px;
}

.view-all {
    font-size: 0.9rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--text-main);
    padding-bottom: 2px;
    transition: all 0.2s;
}

.view-all:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
}

@media (max-width: 768px) {
    .news-container {
        flex-direction: column;
        gap: 30px;
    }

    .news-header {
        flex: auto;
        width: 100%;
        text-align: center;
    }

    .news-header h2 {
        text-align: center;
    }

    .news-item {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .news-date {
        font-size: 0.85rem;
    }
}

/* =========================================
   12. News Archive Page
   ========================================= */
.news-archive {
    max-width: 800px;
    margin: 0 auto;
}

.news-article {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.news-label {
    background: var(--bg-gray);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    line-height: 1.4;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.article-body {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 15px;
}

.article-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .news-article {
        padding: 25px;
    }

    .article-title {
        font-size: 1.2rem;
    }
}

/* =========================================
   13. Works Page Tabs
   ========================================= */
.works-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-body);
    color: var(--text-muted);
}

.tab-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.tab-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

/* =========================================
   14. Mobile Optimization & Accordion
   ========================================= */


@media (max-width: 768px) {

    /* Floating CTA */
    .floating-cta {
        position: fixed;
        bottom: 20px;
        left: 20px;
        right: 20px;
        z-index: 9999;
        animation: slideUp 0.5s ease-out;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================================
   15. Animation Utils
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


/* =========================================
   16. Equipment Section
   =========================================*/
.eq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.eq-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s;
}



.eq-icon {
    font-size: 2.5rem;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

/* Purpose Card (Static version of Price Card) */
.purpose-card {
    background: white;
    padding: 30px;
    padding-top: 50px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Add Transitions */
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    text-decoration: none;
    /* Ensure no underline on card text */
}

.purpose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-blue);
}

/* Voice Card Styles matching pf-card but specific tweaks if needed */
#voice-list-home .pf-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Plan Sync Widgets */
.plan-badge {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--accent-blue);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeIn 0.5s;
}

.plan-float-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid var(--accent-blue);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    width: 250px;
    animation: slideUp 0.5s;
    display: block;
    /* Toggled by JS */
}

.plan-float-header {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.plan-float-title {
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 10px;
    font-size: 1rem;
}

/* --- REFACTORED PRICE GRID (Unified) --- */
.price-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin: 0 auto 40px auto;
}

/* --- REFACTORED PLAN CARD --- */
.price-card {
    background: white;
    padding: 30px;
    padding-top: 50px;
    border-radius: 15px;
    border: 1px solid #eef0f3;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;

    /* Flex Sizing for centered layout */
    flex: 0 1 360px;
    width: 100%;

    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    /* Make entire card clickable */
    cursor: pointer;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-blue);
}

/* Selected State (Script adds border color manually, but good to have class) */
.price-card.selected {
    border-color: var(--accent-blue) !important;
    background-color: #f0f9ff;
    /* Light blue tint */
}

.price-card.featured {
    border: 2px solid var(--accent-blue);
    background-color: #f0f9ff;
}

/* Top Right Badge (Popular) */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-blue);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
    text-align: center;
}

/* ... (catchphrase, etc) ... */

/* Step Number Styling (Text Only - Final Fix) */
.step-num {
    display: block;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    /* Larger for emph */
    margin-bottom: 5px;
    background: none;
    padding: 0;
    width: auto;
    height: auto;
    line-height: 1.2;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
}

/* Top Left Catchphrase (Singing Only, etc) */
.catchphrase {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 10;
    /* Limit width if needed to not overlap badge */
    max-width: calc(100% - 90px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Title sync: All titles start after padding-top */
.plan-title {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    margin-top: 0;
    /* Padding-top of card handles spacing */
    min-height: 1.4em;
    /* Ensure single line titles occupy same space as potentially wrapped ones? Or just align top */
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    font-family: var(--font-accent);
}

.price-card .price-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    /* flex-grow moved to container */
}

.plan-details-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Card Footer (Meta + Button) */
.card-meta {
    margin-top: auto;
    /* Pushed to bottom */
    padding-top: 15px;
    border-top: 1px dashed #eee;
    font-size: 0.9rem;
    color: #666;
}

.card-meta .meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.card-action {
    margin-top: 15px;
    text-align: center;
    /* Ensure action button stays at very bottom */
}

/* Button Styling Override for Card Click */
.card-action .btn {
    /* Suppress button prominence since card is clickable */
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    transition: all 0.2s ease;
}

.card-action .btn:hover {
    background: var(--accent-blue);
    color: white;
}

/* Selected State Override */
.card-action .btn.selected {
    background: var(--accent-blue) !important;
    color: white !important;
    border-color: var(--accent-blue) !important;
}

/* Focus state reset */
.card-action .btn:focus {
    outline: none;
    box-shadow: none;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
}

.price-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.price-features li::before {
    content: "✓";
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* --- PRODUCTION SCHEDULE (Premium 3-3 Layout) --- */
.flow-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 50px auto;
    max-width: 1150px;
    flex-wrap: wrap;
}

.step-item {
    flex: 0 1 300px;
    /* Wider width for 3-col balance */
    width: 300px;
    background: white;
    text-align: center;
    padding: 30px 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.3s ease;
}

/* Hover effect removed per user request */

/* Connector Arrows (Right) */
.step-item::after {
    content: "→";
    font-family: Arial, sans-serif;
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    color: #cbd5e1;
    font-size: 1.5rem;
    font-weight: 300;
}

/* Hide arrow on the last item of first row (3rd) and very last item */
.step-item:nth-child(3)::after,
.step-item:last-child::after {
    display: none;
}

.step-num {
    display: inline-block;
    background: #eff6ff;
    color: var(--accent-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: none;
    width: auto;
    height: auto;
    line-height: normal;
}

.step-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.4;
}

.step-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Mobile: Single Column (Break earlier at 1000px for safety with 300px cards) */
@media (max-width: 1000px) {
    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        max-width: 500px;
    }

    .step-item {
        width: 100%;
        max-width: 100%;
        flex: auto;
    }

    /* Change arrow to Down for mobile */
    .step-item::after {
        content: "↓";
        right: 50%;
        top: auto;
        bottom: -35px;
        transform: translateX(50%);
    }

    .step-item:nth-child(3)::after {
        display: block;
        /* Show arrow for item 3 in vertical mode */
    }

    .step-item:last-child::after {
        display: none;
    }
}

/* Mobile: Compact 2-column Grid for Schedule */
@media (max-width: 767px) {
    .flow-steps {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        flex-direction: row;
        align-items: stretch;
    }

    .step-item {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        min-height: auto;
    }

    /* Hide arrows completely in grid mode */
    .step-item::after {
        display: none !important;
    }
}


/* Enforce 3 Columns for Mix Page */
@media (min-width: 1000px) {
    #plan-list-mix {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    /* Ensure other grids stay centered flex */
    .price-grid:not(#plan-list-mix) {
        display: flex;
        justify-content: center;
    }
}


/* =========================================
   17. Refinements (Vertical Alignment)
   ========================================= */
.work-item,
.pf-card {
    display: flex;
    flex-direction: column;
}

.work-item:hover {
    /* Removed hover effects */
    transform: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Push the last element (role/date) to the bottom */
.work-role,
.pf-card .text-sm,
.pf-card .price-desc+div {
    margin-top: auto;
}

/* ... existing structure ... */

/* Strict Right Alignment for Header/Footer Nav */
@media (min-width: 769px) {
    .nav-links {
        margin-right: -20px;
        /* Micro adjustment if needed, but flex-end should work */
        justify-content: flex-end;
    }

    .nav-menu ul {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    .nav-menu li {
        margin-left: 30px;
    }

    .header {
        justify-content: space-between;
    }

    /* Ensure the last item (CTA button or link) hits the edge */
    .nav-menu li:last-child {
        margin-right: 0;
    }
}

/* =========================================
   18. New UI Components (2026-02 Refactor)
   ========================================= */

/* 1. Required Label (Form) */
.req {
    color: #ef4444;
    /* Red text */
    background: #fef2f2;
    /* Light red bg */
    border: 1px solid #fee2e2;
    font-size: 0.75rem;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    display: inline-block;
}

/* 2. Flow Steps (Refined for alignment) */
.flow-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

/* Base Step Item */
.step-item {
    background: white;
    padding: 25px 15px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: center;
    position: relative;
    /* Flex Column for strict vertical centering */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Default width logic */
    flex: 0 0 260px;
    /* Fixed basis ~260px */
    width: 260px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .flow-steps {
        max-width: 600px;
    }

    .step-item {
        flex: 0 0 45%;
        /* 2 cols */
        width: auto;
        min-width: 200px;
    }
}

@media (max-width: 600px) {
    .step-item {
        flex: 0 0 100%;
        /* 1 col */
        width: 100%;
        max-width: 350px;
    }
}





.step-item h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* 2. Enhanced Option List (Icon + Border) */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.option-item-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 15px;
    /* Increase gap for breathing room */
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
    /* Ensure full height in grid */
}

.option-item-card:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.option-item-card.selected {
    border-color: var(--accent-blue);
    background-color: #f0f9ff;
    box-shadow: 0 0 0 1px var(--accent-blue);
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e5e7eb;
}

.option-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-icon {
    width: 32px;
    height: 32px;
    background: #eff6ff;
    color: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.option-item-card.selected .option-icon {
    background: var(--accent-blue);
    color: white;
}

.option-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
}

.option-price {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.option-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    /* Pushes button to bottom */
    padding: 0;
    /* Remove indentation */
}

.option-select-btn {
    margin-top: auto;
    /* Ensure it sticks to bottom */
    width: 100%;
    text-align: center;
}

.btn-option-toggle {
    font-size: 0.85rem;
    padding: 8px 0;
    width: 100%;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-option-toggle:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.option-item-card.selected .btn-option-toggle {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

/* Preserved Purpose Grid */
@media (min-width: 900px) {
    .purpose-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 800px;
        margin: 0 auto;
    }
}

@media (max-width: 1023px) {
    .purpose-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- Customer Voices Grid (Static 3x2 on PC, Slider on Mobile) --- */
.voices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

@media (max-width: 900px) {
    .voices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: Horizontal Scroll Slider with Peek (Centered) */
@media (max-width: 767px) {
    .voices-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        /* Center Alignment Logic: 85vw card means 7.5vw padding each side to center */
        padding-left: 7.5vw;
        padding-right: 7.5vw;
        margin: 40px -20px;
        scroll-padding-inline: 7.5vw;
        /* Crucial for snap alignment */
        /* Hide Scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .voices-grid::-webkit-scrollbar {
        display: none;
    }

    .voice-card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        /* Center snap */
        width: 85vw;
        margin-right: 20px;
        /* Gap between cards */
    }

    .voice-card:last-child {
        margin-right: 0;
    }
}

/* --- Scroll Indicator Dots (Mobile) --- */
.scroll-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: -20px;
    margin-bottom: 40px;
}

@media (max-width: 767px) {
    .scroll-dots {
        display: flex;
    }
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    transition: 0.3s;
}

.scroll-dot.active {
    background: var(--accent-blue);
    width: 24px;
    /* elongated active dot */
    border-radius: 4px;
}

/* 5. Original Plan Center 2-Column */
.price-grid.center-2-col {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-grid.center-2-col .price-card {
    width: 100%;
    max-width: 380px;
    flex: 0 1 380px;
}

/* 6. Tabs Adjustment */
.works-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: 0.3s;
    white-space: nowrap;
}

.tab-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* --- FAQ ACCORDION REDESIGN --- */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-section-title {
    text-align: center;
    font-size: 1.5rem;
    margin: 60px 0 30px;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.faq-section-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 30px;
    background: var(--accent-gradient);
    border-radius: 3px;
    margin-right: 5px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: transform 0.2s, box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    /* Lift effect */
}

.faq-item summary {
    background: #f9fafb;
    padding: 20px 25px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-main);
    border-left: 4px solid var(--accent-blue);
    font-size: 1.05rem;
    transition: background 0.3s;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    color: var(--accent-blue);
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
    margin-left: 15px;
}

.faq-item[open] summary {
    background: #eff6ff;
    border-bottom: 1px solid #eee;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
    color: var(--accent-dark);
}

.faq-content {
    padding: 30px 30px 40px 30px;
    line-height: 1.8;
    color: #4b5563;
}



.voice-card {
    /* flex properties removed */
    width: 100%;
    /* Fill grid cell */
    scroll-snap-align: center;
    background: white;
    padding: 30px;
    padding-top: 40px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

/* Match Purpose Card Hover EXACTLY */
.voice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--accent-blue);
}

.voice-icon {
    font-size: 1.2rem;
    /* Smaller */
    color: var(--accent-blue);
    margin-bottom: 20px;
    background: #eff6ff;
    /* Light blue circle */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-title {
    font-size: 1.1rem;
    font-weight: 700;
    /* Bold */
    margin-bottom: 15px;
    line-height: 1.5;
    color: var(--text-main);
}

.voice-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    /* Relaxed */
    margin-bottom: 0;
}

/* Navigation Arrows */
.voice-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--text-main);
    transition: 0.2s;
}

.voice-nav-btn:hover {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

.voice-nav-prev {
    left: -20px;
}

.voice-nav-next {
    right: -20px;
}

@media (max-width: 800px) {
    .voice-nav-btn {
        display: none;
    }

    /* Hide arrows on mobile */
    .voices-carousel-container {
        padding: 0;
    }
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .voice-card {
        flex: 0 0 280px;
    }
}

/* =========================================
   20. Footer (Refactored 2026-02)
   ========================================= */
/* =========================================
   20. Footer (Redesign 2026-02 - Light)
   ========================================= */
/* =========================================
   20. Footer (Redesign 2026-02 - Service Focused)
   ========================================= */
.footer {
    background-color: #f8fafc;
    /* Very light gray */
    color: #334155;
    /* Slate-700 */
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    letter-spacing: 0.03em;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px 60px;
    display: grid;
    /* 3 Equal Columns: Service | Support | Policy */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
}

/* Column Common */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Heading Design: Bold + Blue Accent */
.footer-col h4 {
    color: #0f172a;
    /* Slate-900 */
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    padding-left: 12px;
    border-left: 4px solid var(--accent-blue, #3b82f6);
    /* Fallback blue if var not found */
    line-height: 1.4;
}

/* List Styles */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Increased gap for better touch targets */
}

.footer-col li {
    display: block;
}

.footer-col a {
    color: #64748b;
    /* Slate-500 */
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 0;
    /* Align with text */
}

/* Link Icon: > Arrow */
.footer-col a::before {
    content: '\f105';
    /* FontAwesome Angle Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8em;
    color: var(--accent-blue, #3b82f6);
    transition: transform 0.2s ease;
}

/* Hover Effect */
.footer-col a:hover {
    color: var(--accent-blue, #3b82f6);
    opacity: 1;
}

.footer-col a:hover::before {
    transform: translateX(4px);
    /* Move arrow slightly */
}

/* Brand Column (Left) */
.footer-logo {
    width: 140px;
    margin-bottom: 24px;
    opacity: 1;
    display: block;
    filter: none !important;
    /* Ensure normal colors */
}

.footer-sns {
    display: flex;
    gap: 16px;
    font-size: 1.5rem;
}

.footer-sns a {
    color: #94a3b8;
    transition: 0.2s;
}

.footer-sns a:hover {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Copyright Bar */
.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 24px 0;
    text-align: center;
    background-color: #f8fafc;
}

.footer-copy {
    font-size: 0.75rem;
    color: #475569;
    /* Darker Slate-600 */
    margin: 0;
    font-family: var(--font-english, sans-serif);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .footer-col h4 {
        margin-bottom: 16px;
    }

    .footer-col {
        align-items: flex-start;
        /* Left align on mobile too for lists */
    }

    .footer-logo {
        width: 120px;
        margin-bottom: 20px;
    }
}

.footer-sns a:hover {
    color: var(--accent-blue);
}

/* Specific Columns for Mobile Ordering */
/* We will use generic .footer-col but rely on HTML source order or mobile-specific order properties */

/* Mobile Footer */
@media (max-width: 900px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }

    .footer-col {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 
       Mobile Order Request: 
       Vertical 1 column. 
       Usually: Links first, then Brand at bottom.
    */

    .brand-col {
        order: 4;
        /* Move Brand to bottom */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 30px;
        margin-top: 10px;
    }

    /* We need to distinguish the other 3 columns. 
       We will assign classes .col-service, .col-support, .col-policy in HTML 
       to control order if needed, but default source order might be fine 
       if the HTML structure matches the desired visual order.
       
       Desired PC: Service | Support | Policy
       Desired Mobile: Service -> Support -> Policy (or Support first?)
       User: "3 columns vertical" -> Usually top to bottom.
       The desktop grid source order will likely be: Brand, Service, Support, Policy.
       Mobile Flex Order:
       Brand: Order 4 (Bottom).
       Service: Order 1
       Support: Order 2
       Policy: Order 3
       
       Actually, often "Support" (Order form) is prioritized on mobile.
       Let's stick to source order naturally for links 1-3 unless specified.
       User didn't specify mobile *priority*, just "vertical".
       Defaulting to source order for links.
    */

    /* Ensure headings are clear */
    .footer-col h4 {
        color: var(--accent-blue);
        /* Optional accent for mobile headings? Or keep white. Kept white in base. */
        margin-bottom: 15px;
    }
}