/* ============================================
   Mariner Studio - Custom Styles
   Color Palette:
   - Purple/Violet: #8B5CF6
   - Dark Navy: #1e3c72 → #2a5298
   - Dark Charcoal: #1a1a2e
   ============================================ */

:root {
    --ms-purple: #8B5CF6;
    --ms-purple-dark: #7C3AED;
    --ms-purple-light: #C4B5FD;
    --ms-purple-lighter: #EDE9FE;
    --ms-navy: #1e3c72;
    --ms-navy-light: #2a5298;
    --ms-charcoal: #1a1a2e;
    --ms-dark-text: #1F2937;
    --ms-muted-text: #6B7280;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 0;
    color: var(--ms-dark-text);
}

/* ---- Navbar ---- */
.ms-navbar {
    background: linear-gradient(135deg, var(--ms-navy) 0%, var(--ms-navy-light) 100%);
    padding: 0.75rem 0;
}

.ms-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.ms-navbar .nav-link:hover {
    color: #fff !important;
}

.ms-navbar .navbar-brand {
    color: #fff !important;
    font-size: 1.25rem;
}

/* ---- MS Logo Badge ---- */
.ms-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--ms-navy);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.ms-logo-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--ms-navy);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* ---- Hero Section ---- */
.hero-section {
    background: linear-gradient(135deg, var(--ms-navy) 0%, var(--ms-navy-light) 50%, var(--ms-purple) 100%);
    padding: 5rem 0;
    color: #fff;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-section .lead {
    font-size: 1.35rem;
    opacity: 0.9;
}

/* ---- Feature Sections ---- */
.feature-section-purple {
    background: linear-gradient(135deg, var(--ms-purple) 0%, var(--ms-purple-dark) 100%);
    padding: 5rem 0;
    color: #fff;
}

.feature-section-white {
    background: #fff;
    padding: 5rem 0;
}

.feature-section-navy {
    background: linear-gradient(135deg, var(--ms-navy) 0%, var(--ms-navy-light) 100%);
    padding: 5rem 0;
    color: #fff;
}

.section-title-script {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 2.75rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* ---- Feature Cards ---- */
.feature-card {
    border: none;
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 2rem rgba(139, 92, 246, 0.15);
}

.feature-icon {
    font-size: 2.25rem;
    color: var(--ms-purple);
}

/* ---- Benefit Cards ---- */
.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ---- Screenshot Placeholder ---- */
.screenshot-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screenshot-placeholder-light {
    background: var(--ms-purple-lighter);
    border: 2px dashed var(--ms-purple-light);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--ms-dark-text);
}

/* ---- Buttons ---- */
.btn-primary {
    color: #fff;
    background-color: var(--ms-purple);
    border-color: var(--ms-purple-dark);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--ms-purple-dark);
    border-color: var(--ms-purple-dark);
}

.btn-outline-light:hover {
    color: var(--ms-purple);
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(139, 92, 246, 0.3);
}

/* ---- Blog Cards ---- */
.blog-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
}

.blog-card .blog-date {
    color: var(--ms-muted-text);
    font-size: 0.85rem;
}

.blog-card h5 {
    color: var(--ms-dark-text);
    font-weight: 600;
}

.blog-card .blog-excerpt {
    color: var(--ms-muted-text);
    font-size: 0.95rem;
}

.blog-card .read-more {
    color: var(--ms-purple);
    font-weight: 600;
    text-decoration: none;
}

.blog-card .read-more:hover {
    text-decoration: underline;
}

/* ---- Category Badge ---- */
.category-badge {
    display: inline-block;
    background: var(--ms-purple-lighter);
    color: var(--ms-purple-dark);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ---- CTA Section ---- */
.cta-section {
    background: linear-gradient(135deg, var(--ms-purple) 0%, var(--ms-navy) 100%);
    padding: 4rem 0;
    color: #fff;
    text-align: center;
}

/* ---- Content Pages (Privacy, Support) ---- */
.content-page {
    padding: 3rem 0;
}

.content-page h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--ms-dark-text);
}

.content-page h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--ms-navy);
}

.content-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--ms-dark-text);
}

.content-page p,
.content-page li {
    color: var(--ms-muted-text);
    line-height: 1.7;
}

/* ---- Info Callout ---- */
.info-callout {
    background-color: var(--ms-purple-lighter);
    border-left: 4px solid var(--ms-purple);
    border-radius: 0.5rem;
    padding: 1.5rem 2rem;
    margin: 1.5rem 0;
}

/* ---- Footer ---- */
.ms-footer {
    background-color: var(--ms-charcoal);
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.ms-footer a {
    transition: color 0.2s ease;
}

.ms-footer a:hover {
    color: var(--ms-purple-light) !important;
}

/* ---- Focus States ---- */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--ms-purple);
}

/* ---- Text Utilities ---- */
.text-primary {
    color: var(--ms-purple) !important;
}

.bg-primary {
    background-color: var(--ms-purple) !important;
}

a.text-decoration-none:hover {
    text-decoration: underline !important;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .feature-section-purple,
    .feature-section-white,
    .feature-section-navy {
        padding: 3rem 0;
    }

    .section-title-script {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}
