/*
    Styles for the "simple" landing page (resources/views/landing/simple.blade.php).

    Standalone. Nothing here is shared with app-custom.css or pdf.css, and the page
    loads neither — so no descendant selector from those files can reach in here, and
    nothing here can leak into the admin.

    Light, plain, no motion: a white ground with sections alternating against a faint
    tint, one indigo accent, and bordered cards with a soft shadow. Deliberately quiet
    — it is the alternative to landing-fancy.css, not a variation of it.

    The class names match landing-fancy.css exactly, because both files style the same
    shared partials under resources/views/landing/partials. Renaming a class here
    means renaming it there.
*/

:root {
    --ink: #0f172a;
    --ink-2: #334155;
    --muted: #64748b;
    --line: #e2e8f0;
    --surface: #ffffff;
    --tint: #f8fafc;
    --accent: #4f46e5;
    --accent-soft: #eef2ff;

    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-lift: 0 4px 8px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.1);
    --shell: 1180px;

    /* The rate palette. One list, cycled by position in the shared partial. */
    --card-0: #059669;
    --card-1: #0284c7;
    --card-2: #6d28d9;
    --card-3: #dc2626;
    --card-4: #d97706;
    --card-5: #db2777;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink-2);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    /* Belt and braces against a wide child: the page itself never scrolls sideways. */
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* The shared partials carry the fancy layout's scroll-reveal classes. There is no
   JavaScript on this page to switch them on, so they must start visible — otherwise
   the whole page would render at opacity 0. */
.sr {
    opacity: 1;
    transform: none;
}

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 76px 0;
    border-top: 1px solid var(--line);
}

.section--tint {
    background: var(--tint);
}

.hero-section {
    border-top: 0;
    padding-top: 60px;
}

.section-head {
    margin-bottom: 34px;
}

.sec-label {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.sec-h {
    margin: 0;
    color: var(--ink);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.quiet {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* ── header ──────────────────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    flex-wrap: wrap;
}

.brand img {
    display: block;
    max-height: 38px;
    width: auto;
}

.brand-text {
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Outlined by default, taking the platform's colour only on hover: six saturated
   blocks in the header would out-shout the accent button beside them. */
.social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--muted);
    font-size: 18px;
    text-decoration: none;
    transition: color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.social:hover {
    transform: translateY(-1px);
    border-color: currentColor;
}

.social--facebook:hover { color: #1877f2; }
.social--instagram:hover { color: #dc2743; }
.social--youtube:hover { color: #ff0000; }
.social--whatsapp:hover { color: #25d366; }
.social--x:hover { color: #0f172a; }
.social--linkedin:hover { color: #0a66c2; }

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.38);
    color: #fff;
}

/* ── announcement ────────────────────────────────────────────────────────── */

.ribbon {
    background: var(--accent);
    color: #fff;
}

.ribbon-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
}

.ribbon i {
    flex: none;
    font-size: 19px;
    opacity: 0.9;
}

/* ── hero ────────────────────────────────────────────────────────────────── */

.hero-h1 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-p {
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 17px;
}

.hero-p b {
    color: var(--ink-2);
    font-weight: 600;
}

/* ── rate cards ──────────────────────────────────────────────────────────── */

.rates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

/* A plain bordered card, the figure carrying the colour and the label quiet
   underneath. The coloured rail across the top is the only fill. */
.rate {
    position: relative;
    overflow: hidden;
    padding: 26px 24px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    /* min-width:0 lets a long number shrink instead of widening the grid track. */
    min-width: 0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.rate:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.rate::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--rate-colour);
}

.rate--0 { --rate-colour: var(--card-0); }
.rate--1 { --rate-colour: var(--card-1); }
.rate--2 { --rate-colour: var(--card-2); }
.rate--3 { --rate-colour: var(--card-3); }
.rate--4 { --rate-colour: var(--card-4); }
.rate--5 { --rate-colour: var(--card-5); }

.rate-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-radius: var(--radius-sm);
    background: var(--rate-colour);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.rate-value {
    margin: 0 0 4px;
    color: var(--rate-colour);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.rate-note {
    margin-left: 3px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    opacity: 0.75;
}

.rate-label {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* ── bank / QR panels ────────────────────────────────────────────────────── */

.panels {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 22px;
    align-items: start;
}

/* One panel left standing takes the whole width rather than half of it. */
.panels--single {
    grid-template-columns: 1fr;
}

.panel {
    padding: 26px 28px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.panel h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.panel h3 i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 18px;
}

.bank {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 11px 22px;
    margin: 0;
    font-size: 15px;
}

.bank dt {
    align-self: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bank dd {
    margin: 0;
    color: var(--ink);
    font-weight: 600;
    /* Account numbers and UPI ids are long and unbreakable; let them wrap rather
       than push the panel past the page. */
    word-break: break-word;
}

.panel--qr {
    text-align: center;
}

.panel--qr h3 {
    justify-content: center;
}

.panel--qr img {
    width: 230px;
    max-width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
}

.panel--qr .quiet {
    margin-top: 14px;
    font-size: 13.5px;
}

/* ── touch to call ───────────────────────────────────────────────────────── */

.call-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
}

.call-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    color: var(--ink);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.call-btn:hover {
    transform: translateY(-3px);
    border-color: var(--call-colour);
    box-shadow: var(--shadow-lift);
}

.call-btn--0 { --call-colour: var(--card-1); }
.call-btn--1 { --call-colour: var(--card-3); }
.call-btn--2 { --call-colour: var(--card-0); }

.call-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: none;
    border-radius: 50%;
    background: var(--call-colour);
    color: #fff;
    font-size: 20px;
}

.call-number {
    min-width: 0;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -0.01em;
    word-break: break-word;
}

/* ── footer ──────────────────────────────────────────────────────────────── */

.site-footer {
    background: var(--ink);
    color: #94a3b8;
    font-size: 14.5px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-inner p {
    margin: 0;
}

.footer-name {
    color: #e2e8f0;
    font-weight: 600;
}

.address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    max-width: 560px;
    text-align: right;
}

.address i {
    flex: none;
    color: #818cf8;
    line-height: 1.6;
}

/* ── narrow screens ──────────────────────────────────────────────────────── */

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

    .section {
        padding: 56px 0;
    }

    .hero-h1 {
        font-size: 34px;
    }

    .sec-h {
        font-size: 26px;
    }
}

@media (max-width: 560px) {
    .shell {
        padding: 0 16px;
    }

    .header-inner {
        justify-content: center;
        gap: 12px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header-right {
        width: 100%;
        justify-content: center;
    }

    .hero-h1 {
        font-size: 29px;
    }

    .rate-value {
        font-size: 29px;
    }

    .call-number {
        font-size: 19px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
    }

    .address {
        justify-content: center;
        text-align: center;
    }
}
