/* ── Sending Landing Page ──
   Catppuccin Mocha palette to match the desktop & web client UI.
   --crust:    #11111b   --mantle:   #181825   --base:     #1e1e2e
   --surface0: #313244   --surface1: #45475a   --overlay0: #585b70
   --subtext0: #a6adc8   --text:     #cdd6f4   --blue:     #89b4fa
   --green:    #a6e3a1   --red:      #f38ba8   --muted:    #6c7086
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background: #1e1e2e;
    color: #cdd6f4;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: #89b4fa;
    text-decoration: none;
}

a:hover {
    color: #b4d0fb;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ── */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(17, 17, 27, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #313244;
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #cdd6f4;
}

.nav-brand:hover {
    color: #cdd6f4;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #a6adc8;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: #cdd6f4;
}

.nav-links a.btn-primary {
    color: #1e1e2e;
}

.nav-links a.btn-primary:hover {
    color: #1e1e2e;
}

/* ── Buttons ── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s;
    text-decoration: none;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: #89b4fa;
    color: #1e1e2e;
}

.btn-primary:hover {
    background: #a8c8fb;
    color: #1e1e2e;
}

.btn-secondary {
    background: #313244;
    color: #cdd6f4;
}

.btn-secondary:hover {
    background: #45475a;
    color: #cdd6f4;
}

.btn-sm {
    font-size: 0.85rem;
    padding: 8px 16px;
}

.btn-lg {
    font-size: 1rem;
    padding: 14px 28px;
}

/* ── Hero ── */

.hero {
    padding: 160px 0 100px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(137, 180, 250, 0.08) 0%, transparent 60%);
}

.hero h1 {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.text-accent {
    color: #89b4fa;
}

.hero-sub {
    font-size: 1.2rem;
    color: #a6adc8;
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Features ── */

.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: #181825;
    border: 1px solid #313244;
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.15s;
}

.feature-card:hover {
    border-color: #45475a;
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.9rem;
    color: #a6adc8;
    line-height: 1.6;
}

/* ── Download ── */

.download {
    padding: 80px 0 100px;
}

.download h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.download-sub {
    text-align: center;
    color: #a6adc8;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 720px;
    margin: 0 auto 40px;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #181825;
    border: 1px solid #313244;
    border-radius: 12px;
    padding: 28px 20px;
    transition: border-color 0.2s, transform 0.15s;
    color: #cdd6f4;
}

.download-card:hover {
    border-color: #89b4fa;
    transform: translateY(-2px);
    color: #cdd6f4;
}

.download-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.download-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.download-card p {
    font-size: 0.8rem;
    color: #6c7086;
    margin-bottom: 14px;
}

.download-web {
    text-align: center;
}

.download-web p {
    color: #a6adc8;
    margin-bottom: 14px;
}

/* ── Footer ── */

.footer {
    border-top: 1px solid #313244;
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    font-weight: 600;
    color: #6c7086;
    font-size: 0.9rem;
}

.footer-copy {
    color: #6c7086;
    font-size: 0.85rem;
}

/* ── Responsive ── */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-sub {
        font-size: 1.05rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .nav-links {
        gap: 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
    }
}
