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

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: #0f172a;
    transition: color 0.3s ease;
}

p {
    margin-bottom: 10px;
}

/* ================= THEME TOGGLE ================= */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    border: none;
    background: #0f172a;
    color: #f9fafb;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.theme-toggle:hover {
    background: #111827;
    transform: translateY(-1px);
}

/* ================= HERO ================= */
.hero {
    background: radial-gradient(circle at top left, #10b98133, transparent 60%), #0f172a;
    color: #fff;
    padding: 120px 20px 100px;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1 1 320px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #f9fafb;
}

.hero p {
    font-size: 18px;
    max-width: 540px;
    margin-bottom: 30px;
}

.hero-image-wrapper {
    flex: 1 1 280px;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 360px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

/* ================= BUTTON ================= */
.btn-primary {
    display: inline-block;
    background: #10b981;
    color: #fff;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(16,185,129,0.35);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(16,185,129,0.45);
}

/* ================= SECTIONS ================= */
.about, .benefits {
    padding: 80px 0;
}

.about h2, .benefits h2 {
    font-size: 32px;
    margin-bottom: 18px;
}

.about p {
    font-size: 17px;
    max-width: 800px;
}

/* ================= SERVICES ================= */
.services {
    background: #f1f5f9;
    padding: 80px 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

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

.card {
    background: #fff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.08);
    border: 1px solid rgba(148,163,184,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(15,23,42,0.12);
    border-color: rgba(56,189,248,0.6);
}

.card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.card-subtitle {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 12px;
}

.card ul {
    list-style: none;
    font-size: 15px;
}

.card ul li {
    margin-bottom: 8px;
    padding-left: 18px;
    position: relative;
}

.card ul li::before {
    content: "•";
    color: #10b981;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 20px;
}

/* ================= BRAND SECTION ================= */
.brand-section {
    padding: 80px 0;
    background: #0b1220;
    color: #e5e7eb;
}

.brand-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.brand-text h2 {
    font-size: 30px;
    margin-bottom: 16px;
    color: #f9fafb;
}

.brand-text p {
    font-size: 16px;
    margin-bottom: 10px;
}

.brand-image-wrapper {
    display: flex;
    justify-content: center;
}

.brand-image {
    max-width: 320px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* ================= BENEFITS ================= */
.benefits ul {
    list-style: none;
    font-size: 17px;
    max-width: 800px;
}

.benefits ul li {
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
}

.benefits ul li::before {
    content: "✔";
    color: #10b981;
    position: absolute;
    left: 0;
    top: 0;
}

/* ================= CONTACT ================= */
.contact {
    background: #020617;
    color: #e5e7eb;
    padding: 90px 20px;
    text-align: center;
}

.contact h2 {
    font-size: 30px;
    margin-bottom: 16px;
    color: #f9fafb;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 24px;
    font-size: 16px;
}

/* ================= DARK THEME ================= */
body.dark {
    background: #020617;
    color: #e5e7eb;
}

body.dark h1,
body.dark h2,
body.dark h3 {
    color: #e5e7eb;
}

body.dark .hero {
    background: radial-gradient(circle at top left, #22c55e33, transparent 55%), #020617;
}

body.dark .services {
    background: #020617;
}

body.dark .card {
    background: #020617;
    border-color: rgba(148,163,184,0.5);
    box-shadow: 0 14px 40px rgba(15,23,42,0.8);
}

body.dark .brand-section {
    background: #020617;
}

body.dark .contact {
    background: #020617;
}

body.dark .theme-toggle {
    background: #e5e7eb;
    color: #020617;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image {
        max-width: 280px;
    }

    .brand-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .brand-text {
        order: 2;
    }

    .brand-image-wrapper {
        order: 1;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 70px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 15px;
    }

    .about, .services, .benefits {
        padding: 60px 0;
    }

    .brand-section {
        padding: 60px 0;
    }

    .contact {
        padding: 70px 20px;
    }
}
