/* styles.css */

/* ─── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary:     #6c63ff;
    --primary-dark:#5549e0;
    --accent:      #ff6584;
    --bg:          #0f0f1a;
    --bg-card:     #1a1a2e;
    --text:        #e8e8f0;
    --text-muted:  #9090b0;
    --border:      rgba(255,255,255,0.08);
    --radius:      14px;
    --transition:  0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
}

/* ─── Utilities ────────────────────────────────────────── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary);
    border: 1px solid rgba(108, 99, 255, 0.3);
    border-radius: 50px;
    padding: 4px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

/* ─── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.4);
}

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

.btn-white {
    background: #fff;
    color: var(--primary);
}
.btn-white:hover {
    background: #f0f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ─── Navbar ───────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

/* ─── Hero ─────────────────────────────────────────────── */
.hero {
    padding: 100px 0 60px;
    text-align: center;
}

.hero-content {
    max-width: 760px;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 36px;
}

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

.hero-image-wrapper {
    margin-top: 64px;
}

.hero-image-placeholder,
.image-placeholder {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-image-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--bg-card), #16213e);
}

/* ─── Features ─────────────────────────────────────────── */
.features {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.15);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ─── About ────────────────────────────────────────────── */
.about {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-text .btn { margin-top: 8px; }

.image-placeholder {
    height: 340px;
    border-radius: var(--radius);
}

/* ─── CTA ──────────────────────────────────────────────── */
.cta {
    margin: 60px 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #a78bfa);
    padding: 80px 24px;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* ─── Footer ───────────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.9rem;
    max-width: 260px;
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-contact p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
