/* ==================== VARIABLES ==================== */
:root {
    --header-height: 3.5rem;

    /* Colors */
    --hue: 220;
    --first-color: #0f172a;
    /* Darker Slate */
    --first-color-alt: #1e293b;
    --first-color-light: #334155;
    --title-color: #0f172a;
    --text-color: #334155;
    --text-color-light: #64748b;
    --body-color: #f8fafc;
    --container-color: #ffffff;
    --accent-color: #d4af37;
    /* Premium Gold */
    --accent-gradient: linear-gradient(135deg, #d4af37 0%, #fcd34d 100%);

    /* Typography */
    --body-font: 'Noto Sans JP', sans-serif;
    --title-font: 'Noto Serif JP', serif;
    /* Premium feeling font */
    --big-font-size: 2.5rem;
    --h1-font-size: 1.75rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;

    /* Margins */
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;
}

@media screen and (min-width: 968px) {
    :root {
        --big-font-size: 4rem;
        --h1-font-size: 2.5rem;
        --h2-font-size: 2rem;
        --h3-font-size: 1.5rem;
        --normal-font-size: 1.125rem;
        --small-font-size: 1rem;
    }
}

/* ==================== BASE ==================== */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    /* Fix anchor scrolling overlap */
}

body {
    margin: 0;
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
    color: var(--text-color);
    /* Sticky Footer Setup */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure main content expands */
main,
.main,
.legal-container {
    flex: 1;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: 700;
    font-family: var(--title-font);
    letter-spacing: 0.05em;
    /* Add elegance */
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== REUSABLE CSS CLASSES ==================== */
.section {
    padding: 2rem 0 4rem;
}

.section__title {
    font-size: var(--h2-font-size);
    color: var(--title-color);
    text-align: center;
    margin-bottom: var(--mb-2);
}

.section__subtitle {
    display: block;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    text-align: center;
    margin-bottom: var(--mb-3);
    margin-top: -1.5rem;
}

.container {
    max-width: 968px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

/* Beta Badge */
.beta-badge {
    display: inline-block;
    background: var(--accent-gradient);
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.grid {
    display: grid;
    gap: 1.5rem;
}

/* Button */
.button {
    display: inline-block;
    background-color: var(--first-color);
    color: #fff;
    padding: 1rem 1.75rem;
    border-radius: .5rem;
    border-radius: .5rem;
    font-weight: 500;
    transition: .3s;
    white-space: nowrap;
}

.button:hover {
    background-color: var(--first-color-alt);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.button--flex {
    display: flex;
    align-items: center;
    column-gap: .25rem;
}

.button--secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    backdrop-filter: blur(4px);
}

.button--secondary:hover {
    background-color: var(--first-color);
    color: #fff;
    border-color: var(--first-color);
}

.button--accent {
    background: var(--accent-gradient);
    color: #1a1a1a;
    /* Dark text for contrast on gold */
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    /* Gold glow */
    font-weight: 700;
    font-size: 1.1rem;
    /* Slightly larger */
    border: none;
}

.button--accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
}

/* Shimmer Effect */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-100%, -100%) rotate(45deg);
    }

    100% {
        transform: translate(100%, 100%) rotate(45deg);
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== HEADER ==================== */
.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background-color: transparent;
    transition: .4s;
    /* Ensure visibility for top items */
    color: #fff;
}

/* Header background using pseudo-element to avoid breaking fixed children */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: transparent;
    transition: .4s;
    /* Initial state empty */
}

/* Scrolled state (added via JS) - Applied to pseudo-element */
.header.scroll-header::before {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.header__container {
    max-width: 1024px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--normal-font-size);
    color: #fff;
    /* Always white on transparent header by default */
    font-weight: 500;
    transition: .3s;
}

.logo {
    color: #fff;
    /* Always white on transparent header */
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--title-font);
}

/* Change nav text color on scroll */
.scroll-header .nav__link,
.scroll-header .logo,
.scroll-header .nav__toggle,
.scroll-header .nav__close {
    color: var(--title-color);
}

/* Except for active link which we might want accented */
.scroll-header .active-link {
    color: var(--first-color);
    position: relative;
}

.scroll-header .active-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
}

.nav__link:hover {
    color: var(--first-color);
}

.active-link {
    color: var(--first-color);
}

