/*
Theme Name: MarathiLipi
Theme URI: https://marathilipi.com
Author: MarathiLipi
Author URI: https://marathilipi.com
Description: मराठी टायपिंग, OCR आणि कीबोर्डसाठी आधुनिक व्यासपीठ – MarathiLipi
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: marathilipi
Tags: dark, custom-colors, full-width-template, marathi
*/

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- Light theme (default) --- */
:root {
    --bg-primary:        #f8fafc;
    --bg-secondary:      #ffffff;
    --bg-card:           #ffffff;
    --surface:           #ffffff;
    --border:            rgba(0,0,0,0.09);
    --blue:              #2563eb;
    --cyan:              #0891b2;
    --purple:            #7c3aed;
    --gold:              #d97706;
    --green:             #16a34a;
    --red:               #dc2626;
    --txt-1:             #0f172a;
    --txt-2:             #475569;
    --txt-3:             #94a3b8;
    --grad-hero:         linear-gradient(135deg, #f0f9ff 0%, #dbeafe 40%, #e0f2fe 70%, #f0f9ff 100%);
    --grad-accent:       linear-gradient(135deg, #2563eb, #0891b2);
    /* Theme-specific tokens */
    --nav-bg:            rgba(255,255,255,0.88);
    --nav-bg-scrolled:   rgba(255,255,255,0.98);
    --nav-border:        rgba(0,0,0,0.08);
    --hero-title-grad:   linear-gradient(160deg, #0f172a 0%, #1e3a8a 50%, #0891b2 100%);
    --section-alt-bg:    linear-gradient(160deg, #f0f9ff 0%, #dbeafe 50%, #f0f9ff 100%);
    --footer-bg:         #f1f5f9;
    --surface-tint:      rgba(0,0,0,0.025);
    --surface-tint-2:    rgba(0,0,0,0.04);
    --row-hover:         rgba(0,0,0,0.015);
    --key-bg:            rgba(0,0,0,0.05);
    --key-border:        rgba(0,0,0,0.12);
    --key-border-bot:    rgba(0,0,0,0.20);
    --shadow-card:       0 2px 16px rgba(0,0,0,0.07);
    --shadow-card-hover: 0 12px 40px rgba(0,0,0,0.13);
    --orb-opacity:       0.10;
}

/* --- Dark theme --- */
html[data-theme="dark"] {
    --bg-primary:        #0a0f1e;
    --bg-secondary:      #0f1629;
    --bg-card:           rgba(255,255,255,0.04);
    --surface:           rgba(255,255,255,0.04);
    --border:            rgba(255,255,255,0.08);
    --blue:              #3b82f6;
    --cyan:              #06b6d4;
    --purple:            #8b5cf6;
    --gold:              #f59e0b;
    --green:             #22c55e;
    --red:               #ef4444;
    --txt-1:             #f1f5f9;
    --txt-2:             #94a3b8;
    --txt-3:             #64748b;
    --grad-hero:         linear-gradient(135deg, #070c1a 0%, #0f1e40 40%, #0a1530 70%, #070c1a 100%);
    --grad-accent:       linear-gradient(135deg, #3b82f6, #06b6d4);
    --nav-bg:            rgba(7,12,26,0.75);
    --nav-bg-scrolled:   rgba(7,12,26,0.97);
    --nav-border:        rgba(255,255,255,0.08);
    --hero-title-grad:   linear-gradient(160deg, #ffffff 0%, #dbeafe 45%, #06b6d4 100%);
    --section-alt-bg:    linear-gradient(160deg, #070c1a 0%, #0f1e40 50%, #070c1a 100%);
    --footer-bg:         #050810;
    --surface-tint:      rgba(255,255,255,0.03);
    --surface-tint-2:    rgba(255,255,255,0.04);
    --row-hover:         rgba(255,255,255,0.02);
    --key-bg:            rgba(255,255,255,0.07);
    --key-border:        rgba(255,255,255,0.14);
    --key-border-bot:    rgba(0,0,0,0.4);
    --shadow-card:       none;
    --shadow-card-hover: 0 24px 64px rgba(0,0,0,0.35);
    --orb-opacity:       0.12;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Mukta', sans-serif;
    background: var(--bg-primary);
    color: var(--txt-1);
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAV ===== */
.ml-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--nav-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--nav-border);
    transition: padding 0.3s, background 0.3s;
}

.ml-nav.scrolled {
    padding: 0.7rem 2.5rem;
    background: var(--nav-bg-scrolled);
}

.ml-logo {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: 1.45rem;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ml-logo img {
    flex-shrink: 0;
    border-radius: 4px;
}

.ml-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.ml-nav-links a {
    color: var(--txt-2);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.ml-nav-links a:hover { color: var(--cyan); }

.ml-nav-cta {
    background: var(--grad-accent) !important;
    color: #fff !important;
    padding: 0.5rem 1.3rem;
    border-radius: 8px;
    font-weight: 700 !important;
    box-shadow: 0 2px 12px rgba(59,130,246,0.25);
    transition: box-shadow 0.2s, transform 0.2s !important;
}

.ml-nav-cta:hover {
    box-shadow: 0 4px 20px rgba(59,130,246,0.4) !important;
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.ml-hero {
    min-height: 100vh;
    background: var(--grad-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 7rem 2rem 5rem;
}

.ml-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}

.ml-hero-bg-text {
    position: absolute;
    inset: -20px;
    font-size: 2.5rem;
    line-height: 3.5rem;
    color: var(--txt-1);
    opacity: 0.025;
    word-break: break-all;
    padding: 1rem;
    letter-spacing: 0;
}

.ml-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: var(--orb-opacity);
    pointer-events: none;
}
.ml-orb-1 { width: 600px; height: 600px; background: var(--blue); top: -150px; right: -100px; }
.ml-orb-2 { width: 400px; height: 400px; background: var(--cyan); bottom: -100px; left: -80px; }

.ml-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
}

.ml-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 1.8rem;
    letter-spacing: 0;
}

.ml-hero h1 {
    font-size: clamp(2.2rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.6rem;
    background: var(--hero-title-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ml-hero-sub {
    font-size: clamp(1rem, 2.2vw, 1.22rem);
    color: var(--txt-2);
    max-width: 680px;
    margin: 0 auto 2.8rem;
    line-height: 1.85;
}

.ml-hero-sub strong { color: var(--txt-1); }

/* Demo box */
.ml-demo {
    background: var(--surface-tint);
    border: 1px solid rgba(14,116,144,0.22);
    border-radius: 18px;
    padding: 1.6rem 2rem;
    margin: 0 auto 2.5rem;
    max-width: 480px;
    backdrop-filter: blur(12px);
}

.ml-demo-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.ml-demo-keys {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.9rem;
}

.ml-key {
    background: var(--key-bg);
    border: 1px solid var(--key-border);
    border-bottom: 3px solid var(--key-border-bot);
    border-radius: 8px;
    padding: 0.45rem 1rem;
    font-family: 'Mukta', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--txt-1);
    transition: background 0.2s, border-color 0.2s;
}

.ml-key.active {
    background: rgba(6,182,212,0.15);
    border-color: rgba(6,182,212,0.5);
    color: var(--cyan);
}

.ml-demo-plus, .ml-demo-arrow {
    color: var(--txt-3);
    font-size: 1.1rem;
    font-weight: 300;
}

.ml-demo-arrow { font-size: 1.3rem; }

.ml-demo-result {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.ml-demo-note {
    font-size: 1rem;
    color: var(--txt-3);
    font-style: italic;
    margin-top: 0.2rem;
}

.ml-hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.ml-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--grad-accent);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(59,130,246,0.3);
}

.ml-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(59,130,246,0.45);
}

.ml-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--txt-1);
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.ml-btn-outline:hover {
    border-color: rgba(6,182,212,0.5);
    color: var(--cyan);
    background: rgba(6,182,212,0.05);
}

/* ===== SECTION HELPERS ===== */
.ml-section { padding: 5.5rem 2rem; }
.ml-container { max-width: 1200px; margin: 0 auto; }

.ml-sec-head { text-align: center; margin-bottom: 3.5rem; }

.ml-tag {
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--cyan);
    margin-bottom: 0.9rem;
}

.ml-sec-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.9rem;
    line-height: 1.25;
}

.ml-sec-head p {
    color: var(--txt-2);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ===== THREE PILLARS ===== */
.ml-pillars { background: var(--bg-secondary); }

.ml-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ml-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s, box-shadow 0.35s;
    opacity: 0;
    transform: translateY(24px);
    box-shadow: var(--shadow-card);
}

.ml-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.ml-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 22px 22px 0 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.ml-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card-hover); }
.ml-card:hover::after { opacity: 1; }

.ml-card-keyboard::after  { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.ml-card-ocr::after       { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.ml-card-game::after      { background: linear-gradient(90deg, #f59e0b, #ef4444); }

.ml-card:hover.ml-card-keyboard { border-color: rgba(59,130,246,0.35); }
.ml-card:hover.ml-card-ocr      { border-color: rgba(6,182,212,0.35); }
.ml-card:hover.ml-card-game     { border-color: rgba(245,158,11,0.35); }

.ml-card-icon {
    width: 60px; height: 60px;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.icon-keyboard { background: rgba(59,130,246,0.12); }
.icon-ocr      { background: rgba(6,182,212,0.12); }
.icon-game     { background: rgba(245,158,11,0.12); }

.ml-card-eyebrow {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0.4rem;
}

.clr-blue { color: var(--blue); }
.clr-cyan  { color: var(--cyan); }
.clr-gold  { color: var(--gold); }

.ml-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
    color: var(--txt-1);
}

.ml-card > p {
    color: var(--txt-2);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.ml-feat-list { display: flex; flex-direction: column; gap: 0.55rem; }

.ml-feat-list li {
    display: flex; align-items: flex-start; gap: 0.55rem;
    color: var(--txt-2); font-size: 1rem;
}

.ml-feat-list li::before {
    content: '✓';
    color: var(--cyan);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* ===== COMPARISON ===== */
.ml-comparison { background: var(--bg-primary); }

.ml-table-wrap { max-width: 880px; margin: 0 auto; overflow-x: auto; border-radius: 18px; }

.ml-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 18px;
    overflow: hidden;
}

.ml-table th {
    padding: 1.1rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.ml-table th:first-child {
    text-align: left;
    background: var(--surface-tint);
    color: var(--txt-3);
}

.ml-table th:nth-child(2) {
    background: var(--surface-tint-2);
    color: var(--txt-3);
}

.ml-table th.th-ours {
    background: rgba(59,130,246,0.1);
    color: var(--cyan);
    border-top: 2px solid rgba(6,182,212,0.6);
    font-size: 1rem;
}

.ml-table td {
    padding: 1rem 1.6rem;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}

.ml-table tr:hover td { background: var(--row-hover); }

.ml-table td:first-child {
    font-weight: 600;
    color: var(--txt-1);
    background: var(--surface-tint);
}

.ml-table td:nth-child(2) {
    text-align: center;
    color: var(--txt-3);
    background: var(--surface-tint);
}

.ml-table td.td-ours {
    text-align: center;
    font-weight: 600;
    color: var(--txt-1);
    background: rgba(59,130,246,0.04);
    border-left: 1px solid rgba(6,182,212,0.15);
    border-right: 1px solid rgba(6,182,212,0.15);
}

.ml-table tr:last-child td.td-ours {
    border-bottom: 2px solid rgba(6,182,212,0.5);
}

.ico-yes { color: var(--green); margin-right: 0.3rem; }
.ico-no  { color: var(--red);   margin-right: 0.3rem; }

/* ===== BENEFITS ===== */
.ml-benefits { background: var(--bg-secondary); }

.ml-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.ml-benefit {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2rem;
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: var(--shadow-card);
}

.ml-benefit.visible { opacity: 1; transform: translateY(0); }

.ml-benefit:hover {
    transform: translateY(-5px);
    border-color: rgba(6,182,212,0.3);
}

.ml-benefit-num {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    background: rgba(6,182,212,0.08);
    border: 1px solid rgba(6,182,212,0.25);
    border-radius: 11px;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.ml-benefit h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.ml-benefit p {
    font-size: 1rem;
    color: var(--txt-2);
    line-height: 1.75;
}

/* ===== TECH TRUST ===== */
.ml-trust { background: var(--bg-primary); padding: 4rem 2rem; }

.ml-trust-label {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--txt-3);
    margin-bottom: 2rem;
}

.ml-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    max-width: 960px;
    margin: 0 auto;
}

.ml-badge-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.55rem 1.3rem;
    font-size: 1rem;
    color: var(--txt-2);
    font-weight: 500;
    transition: all 0.2s;
    cursor: default;
}

.ml-badge-item:hover {
    border-color: rgba(6,182,212,0.4);
    color: var(--txt-1);
    background: rgba(6,182,212,0.06);
}

/* ===== ABOUT ===== */
.ml-about {
    background: var(--section-alt-bg);
    padding: 5.5rem 2rem;
}

.ml-about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.ml-about-text .ml-tag { margin-bottom: 0.9rem; }

.ml-about-text h2 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.28;
    margin-bottom: 1.5rem;
}

.ml-about-text p {
    color: var(--txt-2);
    font-size: 1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.ml-quote {
    background: rgba(6,182,212,0.07);
    border-left: 3px solid var(--cyan);
    border-radius: 0 12px 12px 0;
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
    color: var(--txt-1) !important;
    font-style: italic;
    font-size: 1.02rem !important;
    line-height: 1.7 !important;
}

.ml-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

.ml-stat {
    background: var(--surface-tint-2);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.8rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.ml-stat:hover {
    border-color: rgba(6,182,212,0.35);
    transform: translateY(-4px);
}

.ml-stat-val {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.ml-stat-lbl {
    display: block;
    font-size: 1rem;
    color: var(--txt-3);
    font-weight: 500;
}

/* ===== DOWNLOAD & PRICING ===== */
.ml-download-section { background: linear-gradient(160deg, rgba(139,92,246,.07) 0%, rgba(6,182,212,.07) 100%); }

.ml-pricing-card {
    max-width: 560px;
    margin: 0 auto 3rem;
    background: var(--surface);
    border: 1px solid rgba(139,92,246,.35);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 40px rgba(139,92,246,.12);
}
.ml-pricing-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--purple), var(--cyan));
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: .3rem .9rem;
    border-radius: 999px;
    margin-bottom: 1.4rem;
}
.ml-pricing-amount {
    font-size: 1.1rem;
    color: var(--txt-3);
    margin-bottom: .2rem;
}
.ml-pricing-amount span {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--txt-1);
    line-height: 1;
}
.ml-pricing-note { font-size: .9rem; color: var(--txt-3); margin-bottom: 1.8rem; }

.ml-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.ml-pricing-features li { font-size: .95rem; color: var(--txt-2); }
.ml-pricing-features li::first-letter { color: var(--cyan); }

.ml-pricing-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}
.ml-pricing-sub { font-size: .82rem; color: var(--txt-3); line-height: 1.6; }

.ml-sysreq {
    max-width: 640px;
    margin: 0 auto;
    background: var(--surface-tint);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.4rem 1.6rem;
}
.ml-sysreq-title { font-weight: 700; color: var(--txt-2); margin-bottom: .9rem; font-size: .95rem; }
.ml-sysreq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem .8rem;
    font-size: .88rem;
    color: var(--txt-3);
}
@media(max-width:520px) {
    .ml-sysreq-grid { grid-template-columns: 1fr; }
    .ml-pricing-actions { flex-direction: column; }
}

/* ===== FOOTER ===== */
.ml-footer {
    background: var(--footer-bg);
    padding: 3.5rem 2rem 2rem;
    border-top: 1px solid var(--border);
}

.ml-footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.ml-footer-logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
}

.ml-footer-desc {
    color: var(--txt-2);
    font-size: 1rem;
    line-height: 1.75;
}

.ml-footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--txt-2);
    margin-bottom: 1.1rem;
}

