/* assets/css/promo.css */

.promo-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 40px;
    color: var(--dark);
    animation: fadeIn 1s ease-out;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 40px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.promo-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
    border-radius: 3px;
}

/* Features Grid */
.promo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(245, 150, 170, 0.1);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(245, 150, 170, 0.1);
}

.feature-icon {
    font-size: 2.1rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.feature-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

/* How It Works Steps */
.how-it-works {
    margin-bottom: 80px;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.step-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px var(--primary-glow);
    position: relative;
    z-index: 2;
}

.step-card h4 {
    color: var(--dark);
    font-size: 0.84rem;
    margin-bottom: 10px;
}

.step-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Connector Line (Desktop only) */
@media (min-width: 992px) {
    .steps-container::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 10%;
        width: 80%;
        height: 2px;
        background: var(--primary-glow);
        z-index: 1;
    }
}

/* Perfect For Grid */
.perfect-for {
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 24px;
}

.perfect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.perfect-item {
    background: var(--white);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    border: 1px solid rgba(245, 150, 170, 0.15);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.perfect-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-glow);
}

.perfect-icon {
    font-size: 1.4rem;
}

.perfect-text h4 {
    margin: 0 0 5px;
    color: var(--primary);
    font-size: 1.1rem;
}

.perfect-text p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray);
}

/* AI Promo Section - New Scattered Badges Design */
.ai-promo-section {
    margin: 80px 0;
    padding: 60px 40px 80px;
    background: linear-gradient(180deg,
            rgba(255, 240, 245, 0.95) 0%,
            rgba(255, 248, 250, 0.9) 50%,
            rgba(252, 245, 248, 0.85) 100%);
    border-radius: 32px;
    border: 1px solid rgba(245, 150, 170, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    min-height: 550px;
}

/* Sakura branch decoration - top left */
.sakura-branch-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 200px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 200"><path d="M-10 10 Q50 30 100 20 T200 40 T280 30" stroke="%238B4513" stroke-width="3" fill="none"/><path d="M100 20 Q120 50 110 80" stroke="%238B4513" stroke-width="2" fill="none"/><path d="M200 40 Q180 70 190 100" stroke="%238B4513" stroke-width="2" fill="none"/><circle cx="105" cy="25" r="8" fill="%23FFB7C5" opacity="0.9"/><circle cx="115" cy="35" r="6" fill="%23FFC0CB" opacity="0.8"/><circle cx="95" cy="40" r="7" fill="%23FFB7C5" opacity="0.85"/><circle cx="195" cy="45" r="8" fill="%23FFB7C5" opacity="0.9"/><circle cx="205" cy="55" r="6" fill="%23FFC0CB" opacity="0.8"/><circle cx="185" cy="58" r="7" fill="%23FFB7C5" opacity="0.85"/><circle cx="110" cy="75" r="6" fill="%23FFC0CB" opacity="0.7"/><circle cx="190" cy="95" r="6" fill="%23FFC0CB" opacity="0.7"/><circle cx="50" cy="35" r="5" fill="%23FFB7C5" opacity="0.6"/><circle cx="250" cy="35" r="7" fill="%23FFB7C5" opacity="0.7"/><circle cx="260" cy="45" r="5" fill="%23FFC0CB" opacity="0.6"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
    opacity: 0.9;
    pointer-events: none;
}

/* Falling petals inside section */
.ai-promo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="20" cy="15" r="3" fill="%23FFB7C5" opacity="0.4"/><circle cx="60" cy="35" r="2" fill="%23FFC0CB" opacity="0.3"/><circle cx="80" cy="70" r="3" fill="%23FFB7C5" opacity="0.35"/><circle cx="35" cy="80" r="2" fill="%23FFC0CB" opacity="0.3"/><circle cx="90" cy="20" r="2" fill="%23FFB7C5" opacity="0.3"/></svg>');
    animation: petalsDrift 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes petalsDrift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

/* Header with pixel-style title */
.ai-promo-header {
    text-align: center;
    position: relative;
    z-index: 10;
    margin-bottom: 20px;
    padding: 0 20px;
}

.ai-promo-pixel-title {
    font-family: 'Press Start 2P', 'VT323', 'Courier New', monospace;
    font-size: 1.4rem;
    color: #C71585;
    text-shadow:
        2px 2px 0px #FFB7C5,
        4px 4px 0px rgba(199, 21, 133, 0.2);
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.4;
    word-wrap: break-word;
}

.ai-promo-pixel-subtitle {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 0.91rem;
    color: #C71585;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 1px 1px 0px rgba(255, 183, 197, 0.5);
}

/* Scattered badges showcase container */
.ai-badges-showcase {
    position: relative;
    width: 100%;
    height: 380px;
    margin: 20px auto;
    z-index: 5;
}

/* Floating badge base styles */
.floating-badge {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 2px rgba(245, 150, 170, 0.3);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.3s ease;
    cursor: pointer;
    animation: floatBounce 4s ease-in-out infinite;
}

.floating-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.floating-badge:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.2),
        0 0 0 4px rgba(245, 150, 170, 0.5),
        0 0 30px rgba(255, 183, 197, 0.5);
    z-index: 100;
}

.floating-badge:hover img {
    transform: scale(1.1);
}

/* Individual badge positions - scattered layout */
.badge-pos-1 {
    width: 70px;
    height: 70px;
    top: 5%;
    left: 5%;
    animation-delay: 0s;
}

.badge-pos-2 {
    width: 120px;
    height: 120px;
    top: 25%;
    left: 12%;
    animation-delay: 0.5s;
}

.badge-pos-3 {
    width: 140px;
    height: 140px;
    top: 10%;
    left: 35%;
    animation-delay: 1s;
}

