/* Moonstorm Core Brand Styles - Midnight Gold */
html {
    font-size: 100%;
}

:root {
    --obsidian: #050505;
    --amber-deep: #d97706;
    --amber-gold: #f59e0b;
    --amber-light: #fcd34d;
    --slate-600: #475569;
    --slate-400: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
}

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

body {
    background-color: var(--obsidian);
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (max-width: 992px) {
     body {
        display: block;
    }
}
 
a {
    color: var(--amber-gold);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 700;
}

/* Luxury Grain Texture */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
    opacity: 0.05;
    pointer-events: none;
    z-index: 10;
}

.stars {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
    z-index: -1;
}

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

/* Header / Logo Section */
header {
    padding: 2rem 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 3rem;
}

/* Dashboard-specific header (to keep title and badge separated) */
.dashboard-header {
    justify-content: space-between !important;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    /* filter: drop-shadow(0 0 10px var(--amber-gold)); */
}

/* Common Typography */
h1 {
    font-family: 'Cinzel', serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

h1 span {
    font-style: italic;
    color: var(--amber-light);
    font-family: 'Cormorant Garamond', serif;
}

h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub-head {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.4rem;
    color: var(--slate-400);
    font-weight: 200;
    letter-spacing: 0.5px;
    text-align: center;
}

.highlight {
    color: var(--amber-gold);
    font-weight: 600;
}

/* Hero Section Specifics */
.hero {
    text-align: center;
    padding: 1rem 0 4rem;
}

.prestige-label {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: var(--amber-gold);
    margin-bottom: 2rem;
    display: block;
    font-weight: 600;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
}

.hero-sub {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.4rem;
    color: var(--slate-400);
    font-weight: 200;
    letter-spacing: 0.5px;
}

/* Feature Pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 4rem;
    text-align: left;
}

.pillar h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--amber-gold);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.pillar p {
    font-size: 1.1rem;
    color: var(--slate-400);
    font-weight: 300;
}

/* Use Cases Section */
.use-cases-header {
    text-align: center;
    margin-bottom: 4rem;
}

.use-cases-header h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.use-cases-header p {
    color: var(--slate-400);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3rem;
    font-weight: 200;
}

.use-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 8rem;
    text-align: center;
}

.case {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s, background 0.3s;
}

.case:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.case-icon {
    width: 40px;
    height: 40px;
    fill: var(--amber-gold);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.case h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.case p {
    font-size: 1.1rem;
    color: var(--slate-400);
    font-style: italic;
    line-height: 1.6;
}

/* Dashboard Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.full-width {
    grid-column: 1 / -1;
}

/* Boxed Containers (Cards / Glass) */
.glass-box {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    border-radius: 2px;
    max-width: 1100px;
    margin: 0 auto 4rem;
    backdrop-filter: blur(20px);
}

/* Table Styling */
.table-container {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 600px; /* Force minimum width to ensure readability on mobile when scrolling */
    border-collapse: collapse;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    table {
        min-width: 500px;
    }
}

th {
    text-align: left;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--slate-400);
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

td {
    padding: 1.2rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    font-size: 0.95rem;
    font-weight: 200;
    vertical-align: middle;
}

.stat-value {
    color: var(--amber-gold);
    font-weight: 600;
}

/* Badges & UI Elements */
.badge {
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Form Styling */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    transition: border-color 0.4s;
    margin-bottom: 2rem;
}

.input-group:focus-within {
    border-color: var(--amber-gold);
}

.input-group-horizontal {
    display: flex;
    margin-top: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    transition: border-color 0.4s;
}

.input-group-horizontal:focus-within {
    border-color: var(--amber-gold);
}

label {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--amber-gold);
    font-weight: 600;
}