/* Mobile Menu */
/* Mobile Menu - Full Screen Modal */
@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        bottom: -100%;
        /* Hidden state */
        left: 0;
        width: 100%;
        height: 100vh;
        /* Full screen */
        background-color: rgba(15, 23, 42, 0.98);
        /* Deep opaque background */
        padding: 6rem 1.5rem 4rem;
        transition: .4s cubic-bezier(0.77, 0, 0.175, 1);
        /* Elegant easing */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        opacity: 0;
        visibility: hidden;
        z-index: 90;
    }

    .nav__list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav__link {
        font-size: 1.5rem;
        color: #fff !important;
        font-family: var(--title-font);
        font-weight: 300;
        letter-spacing: 0.1em;
    }

    .nav__close {
        color: #fff !important;
    }

    /* Reveal state targets the element with show-menu class */
    .nav__menu.show-menu {
        bottom: 0;
        opacity: 1;
        visibility: visible;
    }
}



.nav__close {
    position: absolute;
    right: 1.3rem;
    bottom: .5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

.nav__toggle {
    font-size: 1.25rem;
    cursor: pointer;
    color: #fff;
    /* White for visibility on dark hero */
}

/* ==================== HOME ==================== */
.home {
    position: relative;
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #0f172a;
    overflow: hidden;
    z-index: 1;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    /* 最背面 */
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* 少し不透明度を上げる */
}

.home__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%;
    background: url('hero_bg_premium.webp') no-repeat center center/cover;
    z-index: -2;
    /* 動画の上、オーバーレイの下（フォールバック用） */
    will-change: transform;
    opacity: 0.3;
    /* 動画を透過させるため、画像の不透明度を下げる */
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    /* オーバーレイを薄く調整 */
    z-index: -1;
    /* コンテンツより下、画像より上 */
}

/* Optional: Subtle mesh gradient or orb */
.home::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    /* Dark overlay for text readability */
    z-index: 1;
}

.home__data {
    text-align: left;
    max-width: 600px;
    z-index: 10;
    position: relative;
}

.home__title {
    font-size: var(--big-font-size);
    line-height: 1.1;
    margin-bottom: var(--mb-1);
    color: #fff;
    /* Premium text gradient */
    background: linear-gradient(to right, #ffffff 40%, #fcd34d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home__description {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2-5);
    color: #e2e8f0;
    /* Lighter text for dark background */
    line-height: 1.8;
}

.home__btns {
    display: flex;
    gap: 1rem;
}

/* ==================== ABOUT ==================== */
.about__container {
    display: grid;
    gap: 2rem;
}

.about__details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: var(--mb-2);
}

.about__detail-card {
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: .75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: .3s;
}

.about__detail-card:hover {
    transform: translateY(-5px);
}

.about__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: var(--mb-0-5);
}

.about__detail-title {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-0-5);
}

.about__detail-text {
    font-size: var(--small-font-size);
}

/* Legal Notice Highlight */
.legal-notice-card {
    border: 2px solid #ffcc00 !important;
    background-color: #fff9e6 !important;
}

.legal-notice-card .about__icon {
    color: #e67e22 !important;
}

.legal-notice-card .about__detail-title {
    color: #d35400 !important;
    font-weight: bold;
}

.legal-notice-box {
    background-color: #fff5f5;
    border-left: 4px solid #f87171;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
    color: #991b1b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.legal-notice-box i {
    font-size: 1.5rem;
    color: #f87171;
}

/* ==================== FEATURES ==================== */
.features__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.features__card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.features__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--first-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.4s;
}

.features__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.features__card:hover::before {
    transform: scaleX(1);
}

.features__icon-box {
    margin-bottom: var(--mb-1-5);
    display: inline-block;
    padding: 1rem;
    background-color: #f1f5f9;
    border-radius: 50%;
    color: var(--first-color);
    transition: 0.3s;
}

.features__card:hover .features__icon-box {
    background-color: var(--first-color);
    color: #fff;
}

.features__icon {
    font-size: 1.75rem;
    margin-right: 0;
    /* Icons inside box don't need margin right */
}

/* ==================== SECURITY ==================== */
.security {
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
    color: #fff;
    position: relative;
    padding-bottom: 5rem;
}

.security__title,
.security__text {
    color: #fff;
    text-align: center;
}

