
:root {
    --background: #080d19;
    --surface: #111827;
    --primary: #6d5dfc;
    --accent: #a78bfa;
    --text: #f8fafc;
    --muted: #94a3b8;
    --border: #263247;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 7%;
    border-bottom: 1px solid var(--border);
    background: var(--background);
    gap: 20px;
}

.logo {
    font-size: 27px;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    transition: 0.2s;
}

.nav-links a:hover {
    color: white;
}

/* Buttons */

.button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 13px 25px;
    border-radius: 9px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    text-align: center;
}

.button:hover {
    background: #8476ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 25px #6d5dfc35;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary {
    background: transparent;
    border: 1px solid #475569;
}

.secondary:hover {
    background: #1e293b;
}

/* Hero Section */

.hero {
    text-align: center;
    padding: 120px 20px;
    background: radial-gradient(
        ellipse at top,
        #30205e 0%,
        #080d19 70%
    );
}

.tag {
    display: inline-block;
    color: #c4b5fd;
    background: #201a3e;
    border: 1px solid #443578;
    border-radius: 30px;
    padding: 8px 20px;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

h1 {
    font-size: clamp(44px, 7vw, 80px);
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

h1 span {
    background: linear-gradient(
        90deg,
        #c4b5fd,
        #818cf8
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    max-width: 650px;
    margin: auto;
    color: #a5b0c3;
    font-size: 19px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 35px 0 18px;
}

small {
    color: var(--muted);
    font-size: 13px;
}

/* General Sections */

section {
    padding: 80px 7%;
    text-align: center;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

section > p {
    color: var(--muted);
    margin-bottom: 40px;
}

/* Feature Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1200px;
    margin: auto;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    text-align: left;
    transition: 0.25s;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 10px 35px #00000030;
}

.card h3 {
    font-size: 21px;
    margin-bottom: 12px;
}

.card p {
    color: var(--muted);
}

.feature-icon {
    color: var(--accent);
    font-size: 32px;
    margin-bottom: 15px;
}

/* BloomMail Interactive Demo */

.demo-panel {
    max-width: 750px;
    margin: auto;
    padding: 30px;
    background: var(--surface);
    border: 1px solid #334155;
    border-radius: 18px;
    text-align: left;
    box-shadow: 0 0 60px #6d5dfc15;
}

.demo-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.demo-heading .feature-icon {
    margin: 0;
}

label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

textarea, select {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background: var(--background);
    color: white;
    border: 1px solid #334155;
    border-radius: 9px;
    font-family: inherit;
    font-size: 15px;
}

textarea:focus, select:focus {
    outline: 2px solid var(--accent);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.demo-panel button {
    width: 100%;
}

.demo-panel small {
    display: block;
    margin-top: 18px;
}

#result {
    background: var(--background);
    border: 1px solid #334155;
    border-radius: 9px;
    padding: 20px;
    margin: 20px 0;
    min-height: 100px;
    color: #cbd5e1;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* Pricing Section */

.price-card {
    display: flex;
    flex-direction: column;
    position: relative;
}

.price {
    font-size: 44px;
    font-weight: 800;
    margin: 10px 0 20px;
}

.price span {
    font-size: 15px;
    font-weight: normal;
    color: var(--muted);
}

.price-card ul {
    list-style: none;
    margin-bottom: 30px;
}

.price-card li {
    margin-bottom: 13px;
    color: #cbd5e1;
}

.price-card li::before {
    content: "✓ ";
    color: var(--accent);
}

.price-card .button {
    margin-top: auto;
}

.popular {
    border: 2px solid var(--accent);
    box-shadow: 0 0 30px #6d5dfc15;
}

.popular-label {
    font-size: 11px;
    color: #c4b5fd;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* Final Call to Action */

.final-cta {
    background: radial-gradient(
        ellipse at center,
        #251b50,
        #080d19 75%
    );
    padding: 90px 20px;
}

/* Footer */

footer {
    text-align: center;
    padding: 45px 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

footer p {
    margin: 12px 0;
}

/* Mobile Compatibility */

@media (max-width: 800px) {

    .cards {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    nav {
        padding: 18px 5%;
    }

    .hero {
        padding: 80px 20px;
    }

    section {
        padding: 50px 5%;
    }

    .demo-panel {
        padding: 20px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .logo {
        font-size: 23px;
    }

    nav .button {
        padding: 10px 15px;
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}
