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

:root {
    /* Paleta de cores inspirada no logótipo */
    --primary-color: #6366f1;   /* Azul-índigo do checkmark */
    --secondary-color: #8b5cf6; /* Roxo do círculo */
    --text-color: #cbd5e1;      /* Cinza-azulado claro (para texto) */
    --text-color-dark: #ffffff; /* Branco para títulos */
    --bg-color: #0f172a;        /* Azul-ardósia 900 (do texto do logo) */
    --surface-color: #1e293b;   /* Azul-ardósia 800 (para cartões/superfícies) */
    
    --neon-glow-primary: 0 0 7px var(--primary-color), 0 0 10px var(--primary-color);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text-color-dark);
}

h1 {
    font-size: 4.5rem;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 4rem;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 60ch;
}

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

a:hover {
    color: #ffffff;
    text-shadow: var(--neon-glow-primary);
}

section {
    padding: 7rem 5%;
}

/* Hero Section */
.hero-section {
    background-image: 
        radial-gradient(at 80% 20%, hsla(240, 84%, 70%, 0.15) 0px, transparent 50%),
        radial-gradient(at 20% 90%, hsla(258, 90%, 76%, 0.15) 0px, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--surface-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    margin-right: 15px;
}

.logo span {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color-dark);
}

.nav-links a {
    margin-left: 2.5rem;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--text-color-dark);
    text-shadow: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 8rem 5% 0;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
}

.hero-text p {
    margin: 1.5rem 0 2.5rem;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.dev-info {
    margin-top: 4rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background-color: var(--surface-color);
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #27364f;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: var(--neon-glow-primary);
}

/* Features Section */
.features-section {
    background-color: var(--bg-color);
}

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

.feature-item {
    text-align: center;
    padding: 2.5rem;
    background-color: var(--surface-color);
    border-radius: 20px;
    border: 1px solid #27364f;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--surface-color);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid #27364f;
}

.impact-phrase {
    font-size: 1.7rem;
    font-style: italic;
    margin-top: 2rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Support Section */
.support-section {
    background-color: var(--bg-color);
}

.support-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--surface-color);
    padding: 4rem;
    border-radius: 20px;
    border: 1px solid #27364f;
}

.support-content p {
    margin-bottom: 1rem;
}

.kofi-button-container {
    margin-top: 2rem;
}

/* Install Section */
.install-section {
    background-color: var(--bg-color);
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--surface-color);
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #27364f;
    transition: all 0.3s ease;
}

.step:hover .step-icon {
    border-color: var(--primary-color);
    box-shadow: var(--neon-glow-primary);
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--surface-color);
    text-align: center;
    padding: 4rem 5%;
    border-top: 1px solid #27364f;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-links a {
    margin: 0 1.5rem;
}

footer p {
    margin: 0 auto; /* Center the paragraph block */
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-text {
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav { flex-direction: column; gap: 1rem; padding: 1rem 5%; }
    .hero-content { padding-top: 10rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2.2rem; }
    .features-grid, .install-steps { grid-template-columns: 1fr; }
    .footer-links { display: flex; flex-direction: column; gap: 1rem; }
}