.security__list {
    margin-top: var(--mb-3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
}

.security__item {
    display: flex;
    align-items: flex-start;
    /* Align icon to top */
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.security__item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.security__item i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-top: 0.25rem;
}

.security__item span {
    display: block;
    font-size: 0.95rem;
    line-height: 1.6;
}

.security__item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

/* ==================== FLOW (TIMELINE) ==================== */
.flow__container {
    padding-top: var(--mb-1);
}

.flow__steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Timeline connecting line (Desktop) */
@media screen and (min-width: 768px) {
    .flow__steps::before {
        content: '';
        position: absolute;
        top: 2rem;
        left: 0;
        width: 100%;
        height: 4px;
        background-color: #e2e8f0;
        z-index: 0;
        transform: translateY(-50%);
    }
}

.flow__step {
    position: relative;
    width: 100%;
    flex: 1;
    min-width: 200px;
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    z-index: 1;
    /* Above the line */
}

@media screen and (min-width: 768px) {
    .flow__step {
        background: transparent;
        padding: 0;
        border-radius: 0;
    }
}

.flow__number {
    width: 3rem;
    height: 3rem;
    background-color: var(--first-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    border: 4px solid #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flow__step:nth-child(even) .flow__number {
    background-color: var(--accent-color);
}

.flow__step-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.flow__step-desc {
    font-size: 0.85rem;
    color: var(--text-color-light);
    line-height: 1.5;
}

/* ==================== USE CASES ==================== */
.usecases__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* ==================== PRICING TOGGLE ==================== */
.pricing__toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pricing__toggle-text {
    font-size: var(--normal-font-size);
    font-weight: 500;
    color: var(--text-color-light);
    transition: 0.3s;
}

.pricing__toggle-text.active {
    color: var(--title-color);
}

.pricing__switch {
    width: 60px;
    height: 32px;
    background-color: #e2e8f0;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.pricing__switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pricing__switch.active {
    background-color: var(--accent-color);
}

.pricing__switch.active::after {
    left: calc(100% - 28px);
}

.pricing__save-badge {
    background: #fef3c7;
    color: #92400e;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.pricing-card {
    background: #fff;
    padding: 2rem;
    border-radius: 1rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.pricing-card.premium-highlight {
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.premium-card {
    background: linear-gradient(to bottom, #fff, #fffae6);
    border: 1px solid #ffeeba;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.6;
}

.pricing-features li i {
    color: #27ae60;
    min-width: 20px;
}

/* Pricing Section Buttons (Unified with App) */
.pricing-card .btn-primary {
    background-color: #2D3436;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
}

.pricing-card .btn-primary:hover {
    background-color: #000;
}

.pricing-card .btn-secondary {
    background-color: #636e72;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
}

.pricing-card .btn-secondary:hover {
    background-color: #2d3436;
}

/* ==================== MOCKUP INTERACTION ==================== */
.mockup-container {
    position: relative;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transition: 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
}

.mockup-container.active .play-button-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.mockup-3d {
    transition: 0.6s;
}

.mockup-container:hover .mockup-3d {
    transform: scale(1.05) rotateX(5deg) rotateY(-5deg);
}

/* ==================== USE CASES ==================== */
.usecases__card {
    background-color: var(--container-color);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    position: relative;
    border-top: 5px solid var(--accent-color);
}

.usecases__icon {
    font-size: 2rem;
    color: var(--first-color-alt);
    margin-bottom: var(--mb-1);
    opacity: 0.2;
}

.usecases__text {
    margin-bottom: var(--mb-1-5);
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
}

.usecases__name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.usecases__sub {
    font-size: 0.85rem;
    color: var(--text-color-light);
}

/* ==================== CTA ==================== */
.cta {
    background: linear-gradient(145deg, #f8f9fc, #eef1f6);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta__title {
    margin-bottom: var(--mb-2);
}

.button--cta {
    font-size: 1.25rem;
    padding: 1rem 4rem;
    border-radius: 3rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
    background: var(--accent-gradient);
    color: #0f172a;
    font-weight: 700;
}

.button--cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.3);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--first-color);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer__logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer__social {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer__social-link {
    color: #fff;
    font-size: 1.25rem;
    transition: .3s;
}

.footer__social-link:hover {
    color: var(--accent-color);
}

.footer__links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
}

.footer__link {
    color: #ccc;
    font-size: 0.9rem;
}

.footer__link:hover {
    color: #fff;
}

.footer__copy {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.8rem;
    color: #888;
}

/* ==================== HERO MOCKUP ==================== */
.home__img-wrapper {
    display: none;
    position: relative;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.home__img {
    width: 320px;
    /* Subtle reflection or shadow for floating effect */
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@media screen and (min-width: 768px) {
    .home__container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 2rem;
    }

    .home__img-wrapper {
        display: block;
        justify-self: center;
    }
}

/* ==================== RESPONSIVE ==================== */
@media screen and (min-width: 768px) {
    body {
        margin: 0;
        /* Header top */
    }

    .nav {
        height: auto;
    }

    .nav__list {
        display: flex;
        column-gap: 3rem;
    }

    .nav__link {
        color: #fff;
        /* Force white initially */
    }

    .scroll-header .nav__link {
        color: var(--title-color);
        /* Dark on scroll */
    }

    .nav__link i {
        display: none;
    }

    .nav__close,
    .nav__toggle {
        display: none;
    }

    .header {
        top: 0;
        bottom: initial;
    }

    .home__container {
        padding-top: 4rem;
    }

    .footer__container {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media screen and (min-width: 968px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==================== UX UPGRADE ANIMATIONS & COMPONENTS ==================== */

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Shimmer Effect for Buttons */
.shimmer-effect {
    position: relative;
    overflow: hidden;
}

.shimmer-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
    transform: skewX(-25deg);
    animation: shimmer 6s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Video Background Container */
.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    /* Subtle visibility */
}

/* Premium Pricing Card */
.pricing-card.premium-highlight {
    transform: scale(1.05);
    border: 2px solid var(--accent-color);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    z-index: 2;
}

.pricing-card.premium-highlight .btn-primary {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

/* Mockup Animation Container */
.mockup-container {
    perspective: 1000px;
}

.mockup-3d {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
}

.mockup-container:hover .mockup-3d {
    transform: rotateY(0) rotateX(0);
}

/* X (Twitter) Simulation Card */
.x-post-card {
    background: #000;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.x-user {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.x-avatar-placeholder {
    width: 48px;
    height: 48px;
    background: #333;
    border-radius: 50%;
}

.x-name-area {
    display: flex;
    flex-direction: column;
}

.x-name {
    color: #fff;
    font-weight: bold;
    font-size: 15px;
}

.x-handle {
    color: #71767b;
    font-size: 15px;
}

.x-content {
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.x-footer-note {
    font-size: 13px;
    color: #1d9bf0;
    /* Twitter Blue */
    display: flex;
    align-items: center;
    gap: 5px;
    border-top: 1px solid #333;
    padding-top: 10px;
}

/* Carousel/Slider (Refined) */
.slider-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 2rem 1rem 3rem;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;

    /* Hide scrollbars */
    scrollbar-width: none;
    -ms-overflow-style: none;

    /* Scroll Hint (Edge fade) */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-item {
    scroll-snap-align: center;
    flex: 0 0 82%;
    /* Peek next card */
    max-width: 400px;
}

@media (min-width: 968px) {
    .slider-container {
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
        max-width: 1124px;
        margin: 0 auto;
        padding: 3rem 0;
    }

    .slider-item {
        flex: 0 0 340px;
        scroll-snap-align: none;
        margin: 10px;
    }
}

/* Reorder Last Signal on Desktop for Zig-Zag Layout */
@media screen and (min-width: 768px) {
    .grid-last-signal .reveal:nth-child(1) {
        order: 2;
        /* Text moves to right */
    }

    .grid-last-signal .reveal:nth-child(2) {
        order: 1;
        /* Visual moves to left */
    }
}

/* ==================== SAFETY FLOW DIAGRAM ==================== */
.safety-flow {
    background: #ffffff;
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.safety-flow__header {
    margin-bottom: 3rem;
}

.safety-flow__title {
    font-size: 1.5rem;
    color: var(--first-color);
    margin-bottom: 0.5rem;
}

.safety-flow__desc {
    color: var(--text-color);
    font-size: 0.95rem;
}

.safety-flow__steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.safety-flow__step {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px solid #f1f5f9;
    transition: transform 0.3s;
}

.safety-flow__step:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-color);
}

.safety-flow__icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.safety-flow__icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.safety-flow__badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--first-color);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.safety-flow__step-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--first-color);
}

.safety-flow__step-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-color-light);
}

.safety-flow__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.5rem;
    padding-top: 2rem;
}

/* Mobile arrow fix */
/* Mobile arrow fix */
@media screen and (max-width: 576px) {
    .safety-flow__arrow {
        transform: rotate(90deg);
        margin: 1rem auto;
        /* Center horizontally */
        display: block;
        /* Ensure it takes width to center */
    }

    /* Index CTA Mobile Adjust */
    .button--green-pale {
        font-size: 1rem !important;
        padding: 1rem 1.5rem !important;
        width: 100%;
        max-width: 280px;
        border-radius: 50px;
    }
}

/* Green Pale Button (High click rate) */
.button--green-pale {
    background-color: #4ade80;
    color: #fff;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
    transition: .3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.button--green-pale:hover {
    background-color: #22c55e;
    box-shadow: 0 6px 16px rgba(74, 222, 128, 0.6);
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .safety-flow__steps {
        flex-direction: column;
        gap: 2rem;
    }

    .safety-flow__arrow {
        transform: rotate(90deg);
        padding-top: 0;
        margin: 1rem 0;
        /* Add margin for spacing */
    }

    .safety-flow__step {
        width: 100%;
    }
}