/* ============================================
   OnlyRooms Landing — Dark Premium Theme
   ============================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #22223a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #6b6b80;
    --accent: #a855f7;
    --accent-light: #c084fc;
    --accent-dark: #7c3aed;
    --accent-glow: rgba(168, 85, 247, 0.3);
    --pink: #ec4899;
    --pink-glow: rgba(236, 72, 153, 0.3);
    --gradient-accent: linear-gradient(135deg, #a855f7, #ec4899);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
    --border: rgba(255, 255, 255, 0.06);
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.badge-18 {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: #ef4444;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1;
    align-self: flex-start;
    margin-top: 2px;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--text-primary);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(168, 85, 247, 0.12), transparent),
        radial-gradient(ellipse 60% 50% at 30% 60%, rgba(236, 72, 153, 0.08), transparent),
        radial-gradient(ellipse 40% 40% at 80% 80%, rgba(99, 102, 241, 0.06), transparent);
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.hero-title-line.accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 480px;
}

.hero-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.hero-badge {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    letter-spacing: 0.3px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    padding: 12px 24px;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Character Showcase */
.hero-characters {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.char-showcase {
    position: relative;
    width: 400px;
    height: 480px;
}

.char-card {
    position: absolute;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s;
    animation: cardFloat 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.char-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.char-info {
    padding: 12px;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
}

.char-name {
    display: block;
    font-weight: 700;
    font-size: 15px;
}

.char-role {
    font-size: 12px;
    color: var(--text-muted);
}

.char-main {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 220px;
    border: 2px solid var(--accent);
    box-shadow: 0 0 40px var(--accent-glow);
}

.char-main img {
    height: 300px;
}

.char-left {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    z-index: 3;
    opacity: 0.85;
}

.char-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(5deg);
    z-index: 3;
    opacity: 0.85;
}

.char-back-left {
    left: -30px;
    top: 20%;
    transform: rotate(-8deg) scale(0.8);
    z-index: 1;
    opacity: 0.5;
    filter: blur(1px);
}

.char-back-right {
    right: -30px;
    top: 20%;
    transform: rotate(8deg) scale(0.8);
    z-index: 1;
    opacity: 0.5;
    filter: blur(1px);
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(calc(-50% - 10px)) translateX(0); }
}

.char-main {
    animation-name: cardFloatMain;
}

@keyframes cardFloatMain {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 12px)); }
}

/* ========== FEATURES ========== */
.features {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-title .accent {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== CHARACTERS CAROUSEL ========== */
.characters {
    padding: 120px 0 80px;
    overflow: hidden;
}

.chars-carousel-wrap {
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.chars-carousel-wrap::before,
.chars-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

.chars-carousel-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-primary), transparent);
}

.chars-carousel-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-primary), transparent);
}

.chars-carousel {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.carousel-card {
    flex-shrink: 0;
    width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.carousel-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(168, 85, 247, 0.15);
}

.carousel-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.carousel-info {
    padding: 16px;
}

.carousel-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(168, 85, 247, 0.15);
    color: var(--accent-light);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.tag.hot {
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink);
}

.carousel-info p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.carousel-hint {
    text-align: center;
    padding: 16px;
    color: var(--text-muted);
    font-size: 13px;
}

@keyframes scrollCarousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== HOW IT WORKS ========== */
.how-it-works {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    flex: 1;
    max-width: 300px;
    transition: var(--transition);
}

.step:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.step-num {
    width: 56px;
    height: 56px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 14px;
}

.step-arrow {
    font-size: 28px;
    color: var(--accent);
    font-weight: 700;
}

/* ========== PRICING ========== */
.pricing {
    padding: 120px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
}

.basic-badge {
    background: linear-gradient(135deg, #22c55e, #10b981) !important;
    color: white !important;
}

.price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.price-card.popular {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.08), var(--bg-card));
    transform: scale(1.05);
    z-index: 2;
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.price-card.premium {
    border-color: var(--pink);
    background: linear-gradient(180deg, rgba(236, 72, 153, 0.06), var(--bg-card));
}

.price-badge {
    display: inline-block;
    padding: 4px 16px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.popular .price-badge {
    background: var(--gradient-accent);
    color: white;
}

.premium .price-badge {
    background: linear-gradient(135deg, var(--pink), var(--accent));
    color: white;
}

.price-amount {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -2px;
}

.price-amount span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

.price-features {
    list-style: none;
    margin: 28px 0 32px;
    text-align: left;
}

.price-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: '✓';
    color: var(--accent-light);
    font-weight: 700;
    font-size: 16px;
}

.popular .price-features li::before {
    color: var(--accent);
}

.premium .price-features li::before {
    color: var(--pink);
}

/* ========== CTA ========== */
.cta-section {
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 24px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    pointer-events: none;
}

.cta-box h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
    position: relative;
}

/* ========== FOOTER ========== */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-secondary);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-desc {
        margin: 0 auto 20px;
    }

    .hero-badge-row {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-characters {
        height: 350px;
    }

    .char-showcase {
        transform: scale(0.7);
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid,
    .pricing-grid.four-cols {
        grid-template-columns: 1fr 1fr;
        max-width: 600px;
    }

    .price-card.popular {
        transform: scale(1);
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .nav {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .header {
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 12px;
    }

    .logo-img {
        height: 30px;
    }

    .logo-text {
        font-size: 18px;
    }

    .badge-18 {
        font-size: 9px;
        padding: 2px 4px;
    }

    .header-cta {
        font-size: 12px;
        padding: 8px 14px;
    }

    .hero {
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-desc {
        font-size: 15px;
        margin: 0 auto 16px;
    }

    .hero-badge-row {
        justify-content: center;
        gap: 8px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-characters {
        display: none;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature-card {
        padding: 20px;
    }

    .carousel-card {
        min-width: 200px;
    }

    .carousel-card img {
        height: 240px;
    }

    .pricing-grid,
    .pricing-grid.four-cols {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .price-card {
        padding: 24px 20px;
    }

    .price-amount {
        font-size: 36px;
    }

    .steps {
        gap: 16px;
    }

    .step {
        padding: 24px 16px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-box h2 {
        font-size: 28px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer-links {
        gap: 12px;
        font-size: 13px;
    }

    .footer-copy {
        font-size: 12px;
    }

    .container {
        padding: 0 16px;
    }
}

/* ========== PARTICLE EFFECT ========== */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-light);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-200px) scale(0.5); }
}

/* ========== GLOW EFFECTS ========== */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--pink), transparent);
}
