/* ==========================================================================
   OfficialTranslation.lk — Contemporary Home & Verification Styling
   ========================================================================== */

:root {
    --bg-primary: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-subtle: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    --brand-primary: #0f4c81;
    --brand-accent: #2563eb;
    --brand-dark: #0a0f1d;
    --brand-green: #059669;
    --brand-green-light: #ecfdf5;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 30px 60px -15px rgba(15, 23, 42, 0.18);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-subtle);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 3rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    color: var(--text-main);
    white-space: nowrap;
}

.brand-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    transition: var(--transition);
}

.brand-icon-c {
    stroke: var(--brand-primary, #0f4c81);
}

.brand-icon-check {
    stroke: var(--brand-accent, #2563eb);
}

.brand:hover .brand-icon {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    white-space: nowrap;
}

.brand-title {
    display: inline-block;
    white-space: nowrap;
    word-break: keep-all;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main, #0f172a);
    line-height: 1.15;
}

.brand-title .lk {
    color: var(--brand-accent, #2563eb);
    display: inline;
}

.brand-subtitle {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #475569;
    text-transform: uppercase;
    margin-top: 4px;
    white-space: nowrap;
}

/* Mobile Nav Toggle & Drawer (Hidden on Desktop) */
.mobile-menu-btn {
    display: none;
}

.mobile-nav-overlay {
    display: none;
}

.mobile-nav-menu {
    display: none;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav a {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.4rem 0;
}

nav a:hover,
nav a.active {
    color: var(--text-main);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--brand-accent);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-portal-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(15, 76, 129, 0.08);
    padding: 0.55rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(15, 76, 129, 0.15);
}

.nav-portal-link:hover {
    background: rgba(15, 76, 129, 0.14);
    color: #0c365d;
}

.navbutton {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-dark);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(10, 15, 29, 0.15);
}

.navbutton:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(10, 15, 29, 0.22);
}

.navbutton span, .button span {
    font-size: 1.05em;
    transition: transform 0.2s ease;
}

.navbutton:hover span, .button:hover span {
    transform: translate(2px, -2px);
}

/* ==========================================================================
   HERO & INTRO LAYOUT
   ========================================================================== */

main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 2rem 5rem;
}

.intro-layout {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0 2rem;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brand-accent);
    text-transform: uppercase;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.eyebrow span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-accent);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: italic;
    font-weight: 700;
    color: var(--brand-primary);
}

.hero-copy p {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--brand-dark);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.9rem 1.85rem;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(10, 15, 29, 0.18);
}

.button:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 15, 29, 0.25);
}

.button.secondary {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.micro {
    font-size: 0.88rem;
    color: var(--text-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   HERO VISUAL / DOCUMENT MOCKUP
   ========================================================================== */

.visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.orbit1 {
    width: 380px;
    height: 380px;
    border: 1.5px dashed rgba(37, 99, 235, 0.18);
    animation: rotateOrbit 40s linear infinite;
}

.orbit2 {
    width: 480px;
    height: 480px;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

@keyframes rotateOrbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.paper {
    position: relative;
    z-index: 2;
    width: 320px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem 1.75rem;
    box-shadow: var(--shadow-xl);
    transform: rotate(-2deg);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.paper:hover {
    transform: rotate(0deg) scale(1.02);
}

.paper-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.mini-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #0a192f;
    color: #10b981;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
}

.paper-head span:nth-child(2) {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-main);
    text-align: center;
    line-height: 1.25;
}

.paper-head small {
    color: var(--text-subtle);
    font-size: 0.55rem;
}

.doc-icon {
    font-size: 0.9rem;
    color: var(--text-subtle);
}

.paper-rule {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 1.25rem;
}

.doc-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-align: center;
    margin-bottom: 1.25rem;
}

.lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.75rem;
}

.lines i {
    display: block;
    height: 6px;
    background: #f1f5f9;
    border-radius: 4px;
}

.lines i:nth-child(1) { width: 95%; }
.lines i:nth-child(2) { width: 88%; }
.lines i:nth-child(3) { width: 92%; }
.lines i:nth-child(4) { width: 75%; }
.lines i:nth-child(5) { width: 60%; }

.doc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
    margin-bottom: 1rem;
}

.seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 2px dashed #93c5fd;
    background: #f0f7ff;
    color: #1d4ed8;
    font-size: 0.55rem;
    font-weight: 800;
    text-align: center;
    line-height: 1.15;
    letter-spacing: 0.05em;
}

.qr {
    width: 58px;
    height: 58px;
    border: 2px solid var(--text-main);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--text-main);
    background: #f8fafc;
}

.paper-foot {
    font-size: 0.68rem;
    color: var(--text-subtle);
    text-align: center;
    font-style: italic;
}

.record {
    position: absolute;
    bottom: 0px;
    right: -10px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.record .check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--brand-green-light);
    color: var(--brand-green);
    font-weight: 800;
    font-size: 1rem;
}

.record div {
    display: flex;
    flex-direction: column;
}

.record strong {
    font-size: 0.88rem;
    color: var(--text-main);
}

.record small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.record span:last-child {
    color: var(--brand-accent);
    font-size: 0.95rem;
}

.visual-label {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 3;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    background: #ffffff;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   VERIFICATION SECTION
   ========================================================================== */

.verification {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-md);
    scroll-margin-top: 6rem;
}

.verification h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}

.verification > div:first-child p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.note {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8fafc;
    border-left: 3px solid var(--brand-accent);
    padding: 1.2rem;
    border-radius: var(--radius-sm);
}

.note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--brand-accent);
    color: #ffffff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.note p {
    font-size: 0.88rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
    line-height: 1.55 !important;
}

.verifybox {
    background: #0a0f1d;
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
}

.box-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #60a5fa;
    text-transform: uppercase;
}

.verifybox h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.qr-location {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.qr-location strong {
    display: block;
    font-size: 0.95rem;
    color: #f1f5f9;
    margin-bottom: 0.25rem;
}

.qr-location p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
}

.connection {
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.connection strong {
    display: block;
    font-size: 0.92rem;
    color: #93c5fd;
    margin-bottom: 0.35rem;
}

.connection p {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.manual-lookup {
    margin-top: 0.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.manual-lookup-title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #e2e8f0;
    margin-bottom: 0.65rem;
}

.lookup-form {
    display: flex;
    gap: 8px;
}

.lookup-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: #ffffff;
    padding: 0.65rem 0.9rem;
    font-size: 0.88rem;
    outline: none;
    transition: var(--transition);
}

.lookup-input:focus {
    border-color: #3b82f6;
    background: rgba(255, 255, 255, 0.12);
}

.lookup-btn {
    background: var(--brand-accent);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.1rem;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: var(--transition);
}

.lookup-btn:hover {
    background: #1d4ed8;
}

/* ==========================================================================
   AUDIENCE TICKER / BANNER
   ========================================================================== */

.audience {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    margin: 3.5rem 0;
}

.audience span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-subtle);
}

.audience p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

.audience b {
    color: var(--text-subtle);
    font-size: 1.2rem;
}

/* ==========================================================================
   RECORD DETAILS SECTION
   ========================================================================== */

.record-details {
    padding: 3rem 0;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
    margin-bottom: 3rem;
}

.section-top h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.section-top > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 440px;
}

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

.detail-grid article {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: var(--transition);
}

.detail-grid article:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.detail-grid article span {
    display: block;
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-accent);
    margin-bottom: 1.25rem;
}

.detail-grid article h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.detail-grid article p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.reference-note {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}

.reference-note h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.4rem;
}

.reference-note p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.status-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.status-guide > div {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
}