input, select {
    background: transparent;
    border: none;
    color: #fff;
    padding: 1rem 0;
    outline: none;
    font-size: 1.2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

input[type="email"] {
    flex-grow: 1;
    font-weight: 800;
    font-style: italic;
}

::placeholder {
    color: var(--slate-600);
    font-style: italic;
    opacity: 0.5;
}

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

select option {
    background: #111;
    color: #fff;
}

/* Buttons */
.btn-primary {
    background: transparent;
    color: var(--amber-gold);
    border: 1px solid rgba(245, 158, 11, 0.3);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.1rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    cursor: pointer;
    padding: 1.5rem;
    width: 100%;
    transition: all 0.4s;
}

.btn-primary:hover {
    background: var(--amber-gold);
    color: var(--obsidian);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.btn-action {
    background: transparent;
    border: 1px solid var(--amber-gold);
    color: var(--amber-gold);
    padding: 0.4rem 0.8rem;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-right: 0.5rem;
}

.btn-action:hover {
    background: var(--amber-gold);
    color: var(--obsidian);
}

.btn-danger {
    border-color: #ff4444;
    color: #ff4444;
}

.btn-danger:hover {
    background: #ff4444;
    color: #fff;
}

.btn-text {
    background: transparent;
    color: var(--amber-gold);
    border: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    cursor: pointer;
    padding: 0 2rem;
    transition: color 0.3s;
}

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

/* intl-tel-input Overrides */
.iti { width: 100%; }
.iti__country-list { background-color: #111; border: 1px solid var(--slate-600); color: #fff; }
.iti__country:hover { background-color: var(--glass); }
.iti__selected-dial-code { color: var(--slate-400); font-size: 1rem; margin-left: 0.5rem; }

/* Market Reality Section */
.market-reality {
    margin-bottom: 10rem;
}

.reality-section {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 10rem;
    text-align: left;
}

.reality-section.reverse {
    flex-direction: row-reverse;
}

.reality-content {
    flex: 1.2;
}

.reality-visual {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.reality-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.reality-content h2 span {
    color: var(--amber-gold);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

.reality-content p {
    font-size: 1.3rem;
    color: var(--slate-400);
    margin-bottom: 2rem;
    font-weight: 300;
}

.reality-list {
    list-style: none;
    padding: 0;
}

.reality-list li {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
    position: relative;
    font-size: 1.2rem;
    color: var(--slate-400);
}

.reality-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--amber-gold);
    font-weight: bold;
}

/* Stat Card Styling */
.stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 3rem;
    border-radius: 4px;
    text-align: center;
    min-width: 250px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
}

.stat-num {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    color: var(--amber-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 992px) {
    .reality-section, .reality-section.reverse {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
    }
    .reality-list li {
        text-align: left;
    }
    .reality-content h2 {
        font-size: 2.8rem;
    }
}

/* Playbook Section */
.playbook-section {
    padding: 8rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.playbook-header {
    text-align: center;
    margin-bottom: 6rem;
}

.playbook-header h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-top: 1.5rem;
}

@media (max-width: 992px) {
    .playbook-header h2 {
        font-size: 2.5rem;
}
}

.playbook-header h2 span {
    color: var(--amber-gold);
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.scenario-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: border-color 0.4s;
}

.scenario-card:hover {
    border-color: rgba(245, 158, 11, 0.2);
}

.scenario-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--amber-gold);
    letter-spacing: 1px;
}

.scenario-context, .scenario-result {
    font-size: 1.1rem;
    color: var(--slate-400);
    line-height: 1.6;
    font-weight: 300;
}

.scenario-result {
    color: #fff;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* WhatsApp Mockup Styles */
.whatsapp-mockup {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.whatsapp-bubble {
    background: #202c33;
    padding: 1.5rem;
    border-radius: 0 15px 15px 15px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.whatsapp-bubble::before {
    content: "";
    position: absolute;
    top: 0; left: -10px;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 15px 15px 0;
    border-color: transparent #202c33 transparent transparent;
}

.whatsapp-bubble.wa-user::before {
    left: auto;
    right: -10px;
    border-width: 0 0 15px 15px;
    border-color: transparent transparent transparent #005c4b;
}

.whatsapp-bubble p {
    color: #e9edef;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
}

.wa-btn {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--amber-gold);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.wa-btn:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: var(--amber-light);
}

@media (max-width: 992px) {
    .scenario-grid {
        grid-template-columns: 1fr;
    }
}

/* Status Messages */
#message {
    margin-top: 2rem;
    font-size: 1rem;
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

footer {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.footer-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-logo-ms {
    max-width: 150px;
    height: auto;
    opacity: 0.9;
}

.footer-meta-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 4rem;
}

.footer-meta-brand:hover {
    opacity: 1;
}

.meta-logo-footer {
    max-width: 200px;
    width: auto;
}


.tech-provider-label {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    color: var(--slate-400);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--slate-600);
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 2;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
    html { font-size: 100%; }
    body { display: flex; flex-direction: column; align-items: center; overflow-x: hidden; width: 100%; }
    
    .container { width: 100%; padding: 0 1rem; margin: 0 auto; }
    .hero { text-align: center; }
    .pillar { text-align: center; }
    .reality-content { text-align: center; }
    .reality-list li { text-align: left; }
    
    .market-reality { grid-template-columns: 1fr; }
    .pillars, .use-cases { grid-template-columns: 1fr; gap: 2rem; }
    .grid { grid-template-columns: 1fr; }
    .glass-box { padding: 2rem 1rem; margin-bottom: 2rem; width: 100%; }
    header { flex-direction: column; gap: 1rem; padding: 1rem 0; margin-bottom: 2rem; width: 100%; }
    .logo { max-width: 200px; }
    
    h1 { font-size: 2.2rem; letter-spacing: -0.5px; word-wrap: break-word; line-height: 1.2; }
    h2 { font-size: 2rem; }
    .sub-head { font-size: 1.1rem; margin-bottom: 2rem; }
    
    .prestige-label { letter-spacing: 3px; font-size: 0.9rem; }
    .btn-primary { letter-spacing: 2px; padding: 1.2rem; font-size: 1rem; }
    
    .stat-card {
        padding: 2rem 1rem;
        min-width: unset;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .reality-content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .reality-content p { font-size: 1.1rem; }
    .reality-list li { font-size: 1rem; }

    .scenario-card { padding: 1.5rem; }
    .whatsapp-mockup { padding: 1rem; }
    
    .case h4 { font-size: 1.2rem; letter-spacing: 1px; }
    .badge { letter-spacing: 0.5px; }
    label { letter-spacing: 1px; font-size: 0.75rem; }
    .stat-desc { letter-spacing: 1px; }
    .wa-btn { letter-spacing: 0.5px; }
    
    .input-group-horizontal {
        flex-direction: column;
        border-bottom: none;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .input-group-horizontal input[type="email"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        padding: 0.8rem;
        width: 100%;
    }
    
    .btn-text {
        padding: 1rem;
        width: 100%;
        background: rgba(245, 158, 11, 0.1);
        border: 1px solid rgba(245, 158, 11, 0.2);
    }
    footer {
        padding: 0;
        margin-top:0 
    }
    .footer-legal { letter-spacing: 1px; font-size: 0.65rem; }
    .footer-meta-brand { gap: 0.5rem; border-left: none; padding-left: 0; }
    .footer-branding { gap: 2rem; flex-direction: column; }
    .footer-logo-ms { max-width: 120px; }
}