.badge-pos-4 {
    width: 90px;
    height: 90px;
    top: 5%;
    right: 20%;
    animation-delay: 1.5s;
}

.badge-pos-5 {
    width: 75px;
    height: 75px;
    top: 55%;
    left: 3%;
    animation-delay: 2s;
}

.badge-pos-6 {
    width: 100px;
    height: 100px;
    top: 55%;
    left: 40%;
    animation-delay: 0.3s;
}

.badge-pos-7 {
    width: 110px;
    height: 110px;
    top: 35%;
    right: 8%;
    animation-delay: 0.8s;
}

.badge-pos-8 {
    width: 95px;
    height: 95px;
    top: 65%;
    right: 25%;
    animation-delay: 1.3s;
}

/* Float animation */
@keyframes floatBounce {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(-1deg);
    }

    75% {
        transform: translateY(-10px) rotate(1deg);
    }
}

/* CTA Button container */
.ai-promo-cta {
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.ai-cta-button {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, #FF69B4 0%, #C71585 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow:
        0 10px 30px rgba(199, 21, 133, 0.3),
        0 0 0 4px rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.ai-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(199, 21, 133, 0.4),
        0 0 0 4px rgba(255, 255, 255, 0.7),
        0 0 50px rgba(255, 105, 180, 0.3);
}

.ai-cta-button:hover::before {
    left: 100%;
}

/* Responsive adjustments */
/* Responsive adjustments */
@media (max-width: 1024px) {
    .promo-section {
        padding: 30px;
        margin: 40px auto;
    }

    .promo-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .promo-section {
        padding: 20px;
        margin: 30px auto;
        border-radius: 20px;
    }

    .promo-title {
        font-size: 1.4rem;
        margin-bottom: 30px;
    }

    .promo-features {
        gap: 20px;
        grid-template-columns: 1fr;
        /* Stack vertically on tablets/mobile */
        margin-bottom: 40px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .step-card {
        width: 100%;
        min-width: 0;
        /* Reset min-width */
        max-width: 100%;
        /* Allow full width */
        margin-bottom: 20px;
        padding: 0;
    }

    .step-card:last-child {
        margin-bottom: 0;
    }

    .steps-container::before {
        display: none;
    }

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

    .perfect-item {
        padding: 15px;
    }

    .ai-promo-section {
        padding: 30px 20px 60px;
        margin: 40px 0;
        border-radius: 20px;
        min-height: 450px;
    }

    .ai-promo-pixel-title {
        font-size: 0.98rem;
    }

    .ai-promo-pixel-subtitle {
        font-size: 0.77rem;
    }

    .ai-badges-showcase {
        height: 320px;
    }

    /* Adjust badge positions for tablet */
    .floating-badge {
        border-width: 3px;
    }

    .badge-pos-1 {
        width: 55px;
        height: 55px;
    }

    .badge-pos-2 {
        width: 90px;
        height: 90px;
    }

    .badge-pos-3 {
        width: 100px;
        height: 100px;
        left: 30%;
    }

    .badge-pos-4 {
        width: 70px;
        height: 70px;
    }

    .badge-pos-5 {
        width: 60px;
        height: 60px;
    }

    .badge-pos-6 {
        width: 80px;
        height: 80px;
    }

    .badge-pos-7 {
        width: 85px;
        height: 85px;
    }

    .badge-pos-8 {
        width: 75px;
        height: 75px;
    }

    .sakura-branch-decoration {
        width: 200px;
        height: 130px;
    }
}

@media (max-width: 480px) {
    .promo-section {
        width: 100%;
        margin: 20px 0;
        border-radius: 0;
        /* Full bleed on very small screens if desired, or keep radius small */
        background: rgba(255, 255, 255, 0.6);
        /* More opacity for readability */
    }

    .promo-title {
        font-size: 1.12rem;
    }

    .feature-card {
        padding: 20px;
    }

    .ai-promo-section {
        padding: 25px 15px 50px;
        border-radius: 15px;
        min-height: 400px;
    }

    .ai-promo-pixel-title {
        font-size: 0.77rem;
        letter-spacing: 1px;
    }

    .ai-promo-pixel-subtitle {
        font-size: 0.7rem;
    }

    .ai-badges-showcase {
        height: 280px;
    }

    /* Mobile badge positions - more compact */
    .floating-badge {
        border-width: 2px;
    }

    .badge-pos-1 {
        width: 45px;
        height: 45px;
        top: 2%;
        left: 2%;
    }

    .badge-pos-2 {
        width: 70px;
        height: 70px;
        top: 20%;
        left: 8%;
    }

    .badge-pos-3 {
        width: 85px;
        height: 85px;
        top: 8%;
        left: 45%;
    }

    .badge-pos-4 {
        width: 55px;
        height: 55px;
        right: 5%;
    }

    .badge-pos-5 {
        width: 50px;
        height: 50px;
        top: 50%;
        left: 2%;
    }

    .badge-pos-6 {
        width: 65px;
        height: 65px;
        top: 48%;
        left: 35%;
    }

    .badge-pos-7 {
        width: 75px;
        height: 75px;
        top: 30%;
        right: 3%;
    }

    .badge-pos-8 {
        width: 60px;
        height: 60px;
        top: 58%;
        right: 12%;
    }

    .ai-cta-button {
        width: 100%;
        text-align: center;
        padding: 14px 25px;
        font-size: 1rem;
    }

    .sakura-branch-decoration {
        width: 150px;
        height: 100px;
        opacity: 0.7;
    }
}

/* Modal placeholder styles - kept for compatibility */
.modal input::placeholder,
.modal textarea::placeholder {
    color: #757575;
}