:root {
    --primary: #078769;
    --secondary: #b1fad1;
    --accent: #045d48;
    --light: #e6fff2;
    --dark: #333333;
    --white: #ffffff;
    --gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

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

/* ================== Header ================== */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* ================== Common Issues Section ================== */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.issue-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}

.issue-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(7, 135, 105, 0.15);
}

.issue-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.issue-icon, .issue-number {
    background-color: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.issue-number {
    background-color: var(--primary);
    color: var(--white);
    font-weight: bold;
    font-size: 20px;
}

.issue-item p {
    color: var(--dark);
    line-height: 1.6;
    font-size: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

.logo-text {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary);
}

/* Navigation */
nav {
    transition: all 0.3s ease;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/* Mobile controls container */
.mobile-controls {
    display: flex;
    align-items: center;
    gap: 10px; /* Match the logo gap spacing of 10px */
}

/* Mobile registration button */
.mobile-register-btn {
    display: none; /* Hidden by default (non-mobile) */
    padding: 7px 15px;
    font-size: 14px;
}

/* Mobile menu register item and divider */
.mobile-menu-register {
    display: none; /* Hidden by default (non-mobile) */
    margin-top: 5px;
}

.mobile-menu-divider {
    display: none; /* Hidden by default (non-mobile) */
    height: 1px;
    background-color: #e0e0e0;
    margin: 10px 0;
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 15px;
    position: relative;
    padding-bottom: 5px;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s;
}

nav a:hover:after {
    width: 100%;
}

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

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.open span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.open span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Button styling */
.cta-button {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(7, 135, 105, 0.3);
}

/* ================== Hero Section ================== */
.hero {
    background: linear-gradient(to bottom right, var(--secondary), var(--light));
    padding: 170px 20px 100px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

.pigeon {
    position: absolute;
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' viewBox='8 8 23 23' width='40' height='40'%3E%3Cpath fill='%23078769' d='M14.00,16.00 C13.68,15.74 13.46,15.42 13.33,15.05 C13.31,14.98 13.27,14.89 13.34,14.82 C13.41,14.77 13.48,14.82 13.55,14.84 C13.82,14.92 14.08,15.03 14.39,15.07 C14.31,15.00 14.26,14.95 14.21,14.91 C13.83,14.52 13.55,14.04 13.47,13.48 C13.46,13.44 13.45,13.39 13.46,13.35 C13.46,13.27 13.42,13.16 13.50,13.11 C13.59,13.06 13.67,13.15 13.74,13.19 C14.79,13.85 15.93,14.27 17.07,14.73 C17.55,14.94 18.08,15.13 18.61,15.40 C19.18,15.69 19.57,16.08 19.89,16.62 C20.13,17.02 20.35,17.41 20.65,17.78 C20.78,17.94 20.92,18.09 21.07,18.19 C21.46,18.42 21.83,18.38 22.14,18.00 C22.25,17.87 22.35,17.71 22.46,17.56 C22.79,17.12 23.17,16.78 23.75,16.70 C24.24,16.62 24.69,16.89 24.82,17.31 C24.87,17.47 24.97,17.57 25.10,17.67 C25.26,17.81 25.42,17.94 25.45,18.17 C25.39,18.24 25.35,18.19 25.30,18.18 C25.22,18.16 25.15,18.12 25.07,18.10 C24.51,17.93 24.19,18.10 24.04,18.65 C23.96,19.03 23.89,19.41 23.81,19.80 C23.59,20.98 23.02,21.89 21.90,22.50 C21.10,22.94 20.23,23.09 19.34,23.21 C19.21,23.23 19.12,23.28 19.04,23.39 C18.53,24.16 18.04,24.92 17.58,25.69 C17.51,25.81 17.43,25.87 17.29,25.83 C15.75,25.34 14.69,24.39 14.28,22.83 C14.24,22.66 14.28,22.59 14.45,22.55 C15.40,22.32 16.35,22.04 17.27,21.71 C17.74,21.55 18.03,21.30 18.48,20.71 C18.34,20.63 18.17,20.64 18.03,20.61 C17.65,20.53 17.29,20.41 17.00,20.20 C16.79,20.06 16.79,20.03 17.02,19.91 C17.06,19.88 17.10,19.87 17.13,19.81 C16.63,19.65 16.14,19.48 15.84,19.02 C15.97,18.89 16.17,18.87 16.30,18.73 C15.70,18.58 15.18,18.35 14.82,17.82 C14.99,17.63 15.22,17.73 15.40,17.59 C15.09,17.47 14.79,17.34 14.53,17.13 C14.36,16.99 14.21,16.83 14.08,16.63 C14.05,16.58 13.99,16.52 14.02,16.46 C14.06,16.39 14.14,16.40 14.20,16.40 C14.36,16.41 14.52,16.42 14.71,16.38 C14.50,16.21 14.28,16.10 14.00,16.00 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    transform-origin: center;
    /* Position with birds already visible on screen */
    opacity: 0.08;
    transform: translateX(0vw);
    animation-fill-mode: forwards;
    will-change: transform, opacity;
}

/* Individual pigeon positions and animations - with randomized positions to avoid center */
.pigeon-1 {
    width: 6vmin;
    height: 6vmin;
    top: 8%;
    left: -10%;
    animation: pigeon1 65s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.07));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -6s; /* Negative value starts immediately at that position in animation */
}

.pigeon-2 {
    width: 10vmin;
    height: 10vmin;
    top: 18%;
    left: -15%;
    animation: pigeon2 72s linear infinite;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -12s;
}

.pigeon-3 {
    width: 4.5vmin;
    height: 4.5vmin;
    top: 85%;
    left: -5%;
    animation: pigeon3 62s linear infinite;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -4s;
}

.pigeon-4 {
    width: 8vmin;
    height: 8vmin;
    top: 92%;
    left: -20%;
    animation: pigeon4 68s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.08));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -15s;
}