.ml-footer-links { display: flex; flex-direction: column; gap: 0.65rem; }

.ml-footer-links a {
    color: var(--txt-2);
    font-size: 1rem;
    transition: color 0.2s;
}

.ml-footer-links a:hover { color: var(--cyan); }

.ml-footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.ml-footer-copy { color: var(--txt-2); font-size: 1rem; }

.ml-footer-credit {
    color: var(--txt-2);
    font-size: 1rem;
    font-style: italic;
}

.ml-footer-credit strong { color: var(--cyan); font-style: normal; }

/* ===== CONTACT ===== */
.ml-contact { background: var(--bg-secondary); }

.ml-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.ml-contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.8rem 2rem;
    color: var(--txt-1);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ml-contact-card:hover {
    border-color: rgba(6,182,212,0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(6,182,212,0.1);
}

.ml-contact-icon { font-size: 1.8rem; flex-shrink: 0; }

.ml-contact-label {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    color: var(--cyan);
    margin-bottom: 0.3rem;
}

.ml-contact-value {
    font-size: 1rem;
    color: var(--txt-2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ml-about-inner { grid-template-columns: 1fr; gap: 3rem; }
    .ml-footer-top  { grid-template-columns: 1fr 1fr; }
    .ml-footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .ml-nav-links { display: none; }
    .ml-hero-btns { flex-direction: column; align-items: center; }
    .ml-btn-primary, .ml-btn-outline { width: 100%; max-width: 320px; justify-content: center; }
    .ml-footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .ml-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== THEME TOGGLE ===== */
.ml-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--surface-tint);
    border: 1px solid var(--nav-border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.ml-theme-toggle:hover {
    background: var(--surface-tint-2);
    border-color: var(--cyan);
    transform: scale(1.08);
}

/* Contact cards need a shadow in light mode */
html:not([data-theme="dark"]) .ml-contact-card {
    box-shadow: var(--shadow-card);
}
html:not([data-theme="dark"]) .ml-contact-card:hover {
    box-shadow: 0 12px 32px rgba(8,145,178,0.15);
}

/* ══════════════════════════════════════════════════════════════
   REVIEW FIXES — added 2026-06
   ══════════════════════════════════════════════════════════════ */

/* ── Skip-to-content link ──────────────────────────────────── */
.ml-skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: var(--cyan);
    color: #000;
    font-weight: 700;
    padding: .45rem 1rem;
    border-radius: 0 0 8px 8px;
    transition: top .15s;
    text-decoration: none;
    font-size: .95rem;
}
.ml-skip-link:focus { top: 0; }

/* ── Nav: right-side group (theme toggle + hamburger) ──────── */
.ml-nav-right {
    display: flex;
    align-items: center;
    gap: .5rem;
}

/* ── Hamburger button ──────────────────────────────────────── */
.ml-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.ml-hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: var(--txt-1);
    transition: transform .25s, opacity .25s;
}
.ml-nav.open .ml-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ml-nav.open .ml-hamburger span:nth-child(2) { opacity: 0; }
.ml-nav.open .ml-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .ml-hamburger { display: flex; }
    .ml-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: .75rem 0;
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,.15);
    }
    .ml-nav.open .ml-nav-links { display: flex; }
    .ml-nav-links li { width: 100%; }
    .ml-nav-links li a {
        display: block;
        padding: .65rem 1.5rem;
        font-size: 1rem;
        border-radius: 0;
        transition: background .15s, color .15s;
    }
    .ml-nav-links li a:hover { background: rgba(6,182,212,.08); color: var(--cyan); }
    .ml-nav-cta {
        margin: .5rem 1rem !important;
        text-align: center;
        border-radius: 8px !important;
    }
}

