@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,700;9..144,900&family=IBM+Plex+Sans:wght@300;400;600&family=IBM+Plex+Mono:wght@400;600&display=swap');

:root {
    --gold: #D4AF37;
    --gold-dark: #967A26;
    --navy: #0A1128;
    --bg-deep: #050814;
    --text-main: #F8FAFC;
    --text-dim: #94A3B8;
    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-premium: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
    --insta: linear-gradient(45deg, #f09433 0%, #bc1888 100%);
}

/* Base reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Film Grain Texture */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.02;
    pointer-events: none;
    z-index: 9999;
    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");
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: white;
}

p { color: var(--text-dim); font-size: 1.1rem; }

.mono {
    font-family: 'IBM Plex Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 25px; }
section { padding: 120px 0; position: relative; }
.reveal { opacity: 0; transform: translateY(30px); transition: var(--transition); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Components */
.badge {
    background: rgba(212, 175, 55, 0.05);
    color: var(--gold);
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.2);
    letter-spacing: 2px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 12px;
    text-decoration: none;
}

.btn-gold {
    background: var(--gold);
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

.btn-social {
    width: 100%;
    padding: 18px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-social:hover { transform: translateY(-4px); }
.btn-social.insta { background: var(--insta); }
.btn-social.whats { background-color: #25D366; }

/* Cards & Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-premium);
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.04);
}

/* Nav */
nav { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; /* Main navigation bar */
    padding: 25px 0; 
    transition: padding 0.4s ease, background 0.4s ease, border 0.4s ease; 
    background: transparent;
    border-bottom: 1px solid transparent;
}
nav.scrolled { 
    background: rgba(5, 8, 20, 0.98); 
    backdrop-filter: blur(20px); 
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.08); 
}
.nav-content { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1001; }
.logo { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 900; color: white; text-decoration: none; letter-spacing: -1px; }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: var(--gold); }
.menu-toggle { display: none; color: white; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
.hero-img { position: absolute; right: 0; top: 0; width: 60%; height: 100%; object-fit: cover; opacity: 0.3; mask-image: linear-gradient(to left, black 20%, transparent); pointer-events: none; }
.hero h1 { font-size: 4.5rem; margin-bottom: 25px; line-height: 1.05; }
.hero h1 span { color: var(--gold); }
.hero p { max-width: 600px; margin-bottom: 40px; font-size: 1.2rem; }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* Carousel */
.carousel-container { position: relative; width: 100%; overflow: hidden; margin-top: 40px; }
.carousel-track { display: flex; transition: var(--transition); gap: 30px; }
.carousel-item { min-width: calc(33.333% - 20px); background: rgba(255,255,255,0.02); padding: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.carousel-controls { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.control-btn { width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.control-btn:hover { background: var(--gold); color: var(--navy); }

/* Evaluation Section */
.eval-section { background: rgba(255,255,255,0.02); padding: 120px 0; border-top: 1px solid rgba(255,255,255,0.05); }
.eval-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.eval-card { background: rgba(255,255,255,0.02); padding: 25px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); display: flex; gap: 20px; align-items: center; transition: 0.3s; }
.eval-card:hover { border-color: var(--gold); background: rgba(255,255,255,0.04); }
.eval-card i { color: var(--gold); font-family: 'IBM Plex Mono', monospace; font-style: normal; font-weight: 600; }

/* About */
.about-modern { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.about-img-box { position: relative; width: 100%; }
.about-img-box img { width: 100%; border-radius: 8px; position: relative; z-index: 2; box-shadow: var(--shadow-premium); }
.about-img-box::after { content: ''; position: absolute; top: 20px; left: 20px; width: 100%; height: 100%; border: 1px solid var(--gold); border-radius: 8px; z-index: 1; }

/* Form */
.form-white { background: white; padding: 50px; border-radius: 8px; color: var(--navy); box-shadow: var(--shadow-premium); }
.form-white label { display: block; margin-bottom: 8px; font-family: 'IBM Plex Mono', monospace; font-weight: 600; font-size: 0.7rem; text-transform: uppercase; color: #64748b; }
.form-white input, .form-white select, .form-white textarea { width: 100%; padding: 15px; border: 1px solid #e2e8f0; border-radius: 4px; font-family: inherit; font-size: 0.95rem; margin-bottom: 25px; transition: 0.3s; background: #f8fafc; }
.form-white input:focus { border-color: var(--gold); outline: none; background: white; }

/* Floating Elements */
.social-fixed { position: fixed; right: 25px; bottom: 25px; display: flex; flex-direction: column; gap: 15px; z-index: 900; }
.circle-social { width: 55px; height: 55px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 10px 25px rgba(0,0,0,0.3); cursor: pointer; transition: var(--transition); border: 1px solid rgba(255,255,255,0.1); }
.circle-social:hover { transform: scale(1.1); }

/* Progress Bar */
#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold); z-index: 3001; width: 0%; transition: width 0.1s; }

/* Modal & Mobile Menu */
.mobile-menu { position: fixed; inset: 0; background: var(--bg-deep); z-index: 2000; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 40px; }
.mobile-menu.active { display: flex; }
.mobile-menu a { color: white; font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 700; text-transform: uppercase; text-decoration: none; }

.modal { position: fixed; inset: 0; background: rgba(5, 8, 20, 0.98); z-index: 3000; display: none; align-items: center; justify-content: center; padding: 25px; backdrop-filter: blur(15px); }
.modal.active { display: flex; }
.modal-card { background: white; width: 100%; max-width: 500px; border-radius: 8px; padding: 50px; position: relative; color: var(--navy); box-shadow: var(--shadow-premium); }
.modal-card h3 { color: var(--navy); margin-bottom: 25px; }

/* Steps */
.form-step h4 { color: var(--navy); margin-bottom: 20px; font-size: 0.9rem; font-family: 'IBM Plex Mono', monospace; text-transform: uppercase; opacity: 0.6; }
.option-btn { cursor: pointer; padding: 20px; border: 1px solid #e2e8f0; border-radius: 4px; margin-bottom: 12px; color: var(--navy); font-weight: 600; display: flex; align-items: center; gap: 15px; transition: 0.2s; }
.option-btn:hover { border-color: var(--gold); background: #f8fafc; }
.option-btn svg { width: 24px; height: 24px; color: var(--gold); }

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3rem; }
    .grid-3, .grid-2, .about-modern, .eval-grid { grid-template-columns: 1fr; gap: 40px; }
    .carousel-item { min-width: 100%; }
    .hero-img { display: none; }
    .nav-links { display: none; }
    .menu-toggle { display: block; }
    .hero { text-align: center; padding-top: 120px; }
    .hero p { margin: 0 auto 40px; }
    .btn { width: 100%; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    section { padding: 80px 0; }
    .form-white { padding: 30px 20px; }
    .container { padding: 0 20px; }
}