:root {
    --bg-deep: #060912;
    --bg-navy: #0a0e1a;
    --bg-card: rgba(255, 255, 255, 0.04);
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --card-border: rgba(255, 255, 255, 0.1);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --gold: #ffd700;
    --white-10: rgba(255, 255, 255, 0.1);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-40: rgba(255, 255, 255, 0.4);
    --white-60: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.bg-alt {
    background-color: var(--bg-navy);
}

.grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 768px) {
    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Navbar */
.navbar {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(6, 9, 18, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .lang-switcher {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 2rem;
    transition: color 0.3s;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 2rem;
    padding-left: 2rem;
    border-left: 1px solid var(--card-border);
}

.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: var(--accent);
    border-color: var(--accent-glow);
    background: var(--accent-glow);
}

/* Promotion Banner */
.promo-banner {
    background: rgba(255, 107, 107, 0.05);
    border: 1px solid rgba(255, 107, 107, 0.2);
    padding: 1rem;
    margin-top: 100px;
    margin-bottom: -60px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: opacity 0.5s;
}

.promo-banner.hidden {
    display: none;
}

.promo-content {
    font-family: 'Outfit', sans-serif;
}

.promo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
}

.promo-count {
    color: #ff6b6b;
    font-size: 1.5rem;
}

.promo-sub {
    font-size: 0.9rem;
    color: #ff6b6b;
    opacity: 0.9;
}

.promo-icon {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .promo-banner {
        margin-top: 90px;
        margin-bottom: -40px;
        padding: 0.75rem;
    }

    .promo-main {
        font-size: 1.1rem;
    }

    .promo-count {
        font-size: 1.2rem;
    }
}

.nav-links a:hover {
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.store-btn img {
    height: 40px;
    margin-right: 15px;
}

.image-stack {
    position: relative;
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.main-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 20px;
}

.floating {
    position: absolute;
    bottom: -20px;
    left: -20px;
    max-width: 250px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    transition: background 0.3s;
}

.card:hover {
    background: rgba(255, 255, 255, 0.06);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* Features */
.feature-item {
    margin-bottom: 2rem;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.feature-item p {
    color: var(--text-muted);
}

.mockup-container {
    position: relative;
}

.mockup-img {
    width: 100%;
    border-radius: 30px;
    transform: rotate(2deg);
}

.glass-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Esencia Box */
.esencia-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--card-border);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 40px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    margin-left: 2rem;
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .lang-switcher {
        margin-left: 0.5rem;
        padding-left: 0.5rem;
        border-left: none;
    }

    .nav-right {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
        gap: 0.5rem;
    }

    .logo-img {
        height: 32px;
    }

    .lang-btn {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .container {
        padding: 0 1rem;
    }
}

/* Coming Soon Mode */
#coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

body.website-inactive #coming-soon-overlay {
    display: flex;
}

body.website-inactive .navbar,
body.website-inactive .hero,
body.website-inactive .section,
body.website-inactive .footer,
body.website-inactive #promo-banner {
    display: none;
}

.curiosity-content {
    max-width: 600px;
}

.magic-orb-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 3rem;
}

.magic-orb {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    opacity: 0.4;
    animation: magic-pulse 4s ease-in-out infinite;
}

.orb-logo {
    position: relative;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.orb-logo img {
    height: 80px;
}

@keyframes magic-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

.curiosity-title {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.curiosity-text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.teaser-promo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    padding: 1.5rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

/* Gift Form */
.gift-box {
    max-width: 700px;
    margin: 2rem auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--white-60);
    font-weight: 500;
}

.form-group input,
.form-group select {
    background: var(--white-10);
    border: 1px solid var(--white-20);
    color: white;
    padding: 0 1rem;
    height: 48px;
    line-height: 46px;
    /* Slightly less than height for vertical centering */
    border-radius: 12px;
    font-family: inherit;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
    display: block;
    font-size: 1rem;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--white-15);
    box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.2);
}

.btn-block {
    width: 100%;
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.hidden {
    display: none !important;
}

.error-msg {
    color: #ff6b6b;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.success-msg {
    color: #4ade80;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}

/* Visual Selectors */
.visual-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.selector-option {
    flex: 1;
    min-width: 80px;
    background: var(--white-10);
    border: 1px solid var(--white-20);
    padding: 0.75rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.selector-option:hover {
    border-color: var(--white-40);
    background: var(--white-15);
}

.selector-option.selected {
    border-color: var(--accent);
    background: rgba(138, 43, 226, 0.15);
    /* Fallback for --accent if it's blue/purple */
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
}

.selector-option .option-label {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.selector-option .option-sub {
    font-size: 0.75rem;
    color: var(--white-60);
    margin-top: 0.25rem;
}

.package-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.package-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    width: 100%;
    text-align: left;
    background: var(--white-10);
    border: 1px solid var(--white-20);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.package-option:hover {
    border-color: var(--white-40);
}

.package-option.selected {
    border-color: var(--accent);
    background: rgba(138, 43, 226, 0.1);
}

.material-symbols-rounded {
    font-family: 'Material Symbols Rounded';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    color: inherit;
}

.package-icon {
    width: 40px;
    height: 40px;
    background: var(--white-10);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--gold);
}

.package-icon i {
    font-size: 24px;
}

.package-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-name {
    font-weight: 600;
    color: white;
}

.package-credits {
    font-size: 0.85rem;
    color: var(--white-60);
    font-weight: 500;
}

.package-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--accent);
    font-size: 1.25rem;
    margin-right: 1rem;
}

.check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--white-20);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.package-option.selected .check-icon {
    background: var(--accent);
    border-color: var(--accent);
}

.package-option.selected .check-icon::after {
    content: '✓';
    color: white;
    font-size: 12px;
}

@media (max-width: 480px) {
    .visual-selector {
        grid-template-columns: 1fr;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}