/* ── Breadcrumbs ───────────────────────────────────────────── */
.ml-breadcrumb {
    max-width: 960px;
    margin: 0 auto;
    padding: 5rem 1.5rem .25rem;
    font-size: .88rem;
    color: var(--txt-3);
}
.ml-breadcrumb a { color: var(--cyan); text-decoration: none; }
.ml-breadcrumb a:hover { text-decoration: underline; }
.ml-breadcrumb span { color: var(--txt-2); }

/* ── Back-to-top button ────────────────────────────────────── */
.ml-back-top {
    position: fixed;
    bottom: 5.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cyan);
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s, transform .25s;
    box-shadow: 0 4px 16px rgba(6,182,212,.4);
}
.ml-back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.ml-back-top:hover { background: var(--blue); }

/* ── WhatsApp floating button ──────────────────────────────── */
.ml-wa-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 901;
    opacity: 0;
    pointer-events: none;
    transform: scale(.85);
    transition: opacity .25s, transform .25s;
    box-shadow: 0 4px 20px rgba(37,211,102,.45);
    text-decoration: none;
}
.ml-wa-float.visible { opacity: 1; pointer-events: auto; transform: scale(1); }
.ml-wa-float:hover { background: #1ea952; transform: scale(1.07); }

/* ── SmartScreen note ──────────────────────────────────────── */
.ml-smartscreen-note {
    margin: .9rem 0 0;
    padding: .7rem 1rem;
    background: rgba(251,191,36,.08);
    border: 1px solid rgba(251,191,36,.3);
    border-radius: 8px;
    font-size: .88rem;
    color: var(--txt-2);
    line-height: 1.5;
}
.ml-smartscreen-note strong { color: var(--txt-1); }

/* ── Contact form ──────────────────────────────────────────── */
.ml-contact-form {
    max-width: 680px;
    margin: 2.5rem auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.ml-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ml-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ml-form-group { display: flex; flex-direction: column; gap: .4rem; }
.ml-form-group label { font-size: .88rem; font-weight: 600; color: var(--txt-2); }
.ml-form-group input,
.ml-form-group textarea {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .65rem .9rem;
    font-size: .97rem;
    font-family: 'Mukta', sans-serif;
    color: var(--txt-1);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}
.ml-form-group input:focus,
.ml-form-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6,182,212,.1);
}
.ml-optional { font-weight: 400; color: var(--txt-3); font-size: .82em; }
.ml-form-submit { align-self: flex-start; padding: .7rem 2rem; }
.ml-form-status { font-size: .92rem; border-radius: 8px; padding: .55rem .9rem; min-height: 0; }
.ml-form-status:empty { display: none; }
.ml-form-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.3); color: #16a34a; }
.ml-form-error   { background: rgba(239,68,68,.1);  border: 1px solid rgba(239,68,68,.3);  color: #dc2626; }
@media (max-width: 560px) {
    .ml-form-row { grid-template-columns: 1fr; }
    .ml-contact-form { padding: 1.5rem; }
}

/* ── Testimonials section ──────────────────────────────────── */
.ml-testimonials { background: var(--bg-secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ml-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1020px;
    margin: 0 auto;
}
.ml-testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.6rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.ml-testimonial-stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .05em; }
.ml-testimonial-quote {
    margin: 0;
    font-size: .96rem;
    color: var(--txt-2);
    line-height: 1.65;
    font-style: italic;
    flex: 1;
}
.ml-testimonial-quote::before { content: '\201C'; }
.ml-testimonial-quote::after  { content: '\201D'; }
.ml-testimonial-author { display: flex; flex-direction: column; gap: .15rem; }
.ml-testimonial-author strong { font-size: .92rem; color: var(--txt-1); }
.ml-testimonial-author span   { font-size: .82rem; color: var(--txt-3); }
@media (max-width: 780px) { .ml-testimonials-grid { grid-template-columns: 1fr; } }

/* ── Screenshots section ───────────────────────────────────── */
.ml-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1020px;
    margin: 0 auto;
}
.ml-screenshot-fig { margin: 0; }
.ml-screenshot-fig img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}
.ml-screenshot-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 2px dashed var(--border);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: var(--txt-3);
    font-size: .9rem;
    text-align: center;
}
.ml-screenshot-placeholder span { font-size: 2.5rem; }
.ml-screenshot-fig figcaption {
    margin-top: .65rem;
    font-size: .88rem;
    color: var(--txt-3);
    text-align: center;
}
@media (max-width: 780px) { .ml-screenshots-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .ml-screenshots-grid { grid-template-columns: 1fr; } }

/* ── Language switcher ─────────────────────────────────────────── */
[data-lang="mr"] .lang-en{display:none}
[data-lang="en"] .lang-mr{display:none}
.ml-lang-toggle{display:flex;align-items:center;justify-content:center;height:38px;padding:0 .7rem;background:var(--surface-tint);border:1px solid var(--nav-border);color:var(--txt-1);border-radius:10px;font-size:.78rem;font-weight:700;cursor:pointer;font-family:inherit;letter-spacing:.04em;transition:background .2s,border-color .2s,transform .15s;flex-shrink:0;line-height:1}
.ml-lang-toggle:hover{background:var(--surface-tint-2);border-color:var(--cyan);color:var(--cyan);transform:scale(1.08)}
