:root {
    /* Colors */
    --clr-bg-dark: #120c08;
    --clr-bg-panel: #1e150f;
    --clr-coffee-rich: #3b2314;
    --clr-coffee-medium: #8b5a2b;
    --clr-amber: #d4af37;
    --clr-amber-light: #fce79a;
    --clr-amber-glow: rgba(212, 175, 55, 0.4);
    --clr-text-main: #f4ece6;
    --clr-text-muted: #b8a99a;
    --clr-error: #ef4444;
    --clr-success: #22c55e;
    --clr-whatsapp: #25D366;
    
    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Effects */
    --glass-bg: rgba(30, 21, 15, 0.6);
    --glass-border: rgba(212, 175, 55, 0.15);
    --transition: all 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: var(--font-main);
    background-color: var(--clr-bg-dark);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Texture Overlay */
.grain-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

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

/* Typography & Utilities */
h1, h2, h3 { 
    font-weight: 700; 
    line-height: 1.2; 
    letter-spacing: -0.5px;
}
.text-gradient {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(to right, var(--clr-amber-light), var(--clr-amber), #b48512);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
    display: inline-block;
    padding-right: 5px; /* Prevent italics from clipping */
}
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}
.section-subtitle {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-inline: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}
.btn-outline {
    background: transparent;
    border: 1px solid var(--clr-amber);
    color: var(--clr-amber);
}
.btn-outline:hover {
    background: var(--clr-amber);
    color: var(--clr-bg-dark);
}
.btn-primary {
    background: var(--clr-amber);
    color: var(--clr-bg-dark);
    box-shadow: 0 4px 15px var(--clr-amber-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}
.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-whatsapp {
    background: var(--clr-whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    height: 45px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(212, 175, 55, 0.2));
    transition: transform 0.3s ease;
}
.brand-logo:hover {
    transform: scale(1.05);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.lang-btn {
    background: none;
    border: none;
    color: var(--clr-text-muted);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.lang-btn:hover {
    color: var(--clr-text-main);
}
.lang-btn.active {
    color: var(--clr-amber);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(to right, rgba(18, 12, 8, 0.95) 0%, rgba(18, 12, 8, 0.7) 100%),
                url('hero_bg_new.png') center/cover no-repeat;
    position: relative;
}
/* Add a subtle glow overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}
.hero-content {
    text-align: left; /* Changed from center to left for a more premium editorial look */
    max-width: 700px;
    margin: 0;
    position: relative;
    z-index: 2;
}
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--clr-amber);
    color: var(--clr-amber);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}
.hero-title {
    font-size: clamp(3rem, 5vw, 5.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.05;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    letter-spacing: -1.5px;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
}
.time-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 12px;
    min-width: 90px;
    text-align: center;
}
.time-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-amber);
    line-height: 1;
}
.time-label {
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
    display: block;
}
.colon {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--clr-text-muted);
    align-self: center;
    padding-bottom: 20px;
}

/* Hero Actions & Social Proof */
.hero-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

/* Visual Showcase Section */
.showcase {
    padding: 2rem 0 6rem;
    background: var(--clr-bg-dark);
}
.showcase-banner {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    background: url('menu_items.png') center/cover no-repeat;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    position: relative;
    overflow: hidden;
}
.showcase-banner::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 50%;
    background: linear-gradient(to top, rgba(18, 12, 8, 0.9) 0%, transparent 100%);
}
.showcase-text {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
    z-index: 2;
}
.showcase-text h3 {
    font-size: 2rem;
    color: var(--clr-amber);
    margin-bottom: 0.5rem;
}
.showcase-text p {
    color: var(--clr-text-main);
    font-size: 1.1rem;
}
.social-proof {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}
.highlight-count {
    color: var(--clr-amber);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Features */
.features {
    padding: 5rem 0;
    background: var(--clr-bg-panel);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.feature-card {
    background: var(--clr-bg-dark);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}
.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--clr-amber);
    font-size: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.feature-card h3 { margin-bottom: 1rem; font-size: 1.3rem; }
.feature-card p { color: var(--clr-text-muted); }

/* Plans */
.plans { padding: 6rem 0; }
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}
.plan-card {
    background: var(--clr-bg-panel);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}
.plan-card.featured {
    background: linear-gradient(180deg, rgba(59, 35, 20, 0.8) 0%, var(--clr-bg-panel) 100%);
    border-color: var(--clr-amber);
    transform: scale(1.05);
}
.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--clr-amber);
    color: var(--clr-bg-dark);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}
.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--clr-text-main);
    margin: 1rem 0;
}
.period { font-size: 1rem; color: var(--clr-text-muted); font-weight: 400; }
.plan-features { list-style: none; }
.plan-features li {
    margin-bottom: 1rem;
    color: var(--clr-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features i { color: var(--clr-amber); }

/* Registration */
.registration {
    padding: 6rem 0;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23d4af37" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}
.reg-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--clr-bg-panel);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
}
.reg-info h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }
.reg-info p { color: var(--clr-text-muted); margin-bottom: 2rem; font-size: 1.1rem; }
.benefits-list { list-style: none; }
.benefits-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}
.benefits-list i { color: var(--clr-amber); font-size: 1.2rem; }

/* Form Styles */
.glass-panel {
    background: rgba(18, 12, 8, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
}
.glass-panel h3 { margin-bottom: 2rem; font-size: 1.5rem; text-align: center; }
.form-group { margin-bottom: 1.5rem; position: relative; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-muted);
}
.req { color: var(--clr-amber); }
.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--clr-text-main);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}
.form-group input:focus {
    outline: none;
    border-color: var(--clr-amber);
    background: rgba(212, 175, 55, 0.05);
}
.form-group input.invalid {
    border-color: var(--clr-error);
    background: rgba(239, 68, 68, 0.05);
}
.error-msg {
    display: none;
    color: var(--clr-error);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}
.form-group.has-error .error-msg { display: block; }
.form-alert {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    color: var(--clr-error);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    align-items: center;
    gap: 10px;
}
.privacy-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Success Screen */
.success-panel { text-align: center; }
.success-icon {
    font-size: 5rem;
    color: var(--clr-success);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.success-panel h3 { margin-bottom: 1rem; font-size: 1.8rem; }
.success-panel p { color: var(--clr-text-muted); margin-bottom: 1rem; }
.wait-msg {
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    margin-bottom: 2rem !important;
}

/* Footer */
footer {
    background: #0a0705;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer-brand p {
    color: var(--clr-text-muted);
    margin: 1rem 0;
}
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    color: var(--clr-text-main);
    text-decoration: none;
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--clr-amber);
    color: var(--clr-bg-dark);
}
.footer-links { text-align: right; color: var(--clr-text-muted); font-size: 0.9rem; }
.developer-credits {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--clr-text-muted);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}
.developer-credits .dev-link {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    text-decoration: none;
}
.developer-credits .dev-link:hover {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.1));
}
.dev-logo {
    height: 35px; /* Adjust based on image aspect ratio */
    width: auto;
    display: block;
}
.dev-name {
    color: var(--clr-text-main);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.5px;
}

/* Responsive */
@media (max-width: 992px) {
    .reg-container { grid-template-columns: 1fr; padding: 2rem; }
    .plan-card.featured { transform: scale(1); }
    .countdown { flex-wrap: wrap; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hero { padding-top: 120px; }
    .colon { display: none; }
    .time-box { min-width: 75px; padding: 0.8rem; }
    .time-val { font-size: 2rem; }
    .footer-content { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
    .footer-links { text-align: center; }
}
