/* --- Variables & Reset --- */
:root {
    --bg-dark: #0f1014;
    --primary: #5865f2;
    --primary-hover: #4752c4;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --card-radius: 16px;
    --font-main: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Mesh Gradient Effect */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(88, 101, 242, 0.15), transparent 60%);
    z-index: -1;
    pointer-events: none;
}

/* --- Layout Utility --- */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    /* Extra padding top to account for your fixed global header */
    padding-top: 100px;
}

h1,
h2,
h3 {
    margin-top: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #a0aaff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh;
    padding-bottom: 60px;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.badge {
    background: rgba(88, 101, 242, 0.2);
    color: #8ea0ff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--glass-bg);
}

/* Hero Visual (Browser Mockup) */
.hero-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.browser-mockup {
    width: 100%;
    max-width: 450px;
    background: #1e1f24;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.browser-header {
    background: #2b2d31;
    padding: 12px;
    display: flex;
    gap: 8px;
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.browser-body {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #f1f1f1;
    /* Light mode simulation for the 'error' */
    color: #333;
    min-height: 200px;
}

.error-preview i {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #333;
}

.mock-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 15px;
    font-size: 0.8rem;
}

/* --- Features Section --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--card-radius);
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(88, 101, 242, 0.3);
    transform: translateY(-5px);
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(88, 101, 242, 0.1);
    color: #8ea0ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* --- Steps Section --- */
.steps-section {
    margin: 100px 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    align-items: flex-start;
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* --- Disclaimer --- */
.disclaimer-section {
    margin-top: 80px;
    border-left: 4px solid #ffbd2e;
}

.disclaimer-section h3 {
    color: #ffbd2e;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* --- Privacy Policy Section --- */
.privacy-section {
    margin: 100px 0;
}

.privacy-section .section-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.privacy-section .section-header h2 i {
    color: #27c93f;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.privacy-card {
    text-align: center;
}

.privacy-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.privacy-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.privacy-icon {
    width: 60px;
    height: 60px;
    background: rgba(39, 201, 63, 0.1);
    color: #27c93f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.privacy-summary {
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid #27c93f;
}

.privacy-summary h3 {
    color: #27c93f;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.privacy-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.privacy-list li i {
    color: #27c93f;
    font-size: 0.85rem;
}

.privacy-footer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
}

.privacy-footer a {
    color: #27c93f;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.privacy-footer a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 60px;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .cta-group {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
}