:root {
    --primary: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --accent: #ec4899;
    --accent-glow: rgba(236, 72, 153, 0.35);
    --teal: #06b6d4;
    --bg-color: #0b0f19;
    --card-bg: #131b2e;
    --card-hover-bg: #1a243d;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --border-highlight: #334155;
    --gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f43f5e 100%);
    --gradient-voice: linear-gradient(90deg, #8b5cf6, #06b6d4, #ec4899);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Background ambient glow effect */
body::before {
    content: '';
    position: fixed;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, rgba(236, 72, 153, 0.1) 50%, transparent 80%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

/* Header */
header {
    background: rgba(11, 15, 25, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 15px var(--primary-glow);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.25s ease;
}

nav a:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
}

nav a.active {
    color: #fff;
    background: var(--gradient-brand);
    box-shadow: 0 4px 14px var(--primary-glow);
}

/* Main Container */
main {
    flex: 1;
    max-width: 860px;
    margin: 3rem auto;
    padding: 0 2rem;
    width: 100%;
}

/* Legal Content Container */
.content-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.4s ease-out forwards;
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: var(--gradient-voice);
    border-radius: 2px;
}

h1 {
    font-size: 2.3rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.75rem;
}

h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 50px;
    background: var(--gradient-brand);
    border-radius: 4px;
}

h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2.25rem 0 0.85rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

p {
    margin-bottom: 1.1rem;
    color: var(--text-muted);
    font-size: 1rem;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

li {
    margin-bottom: 0.6rem;
}

.highlight-box {
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 12px;
    padding: 1.25rem;
    margin: 1.5rem 0;
    color: #e2e8f0;
}

.content-link {
    color: #a78bfa;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.content-link:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Landing Page Grid & Cards */
.landing-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    color: #c4b5fd;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

.landing-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.landing-subtitle {
    font-size: 1.15rem;
    max-width: 620px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.landing-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-top: 1rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem 1.75rem;
    text-align: left;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.12);
    border-radius: 14px;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(139, 92, 246, 0.5);
    background: var(--card-hover-bg);
    box-shadow: 0 20px 35px -10px var(--primary-glow);
}

.card h2 {
    margin: 0 0 0.6rem 0;
    font-size: 1.25rem;
    color: var(--text-main);
}

.card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.card-arrow {
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: #a78bfa;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.2s ease;
}

.card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* Feature Showcase */
.app-features-grid {
    margin-top: 4rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
}

.feature-pill h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
    color: #e2e8f0;
}

.feature-pill p {
    font-size: 0.82rem;
    margin-bottom: 0;
}

/* Support Page Styles */
.contact-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.12));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 18px;
    padding: 2.25rem 2rem;
    text-align: center;
    margin: 2rem 0;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

.email-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--gradient-brand);
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px var(--primary-glow);
    margin: 1rem 0;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-glow);
    opacity: 0.95;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.35rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.response-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    background: rgba(11, 15, 25, 0.5);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 0.5rem;
}

footer a:hover {
    color: var(--text-main);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    main {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    .content-section {
        padding: 1.75rem;
    }
    .landing-title {
        font-size: 2.2rem;
    }
    .app-features-grid {
        grid-template-columns: 1fr;
    }
}
