@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-color: #000000;
    --surface-color: #141110;
    --coral: #FF9B7A;
    --coral-dim: rgba(255, 155, 122, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Background Ambient Glows */
body::before, body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--coral);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
}

body::before {
    top: -100px;
    left: -100px;
}

body::after {
    bottom: -100px;
    right: -100px;
}

/* Typography */
h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--coral);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Layout */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.landing-container {
    max-width: 1200px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding: 2rem;
}

/* Glassmorphism Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--coral);
    color: #000;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 155, 122, 0.2);
    color: #000;
}

.btn-outline {
    background: transparent;
    color: var(--coral);
    border: 1px solid var(--coral);
    margin-left: 1rem;
}

.btn-outline:hover {
    background: var(--coral-dim);
    color: var(--coral);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

/* Markdown specific styling for policies */
.policy-content ul, .policy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content strong {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .glass-card { padding: 2rem; }
    .features-grid { grid-template-columns: 1fr; }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
    width: 100%;
}

.feature-card {
    padding: 2rem;
    margin-top: 0;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--coral);
}

.feature-card h3 {
    margin-top: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-link {
    margin-top: auto;
    font-weight: 500;
    display: inline-block;
    color: var(--coral);
    transition: transform 0.3s ease, color 0.3s ease;
}

.feature-link:hover {
    color: #fff;
    transform: translateX(5px);
}
