/* ===== CSS VARIABLES – light theme, primary #ff1a75 ===== */
:root {
    --bg: #ffffff;
    --bg2: #fdf2f6;
    --bg3: #fce7ef;
    --surface: #fff5f8;
    --border: rgba(255, 26, 117, 0.13);
    --accent: #ff1a75;
    --accent-dk: #cc0057;
    --accent2: #ff6fab;
    --accent3: #7c3aed;
    --text: #1a1025;
    --muted: #7a6080;
    --radius: 18px;
    --radius-sm: 10px;
    --glow: 0 0 40px rgba(255, 26, 117, 0.14);
}

/* ===== RESET ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Shabnam', 'Tahoma', sans-serif;
    background: var(--bg);
    color: var(--text);
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== BACKGROUND DECORATION ===== */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(255, 26, 117, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 26, 117, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

.bg-glow-1 {
    position: fixed;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 26, 117, 0.07) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    pointer-events: none;
    z-index: 0;
    animation: driftA 18s ease-in-out infinite alternate;
}

.bg-glow-2 {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
    z-index: 0;
    animation: driftB 22s ease-in-out infinite alternate;
}

@keyframes driftA {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(-80px, 80px);
    }
}

@keyframes driftB {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(60px, -60px);
    }
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

section {
    padding: 100px 0;
}

/* ===== NAV ===== */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 20px rgba(255, 26, 117, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.logo-icon {
    margin-left: 5px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    font-size: 0.92rem;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--accent);
    transition: color .2s;
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    font-family: 'Shabnam', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.nav-cta:hover {
    background: var(--accent-dk);
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 26, 117, 0.07);
    border: 1px solid rgba(255, 26, 117, 0.22);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    margin-bottom: 24px;
    animation: fadeUp .6s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: .4;
        transform: scale(1.5);
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -1px;
    color: var(--text);
    animation: fadeUp .7s .1s ease both;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    margin-top: 20px;
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 480px;
    animation: fadeUp .7s .2s ease both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
    animation: fadeUp .7s .3s ease both;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dk));
    color: #fff;
    font-family: 'Shabnam', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    padding: 14px 30px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 20px rgba(255, 26, 117, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 26, 117, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    font-family: 'Shabnam', sans-serif;
    font-size: 1rem;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== HERO VISUAL ===== */
.hero-visual {
    position: relative;
    animation: fadeUp .8s .4s ease both;
}

.phone-mockup {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 20px;
    box-shadow: var(--glow), 0 30px 60px rgba(255, 26, 117, 0.08);
    position: relative;
    overflow: hidden;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
    justify-content: end;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent3));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.chat-header-info {
    text-align: right;
}

.chat-header-info strong {
    font-size: 0.95rem;
    display: block;
    color: var(--text);
}

.online-badge {
    font-size: 0.75rem;
    color: var(--accent);
}

.chat-msgs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.msg-in {
    background: var(--bg3);
    border: 1px solid var(--border);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: var(--text);
}

.msg-out {
    background: linear-gradient(135deg, rgba(255, 26, 117, 0.09), rgba(124, 58, 237, 0.06));
    border: 1px solid rgba(255, 26, 117, 0.18);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: var(--text);
}

.msg-time {
    font-size: 0.7rem;
    color: var(--muted);
    margin-top: 4px;
    text-align: left;
}

.msg-out .msg-time {
    text-align: right;
}

.lock-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.75rem;
    color: var(--accent);
    opacity: .75;
}

.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    font-size: 0.8rem;
    box-shadow: 0 8px 24px rgba(255, 26, 117, 0.10);
    color: var(--text);
    animation: floatY 4s ease-in-out infinite;
    z-index: 9;
}

.float-card-1 {
    top: 30px;
    right: -35px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 30px;
    left: -50px;
    animation-delay: 1.5s;
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-icon {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    gap: 5px;
    align-content: center;
    justify-content: center;
    background: rgba(255, 26, 117, 0.07);
    border: 1px solid rgba(255, 26, 117, 0.18);
    color: var(--accent);
    padding: 5px 16px;
    border-radius: 999px;
    font-size: 0.8rem;
    margin-bottom: 16px;
    align-items: center;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--text);
}

.section-header p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 560px;
    margin-inline: auto;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 26, 117, 0.04), transparent);
    opacity: 0;
    transition: opacity .3s;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 26, 117, 0.3);
    box-shadow: var(--glow);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    background: rgba(255, 107, 171, 0.11);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ===== SECURITY ===== */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.shield-graphic {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: var(--glow);
    position: relative;
    overflow: hidden;
}

.shield-graphic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 26, 117, 0.07), transparent 60%);
}

.shield-icon {
    font-size: 5rem;
    justify-content: center;
    display: flex;
    margin-bottom: 20px;
}

.security-list {
    list-style: none;
}

.security-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.security-list li:last-child {
    border-bottom: none;
}

.sec-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 26, 117, 0.09);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sec-text strong {
    display: block;
    font-size: 0.98rem;
    margin-bottom: 3px;
    color: var(--text);
}

.sec-text span {
    font-size: 0.84rem;
    color: var(--muted);
}

/* ===== XMPP / TECH ===== */
.xmpp-section {
    background: var(--bg2);
    border-radius: 28px;
    border: 1px solid var(--border);
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.xmpp-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
}

.xmpp-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.xmpp-inner h2 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
    color: var(--text);
}

.xmpp-inner p {
    color: var(--muted);
    font-size: 0.97rem;
    line-height: 1.9;
}