.pigeon-5 {
    width: 5vmin;
    height: 5vmin;
    top: 5%;
    left: -8%;
    animation: pigeon5 70s linear infinite;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -20s;
}

.pigeon-6 {
    width: 7vmin;
    height: 7vmin;
    top: 15%;
    left: -12%;
    animation: pigeon6 75s linear infinite; 
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.09));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -9s;
}

.pigeon-7 {
    width: 5.5vmin;
    height: 5.5vmin;
    top: 88%;
    left: -18%;
    animation: pigeon7 66s linear infinite;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.07));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -16s;
}

.pigeon-8 {
    width: 9vmin;
    height: 9vmin;
    top: 80%;
    left: -15%;
    animation: pigeon8 78s linear infinite;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.12));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -25s;
}

.pigeon-9 {
    width: 4vmin;
    height: 4vmin;
    top: 25%;
    left: -7%;
    animation: pigeon9 63s linear infinite;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -8s;
}

.pigeon-10 {
    width: 7vmin;
    height: 7vmin;
    top: 60%;
    left: -10%;
    animation: pigeon10 69s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.08));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -18s;
}

.pigeon-11 {
    width: 6.5vmin;
    height: 6.5vmin;
    top: 75%;
    left: -12%;
    animation: pigeon11 67s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.07));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -22s;
}

.pigeon-12 {
    width: 5vmin;
    height: 5vmin;
    top: 35%;
    left: -14%;
    animation: pigeon12 71s linear infinite;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -14s;
}

.pigeon-13 {
    width: 8vmin;
    height: 8vmin;
    top: 45%;
    left: -6%;
    animation: pigeon13 74s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.1));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -30s;
}

.pigeon-14 {
    width: 4.2vmin;
    height: 4.2vmin;
    top: 65%;
    left: -9%;
    animation: pigeon14 64s linear infinite;
    filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.05));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -5s;
}

.pigeon-15 {
    width: 5.8vmin;
    height: 5.8vmin;
    top: 50%;
    left: -11%;
    animation: pigeon15 73s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.07));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -27s;
}

.pigeon-16 {
    width: 7.5vmin;
    height: 7.5vmin;
    top: 28%;
    left: -13%;
    animation: pigeon16 76s linear infinite;
    filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.09));
    transition: opacity 0.3s ease, filter 0.3s ease;
    animation-delay: -11s;
}

/* No hover effects on pigeons - they maintain consistent opacity */

