/* 
    PULSO - Clean Luxury Design System
    Aesthetic: Modern Premium, Dark Background, Vibrant Red Accents.
*/

:root {
    --bg-dark: #070707;
    --bg-darker: #040404;
    --bg-soft-dark: #0c0c0c;
    --brand-red: #D71A21;
    --brand-red-glow: rgba(215, 26, 33, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #666666;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --radius-luxury: 24px;
    --transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* UTILS */
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.bg-soft-dark { background-color: var(--bg-soft-dark); }
.bg-darker { background-color: var(--bg-darker); }
.text-muted { color: var(--text-muted); }
.items-center { align-items: center; }

/* TYPOGRAPHY */
h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.section-title { margin-bottom: 5rem; }
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.eyebrow, .eyebrow-red { font-size: 0.9rem; font-weight: 700; color: var(--brand-red); text-transform: uppercase; letter-spacing: 0.2em; display: block; margin-bottom: 1rem; }
.lead-text { font-size: 1.2rem; color: var(--text-secondary); max-width: 650px; margin-left: auto; margin-right: auto; font-weight: 400; line-height: 1.8; }
.display-title { font-size: clamp(2.5rem, 7vw, 4rem); font-weight: 800; color: #fff; line-height: 1.1; }

/* BACKGROUND OVERLAY */
.abstract-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(215, 26, 33, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(215, 26, 33, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

/* NAVBAR */
.navbar {
    padding: 30px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; min-height: 80px; }
.nav-logo { height: 78px; transition: height var(--transition); }
.nav-buttons { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: #fff; text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.8; transition: opacity 0.3s; }
.nav-link:hover { opacity: 1; }

/* HERO */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    padding-top: 140px;
}
.hero-subline { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 3rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1.5rem; }

/* BUTTONS */
.btn-vibrant, .btn-primary-small, .btn-giant, .btn-white {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition);
    border: none;
    display: inline-block;
}

.btn-vibrant {
    background-color: var(--brand-red);
    color: #fff;
    box-shadow: 0 10px 30px var(--brand-red-glow);
}
.btn-vibrant:hover { transform: translateY(-5px); box-shadow: 0 15px 40px var(--brand-red-glow); }

.btn-secondary, .btn-outline {
    background-color: var(--glass);
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition);
    border: 1px solid var(--glass-border);
}
.btn-secondary:hover, .btn-outline:hover { background-color: rgba(255,255,255,0.1); transform: translateY(-3px); }

.btn-primary-small { padding: 0.8rem 1.8rem; font-size: 0.95rem; background-color: var(--brand-red); color: #fff; }
.btn-giant {
    background-color: var(--brand-red);
    color: #fff;
    padding: 2rem 4rem;
    font-size: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    border-radius: var(--radius-luxury);
}
.btn-white { background-color: #fff; color: #000; @extend .btn-vibrant; box-shadow: 0 10px 30px rgba(255,255,255,0.2); }
.btn-white:hover { box-shadow: 0 15px 40px rgba(255,255,255,0.3); }

.btn-outline { @extend .btn-secondary; border: 2px solid rgba(255,255,255,0.3); }

/* LUXURY CARDS */
.luxury-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-luxury);
    padding: 3rem;
    transition: transform var(--transition), border-color var(--transition);
}
.luxury-card:hover { border-color: rgba(255,255,255,0.2); transform: translateY(-10px); }

/* DEMO PREVIEW (HERO) */
.demo-preview {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}
.pulse-indicator {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(215, 26, 33, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-pulse { color: var(--brand-red); animation: pulse-red 2s infinite; }
@keyframes pulse-red { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.6; } 100% { transform: scale(1); opacity: 1; } }

.demo-chat-sim { display: flex; flex-direction: column; gap: 1rem; }
.msg { padding: 1rem 1.5rem; border-radius: 18px; max-width: 85%; font-size: 0.95rem; }
.msg.bot { background: rgba(255,255,255,0.05); align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid var(--glass-border); }
.msg.user { background: var(--brand-red); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 5px 15px var(--brand-red-glow); }

/* VIDEO BOX */
.video-box { padding: 0; overflow: hidden; position: relative; aspect-ratio: 16/9; }
.video-preview-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: opacity 0.5s; }
.video-box:hover .video-preview-img { opacity: 0.8; }
.play-btn-luxury {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
}
.play-btn-luxury svg { width: 32px; height: 32px; margin-left: 4px; }
.video-box:hover .play-btn-luxury { transform: translate(-50%, -50%) scale(1.1); }

/* PROBLEM GRID */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.pain-point { text-align: left; }
.pain-point h3 { margin: 1.5rem 0 1rem; font-size: 1.4rem; }
.pain-point p { font-size: 1rem; color: var(--text-secondary); }
.icon-red { color: var(--brand-red); width: 44px; height: 44px; }

/* SOLUTION & TRUST GRIDS */
.grid-2-col, .grid-2-col-center { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.grid-2-col-center { grid-template-columns: 0.9fr 1.1fr; }
.text-box { text-align: left; }
.luxury-list { list-style: none; margin-top: 2rem; }
.luxury-list li { display: flex; align-items: center; gap: 1rem; font-size: 1.15rem; margin-bottom: 1rem; color: var(--text-secondary); }
.luxury-list li i { color: var(--brand-red); width: 24px; }
.luxury-image { width: 100%; border-radius: var(--radius-luxury); border: 1px solid var(--glass-border); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }

/* INDUSTRIES */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.industry-card { padding: 3rem 2rem; border-radius: var(--radius-luxury); background: rgba(255,255,255,0.02); transition: background 0.3s; }
.industry-card:hover { background: rgba(255,255,255,0.05); }
.industry-card i { width: 48px; height: 48px; color: var(--brand-red); margin-bottom: 1.5rem; }
.industry-card h4 { font-size: 1.4rem; margin-bottom: 1rem; }

/* PRICING */
.pricing-card { max-width: 800px; margin: 0 auto; text-align: center; border: 2px solid var(--brand-red); }
.badge-red { background: var(--brand-red); color: #fff; padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 800; font-size: 0.8rem; }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 3rem; }
.price-item { display: flex; flex-direction: column; gap: 0.5rem; }
.price-label { font-size: 0.9rem; color: var(--text-secondary); letter-spacing: 0.1em; }
.price-value { font-size: 3.5rem; font-weight: 800; color: #fff; }

/* FOUNDER */
.luxury-profile { width: 100%; border-radius: var(--radius-luxury); filter: grayscale(20%); transition: filter 0.5s; }
.luxury-profile:hover { filter: grayscale(0%); }
.divider { width: 80px; height: 4px; background: var(--brand-red); border: none; margin: 2rem 0; }

/* FINAL CTA */
.bg-vibrant { background-color: var(--brand-red); position: relative; overflow: hidden; padding: 120px 0; }
.bg-vibrant::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(80px);
}
.cta-group { display: flex; justify-content: center; gap: 2rem; margin-top: 3rem; }

/* FOOTER */
.footer { padding: 80px 0 40px; text-align: center; border-top: 1px solid var(--glass-border); }
.footer-logo { height: 320px; opacity: 0.5; margin-bottom: 2rem; }
.footer p { font-size: 0.9rem; color: var(--text-muted); }

/* BACKGROUND VARIATIONS */
.bg-silk-fixed {
    position: relative;
    background-image: url('assets/luxury-silk.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

/* Dark Overlay for fixed backgrounds */
.bg-silk-fixed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.bg-silk-fixed .container {
    position: relative;
    z-index: 2;
}

/* ANIMATIONS */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .container { padding: 0 8%; }
    .hero-grid, .grid-2-col, .grid-2-col-center, .industry-grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .hero-actions, .cta-group { flex-direction: column; }
    .btn-vibrant, .btn-secondary, .btn-white, .btn-outline { width: 100%; }
    .price-grid { grid-template-columns: 1fr; gap: 2rem; }
    .navbar { padding: 20px 0; }
    .mobile-hide { display: none; }
    .hero-visual { order: -1; }
    .section-padding { padding: 60px 0; }
    h1 { font-size: 3rem; }
}