.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.chip {
    background: rgba(255, 26, 117, 0.07);
    border: 1px solid rgba(255, 26, 117, 0.18);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.server-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(255, 26, 117, 0.06);
}

.stat-num {
    font-size: 1.9rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--accent), var(--accent3));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 4px;
}

/* ===== CALLS ===== */
.calls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.call-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}

.call-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 26, 117, 0.3);
    box-shadow: var(--glow);
}

.call-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 26, 117, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.call-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.call-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.8;
}

/* ===== DOWNLOAD ===== */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.platform-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    position: relative;
}

.platform-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(255, 26, 117, 0.18);
}

.platform-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 12px;
}

.platform-name {
    font-family: 'Google Sans', serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.platform-sub {
    font-size: 0.75rem;
    color: var(--muted);
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dk));
    color: #fff;
    font-family: 'Shabnam', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 9px 18px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-top: 14px;
    transition: opacity .2s;
    width: 100%;
}

.dl-btn:hover {
    opacity: .85;
}

/* ===== REGISTER ===== */
.register-section {
    background: linear-gradient(135deg, rgba(255, 26, 117, 0.05), rgba(124, 58, 237, 0.04));
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.register-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 26, 117, 0.08), transparent 70%);
    pointer-events: none;
}

.register-section h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text);
}

.register-section p:not(.form-message) {
    color: var(--muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 32px;
}

.cs-banner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 26, 117, 0.07);
    border: 1px dashed rgba(255, 26, 117, 0.35);
    color: var(--accent);
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.invite-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 28px;
    font-size: 0.92rem;
    color: var(--muted);
    box-shadow: 0 2px 12px rgba(255, 26, 117, 0.07);
}

.invite-box span {
    display: flex;
}

/* Form card */
.register-form-card {
    max-width: 440px;
    margin: 0 auto 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 28px 28px;
    box-shadow: 0 8px 32px rgba(255, 26, 117, 0.08);
    position: relative;
    z-index: 1;
}

.register-form {
    text-align: right;
}

.register-form .form-group {
    margin-bottom: 20px;
}

.register-form .form-group:last-of-type {
    margin-bottom: 24px;
}

.register-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.register-form input[type="text"],
.register-form input[type="password"] {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid rgba(255, 26, 117, 0.18);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.register-form input::placeholder {
    color: #b8a0be;
}

.register-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 26, 117, 0.1);
}

.register-form input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--bg2);
}

.register-form .input-with-suffix {
    display: flex;
    align-items: stretch;
    direction: ltr;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1.5px solid rgba(255, 26, 117, 0.18);
    background: var(--bg);
    transition: border-color .2s, box-shadow .2s;
}

.register-form .input-with-suffix:focus-within {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 26, 117, 0.1);
}

.register-form .input-with-suffix input {
    flex: 1;
    min-width: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.register-form .input-with-suffix input:focus {
    box-shadow: none;
}

.register-form .input-suffix {
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: rgba(255, 26, 117, 0.06);
    border: none;
    border-left: 1.5px solid rgba(255, 26, 117, 0.12);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    font-family: 'Google Sans', 'Shabnam', sans-serif;
}

.register-form .form-hint {
    display: block;
    margin-top: 7px;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.5;
}

.register-form .register-submit {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent) 0%, #e0408a 50%, var(--accent3) 100%);
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 4px 18px rgba(255, 26, 117, 0.35);
    transition: opacity .2s, transform .15s, box-shadow .2s;
}

.register-form .register-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 26, 117, 0.45);
}

.register-form .register-submit:active:not(:disabled) {
    transform: translateY(0);
}

.register-form .register-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.register-form .form-message {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    line-height: 1.75;
    text-align: right;
}

.register-form .form-message--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #15803d;
}

.register-form .form-message--error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

.register-hint {
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.register-open-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    margin: 0 auto;
    margin-bottom: 28px;
    border: none;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent) 0%, #e0408a 50%, var(--accent3) 100%);
    color: #fff;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 26, 117, 0.35);
    transition: transform .15s, box-shadow .2s, opacity .2s;
    position: relative;
    z-index: 1;
}

.register-open-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 26, 117, 0.45);
}

.register-open-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    background: var(--muted);
}

/* Modal */
body.register-modal-open {
    overflow: hidden;
}

.register-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.register-modal[hidden] {
    display: none;
}

.register-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 16, 37, 0.55);
    backdrop-filter: blur(4px);
}

.register-modal-dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 60px rgba(255, 26, 117, 0.2);
    animation: modalIn .25s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.register-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--bg2);
    color: var(--muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s;
}

.register-modal-close:hover {
    background: rgba(255, 26, 117, 0.1);
    color: var(--accent);
}

.register-modal-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text);
    text-align: center;
    margin-bottom: 8px;
    padding-top: 4px;
}

.register-modal-desc {
    font-size: 0.88rem;
    color: var(--muted);
    text-align: center;
    margin-bottom: 20px;
}

.register-form-card--modal {
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ===== FOOTER ===== */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    background: var(--bg);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text {
    font-size: 0.82rem;
    color: var(--muted);
}

.footer-text a {
    font-family: 'Google Sans', serif;
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--muted);
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .hero-grid, .security-grid, .xmpp-inner {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .calls-grid {
        grid-template-columns: 1fr;
    }

    .float-card {
        display: none;
    }

    .xmpp-section {
        padding: 36px 24px;
    }

    .register-section {
        padding: 40px 20px;
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 64px 0;
    }
}