.status-guide strong {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.valid {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-dot.invalid {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.status-guide p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   COPY REQUEST SECTION
   ========================================================================== */

.copy-request {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, #0b1528 0%, #172554 100%);
    color: #ffffff;
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
}

.copy-request .eyebrow {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #93c5fd;
}

.copy-request .eyebrow span {
    background: #60a5fa;
}

.copy-request h2 {
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.copy-request p {
    font-size: 1.02rem;
    color: #cbd5e1;
    line-height: 1.65;
}

.copy-request a {
    color: #93c5fd;
    text-decoration: underline;
    font-weight: 600;
}

.copy-request a:hover {
    color: #ffffff;
}

.copy-request > div:last-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
}

.copy-request h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.85rem;
}

.copy-note {
    font-size: 0.88rem !important;
    color: #94a3b8 !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
}

/* ==========================================================================
   STEPS SECTION (#how)
   ========================================================================== */

.steps {
    padding: 4rem 0 2rem;
    scroll-margin-top: 6rem;
}

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

.stepgrid article {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    transition: var(--transition);
}

.stepgrid article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.stepgrid article span {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brand-accent);
    background: #eff6ff;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.stepgrid article h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.stepgrid article p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   PARTNER BANNER
   ========================================================================== */

.partner-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    margin: 3.5rem 0;
    box-shadow: var(--shadow-sm);
}

.partner-banner h2 {
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.partner-banner p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
}

.button.light {
    background: #0f172a;
    color: #ffffff;
    flex-shrink: 0;
}

.button.light:hover {
    background: #1e293b;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
    padding: 4rem 0;
}

.faq h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.faq > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

details {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

details[open] {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

summary {
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

details[open] summary::after {
    content: '−';
    color: var(--brand-accent);
}

details p {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   CONTACT SECTION (#contact)
   ========================================================================== */

.contact-section {
    padding: 4rem 0 2rem;
    scroll-margin-top: 6rem;
}

.contact-intro {
    margin-bottom: 2.5rem;
}

.contact-intro h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.contact-intro p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.contact-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.contact-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-accent);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.contact-item a[href^="mailto"],
.contact-item a[href^="tel"] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-item a:hover {
    color: var(--brand-accent);
}

.contact-item p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-item address {
    font-style: normal;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.6;
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    margin-top: 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.whatsapp-link:hover {
    background: #20ba59;
    transform: translateY(-1px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

footer .brand {
    font-size: 1.15rem;
}

footer p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

footer a[href*="partners"],
footer a.admin-portal-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

footer a:hover {
    color: var(--brand-accent);
}

footer small {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-subtle);
    border-top: 1px solid var(--border-light);
    padding-top: 1.5rem;
}

/* ==========================================================================
   PARTNER PAGE STYLING
   ========================================================================== */

.partner-hero {
    padding: 4rem 0 2.5rem;
    max-width: 860px;
}

.partner-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.partner-hero h1 em {
    font-style: italic;
    color: var(--brand-primary);
}

.partner-hero p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.partner-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: start;
    padding: 2.5rem 0 3.5rem;
}

.partner-content > div:first-child h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.partner-content article {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.partner-content article:hover {
    border-color: #cbd5e1;
    box-shadow: var(--shadow-sm);
}

.partner-content article h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.65rem;
}

.partner-content article p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.partner-checklist {
    background: #f8fafc !important;
    border-left: 3px solid var(--brand-accent) !important;
}

.partner-checklist ul {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.partner-checklist li {
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.partner-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-green);
    font-weight: 800;
}

.partner-note {
    font-size: 0.88rem;
    color: var(--text-subtle);
    line-height: 1.6;
    margin-top: 1rem;
}

/* Partner Enquiry Form */
.inquiry {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 2.75rem 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.inquiry h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    scroll-margin-top: 6rem;
}

.inquiry > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.inquiry label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.45rem;
    margin-top: 1.15rem;
}

.inquiry label:first-of-type {
    margin-top: 0;
}

.inquiry input,
.inquiry textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text-main);
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.inquiry input:focus,
.inquiry textarea:focus {
    background: #ffffff;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.inquiry textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.inquiry button[type="submit"] {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.enquiry-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.enquiry-alert.success {
    background: var(--brand-green-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.enquiry-alert.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

#enquiry-result {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
}

#enquiry-result h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#enquiry-draft {
    background: #f1f5f9;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-main);
    white-space: pre-wrap;
    word-break: break-word;
    margin-bottom: 0.75rem;
    font-family: monospace;
}

#enquiry-result p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.partner-contact {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow-sm);
}

.partner-contact span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--brand-accent);
    margin-bottom: 0.75rem;
}

.partner-contact h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.partner-contact p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.partner-contact a {
    color: var(--brand-accent);
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */

@media (max-width: 1024px) {
    header {
        padding: 1rem 1.5rem;
    }
    nav {
        gap: 1.25rem;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-copy {
        align-items: center;
    }
    .hero-copy p {
        max-width: 100%;
    }
    .hero-actions {
        justify-content: center;
    }
    .verification {
        grid-template-columns: 1fr;
        padding: 2.5rem;
        gap: 2.5rem;
    }
    .partner-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stepgrid {
        grid-template-columns: 1fr;
    }
    .copy-request {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }
    .faq {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .contact-list {
        grid-template-columns: 1fr;
    }
    .partner-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.85rem 1.25rem;
    }
    header .desktop-nav,
    header .desktop-actions,
    header nav {
        display: none !important;
    }
    .brand {
        gap: 10px;
        white-space: nowrap;
    }
    .brand-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    .brand-title {
        font-size: clamp(0.95rem, 4.4vw, 1.2rem);
        white-space: nowrap;
    }
    .brand-subtitle {
        font-size: clamp(0.48rem, 2vw, 0.58rem);
        letter-spacing: 0.12em;
        white-space: nowrap;
        margin-top: 3px;
    }

    /* Mobile Hamburger Button */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        cursor: pointer;
        padding: 0;
        box-shadow: var(--shadow-sm);
        z-index: 101;
        transition: var(--transition);
    }
    .mobile-menu-btn:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
    }
    .mobile-menu-btn .hamburger-bar {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--text-main);
        border-radius: 2px;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }
    .mobile-menu-btn.active .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Nav Overlay & Drawer */
    .mobile-nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .mobile-nav-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(300px, 84vw);
        background: #ffffff;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 35px rgba(15, 23, 42, 0.15);
        overflow-y: auto;
    }
    .mobile-nav-menu.open {
        transform: translateX(0);
    }

    .mobile-nav-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.25rem 1.5rem;
        border-bottom: 1px solid var(--border-light);
    }
    .mobile-nav-title {
        font-size: 0.85rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-muted);
    }
    .close-mobile-nav {
        background: none;
        border: none;
        font-size: 1.75rem;
        line-height: 1;
        color: var(--text-muted);
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    .close-mobile-nav:hover {
        color: var(--text-main);
    }

    .mobile-nav-links {
        padding: 1.25rem 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
        flex: 1;
    }
    .mobile-nav-link {
        display: block;
        padding: 0.85rem 1rem;
        border-radius: var(--radius-sm);
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-main);
        transition: var(--transition);
    }
    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        background: #eff6ff;
        color: var(--brand-accent);
    }

    .mobile-nav-footer {
        padding: 1.25rem;
        border-top: 1px solid var(--border-light);
    }
    .mobile-verify-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--brand-dark);
        color: #ffffff;
        font-weight: 700;
        font-size: 0.95rem;
        padding: 0.85rem;
        border-radius: var(--radius-full);
        box-shadow: 0 4px 12px rgba(10, 15, 29, 0.15);
    }
    .mobile-verify-btn:hover {
        background: #1e293b;
    }
    main {
        padding: 1.5rem 1rem 3rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .paper {
        width: 290px;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .status-guide {
        grid-template-columns: 1fr;
    }
    .audience {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: var(--radius-lg);
        text-align: center;
    }
    .audience b {
        display: none;
    }
    .inquiry {
        padding: 2rem 1.5rem;
    }
    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

