/** CSS Variables & Design System - Editorial Glassmorphism **/
:root {
    /* Colors */
    --text-light: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    
    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-light);
    background-color: #0c0c0c; /* Fallback */
    overflow-x: hidden;
    line-height: 1.5;
}

section {
    scroll-margin-top: 120px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Custom Glowing Cursor */
.glow-cursor {
    width: 6px;
    height: 6px;
    background-color: #FFF;
    box-shadow: 0 0 10px 2px #fff, 0 0 20px 5px var(--accent-color, #00f0ff);
    position: fixed;
    top: -3px;
    left: -3px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
}
.glow-cursor-trail {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(0, 240, 255, 0.4) 30%, transparent 70%);
    position: fixed;
    top: -30px;
    left: -30px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: transform 0.1s linear, width 0.3s, height 0.3s, background 0.3s;
}
.glow-cursor-trail.hover-active {
    width: 100px;
    height: 100px;
    top: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255, 100, 50, 0.5) 40%, transparent 70%);
}

/* Background Implementation */
.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
}
.inner-zoom-bg {
    animation: slowZoom 30s ease-in-out alternate infinite;
    transform-origin: center;
}
@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* A dark gradient overlay to make text readable */
.site-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.7) 100%);
    z-index: -1;
}

/* Glassmorphism Classes */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn-solid, .btn-solid-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    color: #000000;
    font-weight: 500;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.95rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-solid-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}
.btn-solid:hover, .btn-solid-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,255,255,0.2);
}
.icon-sm { width: 16px; height: 16px; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px;
    z-index: 1000;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}
.brand-logo {
    height: 24px;
    display: block;
}
.nav-links {
    display: flex;
    gap: 40px;
}
.nav-link {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}
.nav-link:hover { color: var(--text-light); }

/* Hero Section */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 150px 5% 50px;
}
.hero-left {
    max-width: 600px;
}
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 24px;
}
.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}
.hero-subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 400;
    max-width: 550px;
    background: rgba(0, 0, 0, 0.4);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.6;
}

/* Hero Right Floating Objects */
.hero-right-floats {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end;
}
.social-diamond-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}
.diamond-row {
    display: flex;
    gap: 80px;
}
.diamond-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.7);
    color: #fff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 25px 5px rgba(255, 255, 255, 0.3), inset 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.4s var(--ease-out);
    position: relative;
    text-decoration: none;
}
.diamond-btn svg {
    filter: drop-shadow(0 0 8px #fff);
    transition: transform 0.3s;
}
.diamond-btn:hover {
    transform: scale(1.15) translateY(-5px) !important;
    box-shadow: 0 0 35px 15px rgba(0, 240, 255, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.8);
    border-color: #fff;
    z-index: 10;
    color: #00f0ff;
}
.diamond-btn:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px #00f0ff);
}

/* Atom orbital ring effect */
.diamond-btn::before, .diamond-btn::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    pointer-events: none;
}
.diamond-btn::before {
    border-top-color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(0, 240, 255, 0.9);
    animation: spinRotate 3s linear infinite;
}
.diamond-btn::after {
    inset: -10px;
    border-right-color: rgba(255, 255, 255, 0.6);
    border-left-color: rgba(0, 240, 255, 0.6);
    animation: spinRotate 4.5s linear infinite reverse;
}

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

/* Float animations */
.diamond-top { animation: atomFloatY 4s ease-in-out infinite; }
.diamond-left { animation: atomFloatX 4.5s ease-in-out infinite alternate; animation-delay: 1s; }
.diamond-right { animation: atomFloatX 4.5s ease-in-out infinite alternate-reverse; animation-delay: 1.5s; }
.diamond-bottom { animation: atomFloatY 4s ease-in-out infinite reverse; animation-delay: 2s; }

@keyframes atomFloatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
@keyframes atomFloatX {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(8px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

/* Bento Grid Services */
.bento-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 5% 100px;
}
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.bento-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 240px;
    transition: background 0.4s ease;
}
.bento-card:hover {
    background: var(--glass-highlight);
}
.bento-icon {
    margin-bottom: auto; /* Pushes text to bottom */
    color: rgba(255, 255, 255, 0.6);
}
.bento-card h3 {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 10px;
}
.bento-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 80px 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.about-section::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at top right, rgba(255, 200, 100, 0.1), transparent 50%);
    z-index: -1;
    pointer-events: none;
}
.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--text-light);
}
.about-lead {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 30px;
    font-family: var(--font-serif);
    font-style: italic;
}
.about-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 900px;
    margin-bottom: 20px;
    line-height: 1.7;
}
.glass-highlight-box {
    margin-top: 40px;
    padding: 30px;
    background: rgba(255,255,255,0.08);
    border-left: 4px solid #FFF;
    border-radius: 0 16px 16px 0;
    backdrop-filter: blur(10px);
    color: #fff !important;
    font-weight: 500;
}

/* Contact / Funnel Section */
.contact-section {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 5%;
}
.contact-glass {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px;
    align-items: center;
}
.contact-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 12px 24px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 0.9rem;
}
.contact-whatsapp:hover {
    background: rgba(255,255,255,0.1);
}

/* Inner Pages Structure */
.inner-page-container {
    max-width: 900px;
    margin: 150px auto 100px;
    padding: 80px;
    color: var(--text-light);
}
.inner-page-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 30px;
    font-weight: 400;
}
.inner-page-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
}
.inner-page-text strong {
    color: #fff;
    font-weight: 500;
}
.inner-highlight {
    padding: 20px 30px;
    background: rgba(255,255,255,0.1);
    border-left: 4px solid #fff;
    margin: 40px 0;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: #fff;
}

/* Elegant Form */
.elegant-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.input-line input, .input-line textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--glass-border);
    padding: 15px 0;
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.input-line textarea {
    resize: vertical;
    min-height: 100px;
}
.input-line input:focus, .input-line textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.8);
}
.input-line input::placeholder, .input-line textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.w-full { width: 100%; justify-content: center; margin-top: 20px; }

/* Form Status */
.form-status { padding: 15px; border-radius: 8px; font-size: 0.9rem; margin-top: 15px; display: none; }
.form-status.visible { display: block; }
.form-status.success { background: rgba(46, 204, 113, 0.2); border: 1px solid #2ecc71; }
.form-status.error { background: rgba(231, 76, 60, 0.2); border: 1px solid #e74c3c; }

/* Footer */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap; /* allow wrapping on mobile */
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.social-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Dynamic Float Animations for Bento/Elements */
@keyframes floatY {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
.bento-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background: var(--glass-highlight);
}
.float-item { animation: floatY 6s ease-in-out infinite; }
.float-item.delay-1 { animation-delay: 1s; }
.float-item.delay-2 { animation-delay: 2s; }

/* Responsive */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; }
    .hero-container { flex-direction: column; align-items: flex-start; gap: 60px; }
    .contact-glass { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