/* Left-to-right looping animations with arcs to avoid center content */
@keyframes pigeon1 {
    0% { opacity: 0.08; transform: translateX(20vw) translateY(0) rotate(5deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(50vw) translateY(-5vh) rotate(2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(5deg); }
}

@keyframes pigeon2 {
    0% { opacity: 0.08; transform: translateX(10vw) translateY(0) rotate(-2deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(40vw) translateY(-8vh) rotate(2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-2deg); }
}

@keyframes pigeon3 {
    0% { opacity: 0.08; transform: translateX(6vw) translateY(0) rotate(8deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(50vw) translateY(5vh) rotate(3deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(8deg); }
}

@keyframes pigeon4 {
    0% { opacity: 0.08; transform: translateX(25vw) translateY(0) rotate(-5deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(55vw) translateY(7vh) rotate(0deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-5deg); }
}

@keyframes pigeon5 {
    0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(3deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(45vw) translateY(-10vh) rotate(-3deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(3deg); }
}

@keyframes pigeon6 {
    0% { opacity: 0.08; transform: translateX(15vw) translateY(0) rotate(-3deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(45vw) translateY(-6vh) rotate(1deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-3deg); }
}

@keyframes pigeon7 {
    0% { opacity: 0.08; transform: translateX(9vw) translateY(0) rotate(6deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(55vw) translateY(8vh) rotate(-2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(6deg); }
}

@keyframes pigeon8 {
    0% { opacity: 0.08; transform: translateX(8vw) translateY(0) rotate(-6deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(38vw) translateY(10vh) rotate(2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-6deg); }
}

@keyframes pigeon9 {
    0% { opacity: 0.08; transform: translateX(18vw) translateY(0) rotate(4deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(48vw) translateY(-12vh) rotate(-2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(4deg); }
}

@keyframes pigeon10 {
    0% { opacity: 0.08; transform: translateX(12vw) translateY(0) rotate(-3deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(42vw) translateY(8vh) rotate(1deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-3deg); }
}

@keyframes pigeon11 {
    0% { opacity: 0.08; transform: translateX(22vw) translateY(0) rotate(7deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(52vw) translateY(5vh) rotate(-1deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(7deg); }
}

@keyframes pigeon12 {
    0% { opacity: 0.08; transform: translateX(7vw) translateY(0) rotate(-4deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(37vw) translateY(-7vh) rotate(2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-4deg); }
}

@keyframes pigeon13 {
    0% { opacity: 0.08; transform: translateX(4vw) translateY(0) rotate(2deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(48vw) translateY(-3vh) rotate(-2deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(2deg); }
}

@keyframes pigeon14 {
    0% { opacity: 0.08; transform: translateX(13vw) translateY(0) rotate(-5deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(43vw) translateY(12vh) rotate(3deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-5deg); }
}

@keyframes pigeon15 {
    0% { opacity: 0.08; transform: translateX(8vw) translateY(0) rotate(3deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(52vw) translateY(-9vh) rotate(-3deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(3deg); }
}

@keyframes pigeon16 {
    0% { opacity: 0.08; transform: translateX(17vw) translateY(0) rotate(-2deg); }
    10% { opacity: 0.08; }
    50% { opacity: 0.08; transform: translateX(47vw) translateY(-5vh) rotate(1deg); }
    90% { opacity: 0.08; }
    100% { opacity: 0; transform: translateX(100vw) translateY(0) rotate(-2deg); }
}


.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary);
}

.subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--dark);
}

.hero-cta {
    padding: 15px 40px;
    font-size: 18px;
    margin-top: 20px;
}

.line-compatible {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    font-size: 16px;
}

.line-logo {
    background-color: #06C755;
    border-radius: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 12px;
}

/* ================== Sections ================== */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 28px;
    color: var(--primary);
    display: inline-block;
    padding: 0 40px;
    background-color: var(--white);
    position: relative;
    z-index: 1;
}

.section-title:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #eaeaea;
    z-index: 0;
}

.how-it-works {
    background-color: var(--white);
}

.how-it-works .section-title h2 {
    background-color: var(--white);
}

/* ================== Features ================== */
#features {
    background-color: var(--gray);
}

#features .section-title h2 {
    background-color: var(--gray);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--secondary);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* ================== Steps ================== */
.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps:after {
    content: '';
    position: absolute;
    top: 40px;
    left: 80px;
    right: 80px;
    height: 2px;
    background-color: var(--primary);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    z-index: 1;
}

.step-number {
    background-color: var(--primary);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-title {
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.step-desc {
    text-align: center;
    font-size: 14px;
}

.steps-view-button-container {
    text-align: center;
    margin-top: 40px;
}

.steps-view-button {
    background-color: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.steps-view-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.steps-view-button:hover::before {
    left: 100%;
}

.steps-view-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(7, 135, 105, 0.2);
}

/* ================== Use Cases ================== */
#use-cases {
    background-color: var(--gray);
}

#use-cases .section-title h2 {
    background-color: var(--gray);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.use-case {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.use-case-title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.use-case-icon {
    background-color: var(--secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ================== Testimonials ================== */
.testimonials {
    background-color: var(--light);
    display: none; /* Hide the testimonials section as requested */
}

.testimonials .section-title h2 {
    background-color: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    flex-shrink: 0;
}

.testimonial-details h4 {
    margin-bottom: 5px;
}

.testimonial-details p {
    font-size: 14px;
    color: #666;
}

/* ================== Pricing ================== */
.pricing {
    text-align: center;
    background-color: var(--white);
}

.pricing .section-title h2 {
    background-color: var(--white);
}

.pricing-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    width: 300px;
    position: relative;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

.pricing-plan {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 20px;
}

.pricing-price span {
    font-size: 16px;
    color: #666;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.pricing-features svg {
    fill: var(--primary);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.additional-pricing-info {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #666;
}

/* ================== FAQ ================== */
.faq {
    background-color: var(--gray);
}

.faq .section-title h2 {
    background-color: var(--gray);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background-color: var(--white);
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.faq-question:hover {
    background-color: var(--light);
    border-left: 3px solid var(--primary);
}

.faq-question.active {
    background-color: var(--light);
    border-left: 3px solid var(--primary);
    color: var(--primary);
}

.faq-icon {
    font-size: 18px;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.faq-answer {
    background-color: var(--light);
    display: none;
    padding: 25px;
    border-left: 3px solid var(--primary);
    line-height: 1.6;
}

.faq-answer.active {
    display: block;
}

/* ================== CTA Section ================== */
.cta {
    text-align: center;
    background: linear-gradient(to bottom right, var(--primary), var(--accent));
    color: var(--white);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.cta h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 3px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cta-button-primary,
.cta-button-secondary {
    border: none;
    padding: 16px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.cta-button-primary::before,
.cta-button-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.cta-button-primary:hover::before,
.cta-button-secondary:hover::before {
    left: 100%;
}

.cta-button-primary {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button-secondary {
    background-color: var(--secondary);
    color: var(--primary);
}

.cta-button-primary:hover,
.cta-button-secondary:hover {
    transform: translateY(-3px);
}

.cta-button-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.cta-button-secondary:hover {
    box-shadow: 0 6px 20px rgba(177, 250, 209, 0.3);
}

.cta-note {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.9;
    color: var(--secondary);
    font-weight: 500;
}

/* ================== Footer ================== */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-company {
    flex: 0 0 300px;
    margin-right: 40px;
}

.footer-nav {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: bold;
    color: var(--white);
}

.footer-company-info {
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-column {
    flex: 1 1 auto;
    min-width: 180px;
    margin-right: 20px;
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
    font-size: 14px;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    opacity: 0.6;
}

/* ================== Media Queries ================== */

/* Tablet and smaller desktops */
@media (max-width: 992px) {
    .features {
        grid-template-columns: 1fr 1fr;
    }

    .testimonial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-options {
        flex-wrap: wrap;
    }

    .footer-company {
        flex: 0 0 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-nav {
        flex: 0 0 100%;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-inner {
        flex-direction: column;
    }
    
    .footer-column {
        flex: 1 1 0;
        min-width: 160px;
    }
    
    /* Common Issues Responsive */
    .issues-grid {
        gap: 20px;
    }
}

/* Tablets and Mobile */
@media (max-width: 768px) {
    .header-cta {
        display: none;
    }
    
    /* Show mobile registration button */
    .mobile-register-btn {
        display: block;
        z-index: 101;
    }
    
    /* Hide mobile register button when menu is open */
    body.nav-open .mobile-register-btn {
        display: none;
    }
    
    /* Show mobile menu items */
    .mobile-menu-register,
    .mobile-menu-divider {
        display: block;
    }
    
    .mobile-menu-register button {
        width: 100%;
        font-size: 16px;
        margin-top: 5px;
        padding: 10px 15px;
    }
    
    .hamburger {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 100px 20px 20px;
        transition: right 0.3s ease;
        left: auto;
        margin: 0;
    }

    nav.open {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .steps:after {
        display: none;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-options {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .pricing-card {
        width: 100%;
        max-width: 350px;
    }

    .footer-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    }

    .footer-column {
        flex: 0 0 calc(50% - 20px);
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 24px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .header-inner {
        padding: 10px 15px;
    }

    .logo-text {
        font-size: 18px;
    }

    .hero {
        padding: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-inner {
        padding-top: 60px; /* Add padding to account for the fixed header */
    }
    
    /* Common Issues Mobile */
    .issues-grid {
        grid-template-columns: 1fr;
    }
    
    .issue-item {
        padding: 20px 15px;
    }
    
    .issue-icon, .issue-number {
        width: 36px;
        height: 36px;
    }
    
    .issue-number {
        font-size: 18px;
    }
    
    .issue-title {
        font-size: 16px;
    }
    
    .issue-item p {
        font-size: 14px;
    }
    
    /* Adjust pigeon positions for mobile */
    .pigeon {
        opacity: 0.08; /* Even lower opacity on mobile to avoid overwhelming the content */
    }
    
    /* On mobile, we use much bigger sizes with drop shadow reduction */
    .pigeon-1 {
        width: 13vmin;
        height: 13vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }
    
    .pigeon-2 {
        width: 16vmin;
        height: 16vmin;
        filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.07));
    }
    
    .pigeon-3 {
        width: 11vmin;
        height: 11vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
    }
    
    .pigeon-4 {
        width: 14vmin;
        height: 14vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
    }
    
    .pigeon-5 {
        width: 12vmin;
        height: 12vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }
    
    .pigeon-6 {
        width: 13vmin;
        height: 13vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }
    
    .pigeon-7, .pigeon-8 {
        width: 15vmin;
        height: 15vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
    }
    
    .pigeon-9 {
        width: 10vmin;
        height: 10vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
    }
    
    .pigeon-10 {
        width: 13vmin;
        height: 13vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }
    
    .pigeon-11 {
        width: 12vmin;
        height: 12vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }
    
    .pigeon-12 {
        width: 11vmin;
        height: 11vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
    }
    
    .pigeon-13 {
        width: 14vmin;
        height: 14vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
    }
    
    .pigeon-14 {
        width: 10vmin;
        height: 10vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.04));
    }
    
    .pigeon-15 {
        width: 12vmin;
        height: 12vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
    }
    
    .pigeon-16 {
        width: 14vmin;
        height: 14vmin;
        filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
    }
    
    /* Optimize animations for mobile - with arcs to avoid center content */
    @keyframes pigeon1 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(5deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(-15vh) rotate(2deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(5deg); }
    }
    
    @keyframes pigeon2 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(-2deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(-20vh) rotate(2deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(-2deg); }
    }
    
    @keyframes pigeon3 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(8deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(15vh) rotate(3deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(8deg); }
    }
    
    @keyframes pigeon4 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(-5deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(18vh) rotate(0deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(-5deg); }
    }
    
    @keyframes pigeon5 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(3deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(-25vh) rotate(-3deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(3deg); }
    }
    
    @keyframes pigeon6 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(-3deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(-12vh) rotate(1deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(-3deg); }
    }
    
    @keyframes pigeon7 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(6deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(20vh) rotate(-2deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(6deg); }
    }
    
    @keyframes pigeon8 {
        0% { opacity: 0.08; transform: translateX(5vw) translateY(0) rotate(-6deg); }
        10% { opacity: 0.08; }
        50% { opacity: 0.08; transform: translateX(50vw) translateY(22vh) rotate(2deg); }
        90% { opacity: 0.08; }
        100% { opacity: 0; transform: translateX(120vw) translateY(0) rotate(-6deg); }
    }
    
    /* Mobile animations - faster than PC but not too fast */
.pigeon-1 { animation-duration: 45s; }
.pigeon-2 { animation-duration: 48s; }
.pigeon-3 { animation-duration: 42s; }
.pigeon-4 { animation-duration: 46s; }
.pigeon-5 { animation-duration: 49s; }
.pigeon-6 { animation-duration: 52s; }
.pigeon-7 { animation-duration: 44s; }
.pigeon-8 { animation-duration: 53s; }
.pigeon-9 { animation-duration: 43s; }
.pigeon-10 { animation-duration: 47s; }
.pigeon-11 { animation-duration: 45s; }
.pigeon-12 { animation-duration: 50s; }
.pigeon-13 { animation-duration: 51s; }
.pigeon-14 { animation-duration: 44s; }
.pigeon-15 { animation-duration: 49s; }
.pigeon-16 { animation-duration: 50s; }

    .hero h1 {
        font-size: 24px;
    }

    .subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-cta {
        padding: 12px 30px;
        font-size: 16px;
    }

    .feature-card, 
    .use-case, 
    .testimonial {
        padding: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .feature-title {
        font-size: 18px;
    }

    .step {
        width: 100%;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .steps-view-button-container {
        margin-top: 30px;
    }
    
    .steps-view-button {
        padding: 10px 25px;
        font-size: 14px;
    }

    .faq-question {
        padding: 15px;
        font-size: 15px;
    }

    .faq-answer.active {
        padding: 15px;
    }

    .cta {
        padding: 50px 15px;
    }

    .cta h2 {
        font-size: 22px;
    }
    
.mobile-break {
    display: none;
}

@media (max-width: 480px) {
    .mobile-break {
        display: inline;
    }
}
    
    .cta p {
        font-size: 14px;
        margin-bottom: 25px;
        white-space: nowrap;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        max-width: 240px;
        margin: 0 auto;
    }
    
    .cta-button-primary,
    .cta-button-secondary {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        max-width: 240px;
        white-space: nowrap;
        margin: 0 auto;
    }

    .footer-company-info {
        margin-bottom: 20px;
    }

    .social-links {
        margin-bottom: 10px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-column {
        margin-right: 0;
    }
    
    /* Hide the Services section in mobile view only */
    .services-column {
        display: none;
    }
    
    .footer-column h3 {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 13px;
    }

    .footer-inner {
        margin-bottom: 30px;
        gap: 20px;
    }

    footer {
        padding: 40px 15px 20px;
    }

    .copyright {
        padding-top: 20px;
    }
}

/* For ultra small mobile devices */
@media (max-width: 320px) {
    .hero h1 {
        font-size: 22px;
    }

    .subtitle {
        font-size: 13px;
    }

    .cta-button {
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero-cta {
        padding: 10px 20px;
    }
    
    .hero-inner {
        width: 100%;
        padding: 60px 15px 0;
    }

    .section {
        padding: 40px 15px;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-column h3 {
        margin-bottom: 10px;
        font-size: 13px;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-links a {
        font-size: 12px;
    }
    
    .footer-nav {
        gap: 10px;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
    
    .copyright {
        font-size: 12px;
    }
}

/* ==================== Modal Styles ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-overflow-scrolling: touch;
}

/* API Configuration styles */
.api-config-form {
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
}

.api-status {
    text-align: center;
    padding: 8px;
    margin: 0 auto 20px;
    font-size: 14px;
    border-radius: 5px;
    max-width: 80%;
    background-color: #f1f1f1;
}

.api-status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
    background-color: #f1c40f; /* Yellow for checking */
}

.api-status-indicator.connected {
    background-color: #2ecc71; /* Green for connected */
}

.api-status-indicator.disconnected {
    background-color: #e74c3c; /* Red for disconnected */
}

.modal-content {
    background-color: var(--white);
    margin: 20px auto;
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 30px;
    font-weight: bold;
    color: var(--dark);
    cursor: pointer;
    transition: color 0.3s;
    z-index: 2;
}

.close-modal:hover {
    color: var(--primary);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.steps-view-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 0 20px 30px;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.steps-detail {
    display: flex;
    flex-direction: column;
    gap: 40px;
    transition: all 0.3s ease;
}

.step-detail-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-detail-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-detail-number {
    background-color: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    min-width: 40px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: -2px;
}

.step-detail-info h3 {
    color: var(--primary);
    margin-bottom: 0;
    font-size: 22px;
}

.step-detail-info p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
}

.step-detail-image {
    margin: 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.qr-code-image {
    width: 375px;
    height: 375px;
    object-fit: contain;
    border-radius: 10px;
}

.step-screenshot {
    width: 375px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.image-placeholder {
    background-color: #eaeaea;
    border: 2px dashed #ccc;
    border-radius: 10px;
    height: 667px;
    width: 375px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 18px;
    text-align: center;
}

/* Legal content styling */
.legal-content {
    padding: 0 20px 40px;
    max-height: 70vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 22px;
}

.legal-content h4 {
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.legal-content p, .legal-content li {
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--dark);
}

.legal-content ol, .legal-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content strong {
    font-weight: bold;
    color: var(--primary-dark);
}

.legal-update {
    font-style: italic;
    color: #666;
    margin-top: 40px;
    text-align: right;
}

/* Responsive styles for step details */
@media (max-width: 768px) {
    .step-detail-item {
        padding: 20px;
    }
    
    .step-detail-number {
        width: 35px;
        height: 35px;
        min-width: 35px;
        aspect-ratio: 1/1;
        font-size: 18px;
    }
    
    .step-detail-info h3 {
        font-size: 20px;
    }
    
    .step-detail-info p {
        font-size: 15px;
    }
    
    .image-placeholder {
        height: 534px;
        width: 300px;
        font-size: 16px;
    }
    
    .qr-code-image {
        width: 320px;
        height: 320px;
    }
    
    .step-screenshot {
        width: 320px;
    }
    
    .step-detail-image {
        gap: 15px;
        margin: 15px 0;
    }
    
    .legal-content {
        padding: 0 15px 30px;
    }
    
    .legal-content h3 {
        font-size: 20px;
        margin-top: 25px;
    }
    
    .legal-content h4 {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .steps-view-content {
        padding: 0 15px 20px;
    }
    
    .steps-detail {
        gap: 30px;
    }
    
    .step-detail-item {
        padding: 15px;
    }
    
    .step-detail-number {
        width: 30px;
        height: 30px;
        min-width: 30px;
        aspect-ratio: 1/1;
        font-size: 16px;
    }
    
    .step-detail-info h3 {
        font-size: 18px;
    }
    
    .step-detail-info p {
        font-size: 14px;
    }
    
    .image-placeholder {
        height: 427px;
        width: 240px;
        font-size: 14px;
    }
    
    .qr-code-image {
        width: 280px;
        height: 280px;
    }
    
    .step-screenshot {
        width: 280px;
    }
    
    .step-detail-image {
        gap: 12px;
        margin: 12px 0;
    }
    
    .legal-content {
        padding: 0 10px 20px;
    }
    
    .legal-content h3 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    
    .legal-content h4 {
        font-size: 16px;
    }
    
    .legal-content p, .legal-content li {
        font-size: 14px;
    }
}

/* ==================== Demo Chat Styles ==================== */
/* Chat simulation container */
.chat-simulation {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    height: 500px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    justify-content: center;
}

.chat-column {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    background-color: #7694b2; /* LINE chat background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 280px;
    height: 500px;
    min-width: 0;
    border: 8px solid #333;
    border-radius: 24px;
    max-width: 100%;
}

/* LINE Header Styling */
.line-header {
    background-color: #212a3e; /* Dark blue-black header */
    color: white;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 48px;
    width: 100%;
}

.line-chat-name {
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.line-actions {
    display: flex;
    gap: 20px;
    margin-left: auto;
    font-size: 18px;
}

.line-actions i {
    color: white;
}

/* LINE Messages Area */
.line-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

/* Message Bubbles */
.message {
    display: flex;
    align-items: flex-end;
    max-width: 85%;
    gap: 8px;
    margin-bottom: 5px;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.message-content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.message-bubble {
    padding: 10px 15px;
    border-radius: 20px;
    position: relative;
    word-break: break-word;
    font-size: 15px;
    line-height: 1.4;
    max-width: 100%;
}

.message-info {
    display: flex;
    font-size: 12px;
    color: #dbdbdb; /* Line timestamp */
    margin-top: 4px;
}

.message-time {
    margin-right: 5px;
}

.message-status {
    margin-left: auto;
}

/* Incoming Message (Left) */
.message-in {
    align-self: flex-start;
}

.message-in .message-bubble {
    background-color: #ffffff; /* Line bubble in */
    border-top-left-radius: 4px;
    color: #333333; /* Line text */
}

/* Outgoing Message (Right) */
.message-out {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-out .message-content {
    align-items: flex-end;
}

.message-out .message-bubble {
    background-color: #9ae167; /* Line bubble out */
    border-top-right-radius: 4px;
    color: #333333; /* Line text */
}

/* Denbato Message Styling */
.denbato-message .message-bubble {
    background-color: #e6fff2; /* Light teal for Denbato messages */
    color: var(--primary);
    border: 1px solid var(--secondary);
    font-size: 14px;
}

/* Style for read receipt on Denbato confirmation messages */
.denbato-message .message-info {
    justify-content: flex-start; /* Align items to the start */
}

.denbato-message .message-status {
    margin-left: 5px; /* Add some spacing after the timestamp */
    margin-right: 0; /* Reset auto margin from regular status */
    color: #dbdbdb; /* Match the standard read receipt color */
}

/* Error message styling */
.error-message .message-bubble {
    background-color: #ffebee !important; /* Light red background */
    color: #e53935 !important; /* Red text */
    border: 1px solid #ffcdd2 !important;
}

/* LINE Input Area */
.line-input {
    background-color: #ffffff;
    padding: 8px 10px;
    border-top: 1px solid #dddddd;
    width: 100%;
}

.line-input-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.line-input i {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    flex-shrink: 0;
}

.line-text-wrapper {
    display: flex;
    flex: 1;
    border: 1px solid #dddddd;
    border-radius: 20px;
    padding: 8px 12px;
    align-items: center;
    gap: 10px;
    margin: 0 5px;
    min-width: 0; /* Allow to shrink below min-content width */
}

.line-text-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 0;
    width: 100%;
    min-width: 0; /* Allow input to shrink */
}

.line-input.disabled i,
.line-input.disabled input {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Denbato Processing Indicator */
.denbato-processor {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    gap: 15px;
    flex-shrink: 0;
    margin: 0 10px;
}

.processor-arrows {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.processor-status {
    font-size: 14px;
    color: var(--primary);
    font-weight: bold;
    text-align: center;
}

.processor-arrows .arrow {
    font-size: 18px;
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.5;
}

/* Processing Animation */
@keyframes pulse {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(1); }
}

/* Special animations for mobile vertical arrows */
@keyframes pulse-down {
    0% { opacity: 0.5; transform: rotate(90deg) scale(1); }
    50% { opacity: 1; transform: rotate(90deg) scale(1.1); }
    100% { opacity: 0.5; transform: rotate(90deg) scale(1); }
}

@keyframes pulse-up {
    0% { opacity: 0.5; transform: rotate(90deg) scale(1); }
    50% { opacity: 1; transform: rotate(90deg) scale(1.1); }
    100% { opacity: 0.5; transform: rotate(90deg) scale(1); }
}

.animating {
    animation: pulse 1.5s infinite;
}

/* Mobile adaptations for demo */
@media (max-width: 850px) {
    .modal-content {
        padding: 20px 15px;
        margin: 10px auto;
    }
    
    .modal-header {
        margin-bottom: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-header p {
        font-size: 14px;
    }
    
    .close-modal {
        right: 15px;
        top: 10px;
    }
    
    .chat-simulation {
        flex-direction: column;
        height: auto;
        gap: 30px;
        align-items: center;
        margin-bottom: 20px;
    }

    .chat-column {
        height: 400px;
        width: 100%;
        max-width: 320px;
        border-width: 6px;
    }

    .denbato-processor {
        width: 100%;
        flex-direction: row;
        padding: 15px 0;
        gap: 30px;
        justify-content: center;
    }

    .processor-arrows {
        flex-direction: row;
        gap: 20px;
    }

    .processor-arrows .arrow.right {
        transform: rotate(90deg); /* Point down */
    }

    .processor-arrows .arrow.left {
        transform: rotate(90deg); /* Point up */
    }
    
    .processor-arrows .arrow.right.animating {
        animation: pulse-down 1.5s infinite;
    }

    .processor-arrows .arrow.left.animating {
        animation: pulse-up 1.5s infinite;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 15px 10px;
        margin: 5px auto;
        width: 98%;
        max-height: 85vh;
    }
    
    .steps-view-content {
        max-height: 65vh;
        padding: 0 10px 20px;
    }
    
    .modal-header {
        margin-bottom: 15px;
    }
    
    .modal-header h2 {
        font-size: 18px;
    }
    
    .modal-header p {
        font-size: 13px;
        margin-top: 5px;
    }
    
    .close-modal {
        right: 10px;
        top: 5px;
        font-size: 24px;
    }
    
    .chat-column {
        height: 350px;
        border-width: 4px;
        border-radius: 16px;
    }
    
    .line-header {
        height: 40px;
        padding: 8px 12px;
    }
    
    .line-chat-name {
        font-size: 16px;
    }
    
    .line-actions {
        gap: 12px;
        font-size: 16px;
    }
    
    .message-bubble {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .processor-status {
        font-size: 12px;
    }
    
    .processor-arrows .arrow {
        font-size: 16px;
    }
    
    .denbato-processor {
        gap: 15px;
    }
    
    .line-input {
        padding: 5px 8px;
    }
    
    .line-input-tools {
        gap: 5px;
    }
    
    .line-text-wrapper {
        padding: 6px 10px;
    }
    
    .line-input i {
        font-size: 16px;
    }
    
    .line-text-wrapper input {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .chat-column {
        height: 300px;
        border-width: 3px;
        border-radius: 12px;
    }
    
    .line-header {
        height: 36px;
        padding: 6px 10px;
    }
    
    .line-chat-name {
        font-size: 14px;
    }
    
    .line-actions {
        gap: 10px;
        font-size: 14px;
    }
    
    .message-bubble {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .line-input {
        padding: 4px 6px;
    }
    
    .line-text-wrapper {
        padding: 4px 8px;
    }
    
    .message-avatar {
        width: 32px;
        height: 32px;
    }
    
    /* Steps modal adjustments for very small screens */
    .modal-content {
        padding: 12px 8px;
        margin: 3px auto;
        max-height: 82vh;
    }
    
    .steps-view-content {
        max-height: 62vh;
        padding: 0 8px 15px;
    }
    
    .step-detail-item {
        padding: 12px 10px;
    }
    
    .step-detail-info {
        gap: 10px;
    }
    
    .step-detail-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .step-detail-info h3 {
        font-size: 16px;
    }
    
    .qr-code-image {
        width: 240px;
        height: 240px;
    }
    
    .step-screenshot {
        width: 240px;
    }
    
    .step-detail-image {
        gap: 10px;
        margin: 10px 0;
    }
}
