:root {
    --background: rgba(14, 18, 27, 1);
    --surface: rgba(22, 27, 39, 1);
    --primary: rgba(120, 90, 242, 1);
    --text-main: rgba(231, 233, 239, 1);
    --text-muted: rgba(135, 144, 161, 1);
    --success: rgba(38, 197, 123, 1);
    --border: rgba(36, 41, 56, 1);
}

/* Reset */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    line-height: 1.6;
}

h1,
h2,
h3,
.logo {
    font-family: 'Space Grotesk', sans-serif;
}

/* Header */

header {
    background-color: var(--surface);
    padding: 20px 5%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 700;
}

.logo span {
    color: var(--primary);
}

/* Navigation */

nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* Hero Section */

.hero {
    padding: 120px 5% 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    background: rgba(120, 90, 242, 0.1);
    color: var(--primary);

    padding: 6px 16px;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;

    display: inline-block;
    margin-bottom: 20px;

    border: 1px solid rgba(120, 90, 242, 0.2);
}

.hero h1 {
    font-size: 54px;
    font-weight: 700;

    margin-bottom: 24px;
    line-height: 1.15;

    background: linear-gradient(
        135deg,
        #fff 0%,
        var(--text-muted) 100%
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);

    font-size: 19px;
    margin-bottom: 35px;

    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Button */

.btn {
    background-color: var(--primary);
    color: white;

    padding: 14px 35px;
    border: none;
    border-radius: 8px;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    text-decoration: none;

    display: inline-block;

    transition: 0.3s ease;

    box-shadow: 0 4px 15px rgba(120, 90, 242, 0.3);
}

.btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 6px 20px rgba(120, 90, 242, 0.4);
}

.nav-btn {
    padding: 8px 20px;
    font-size: 14px;
    box-shadow: none;
}

/* Services */

.services-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));

    gap: 25px;
}

/* Cards */

.card {
    background-color: var(--surface);

    padding: 40px 30px;

    border-radius: 12px;

    border: 1px solid var(--border);

    position: relative;
    overflow: hidden;

    transition: 0.3s ease;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.card::before {
    content: "Edutreaty AI";

    position: absolute;

    font-size: 45px;
    font-weight: 700;

    color: rgba(255, 255, 255, 0.02);

    transform: rotate(-25deg);

    white-space: nowrap;

    top: 35%;
    left: -10%;

    pointer-events: none;
    user-select: none;
}

.card-icon {
    font-size: 32px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

/* Tags */

.feature-tag {
    background: rgba(38, 197, 123, 0.1);
    color: var(--success);

    padding: 4px 10px;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 600;

    display: inline-block;
}

/* Footer */

footer {
    text-align: center;

    padding: 40px;

    color: var(--text-muted);

    font-size: 14px;

    border-top: 1px solid var(--border);

    margin-top: 80px;
}

/* Responsive */

@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    nav {
        text-align: center;
    }

    nav a {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

}