/* -----------------------------------
   THEME
----------------------------------- */
:root {
    --bg: #050816;
    --bg-alt: #0B1020;
    --glass: rgba(15, 23, 42, 0.75);
    --card: #111827;
    --border: #1F2937;
    --text: #E5E7EB;
    --text-light: #9CA3AF;
    --accent: #4F9CF9;
    --accent-hover: #1E6FD9;
    --accent-soft: rgba(79, 156, 249, 0.18);
    --radius: 14px;
    --transition: 0.25s ease;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

/* -----------------------------------
   GLOBAL
----------------------------------- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 55%, #000 100%);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* -----------------------------------
   NAVBAR
----------------------------------- */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 22px;
    background: linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.85));
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148,163,184,0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Hamburger */
.hamburger {
    display: none;
    position: absolute;
    left: 18px;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #E5E7EB;
    border-radius: 999px;
    transition: var(--transition);
}

/* Nav links */
#nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

#nav-links li a {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: var(--transition);
}

#nav-links li a.active,
#nav-links li a:hover {
    color: #F9FAFB;
    background: rgba(15, 118, 255, 0.12);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-btn {
    cursor: pointer;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 0;
    top: 32px;
    right: 0;
    width: 180px;
    box-shadow: var(--shadow-soft);
    z-index: 999;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 9px 14px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.dropdown-menu li a:hover {
    background: rgba(15, 23, 42, 0.9);
    color: #F9FAFB;
}

/* -----------------------------------
   HERO — DEFAULT (CENTERED)
----------------------------------- */
.hero {
    padding: 110px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at top left, #1D283A 0, #020617 55%, #000 100%);
    border-bottom: 1px solid rgba(15,23,42,0.9);
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 2.9rem;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 680px;
    margin: 0 auto;
}

/* INDEX HERO — LEFT ALIGNED ONLY */
.hero-index .hero-inner {
    text-align: left;
}

.hero-index p {
    margin-left: 0;
}

/* Hero buttons */
.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-index .hero-buttons {
    justify-content: flex-start;
}

/* -----------------------------------
   BUTTONS
----------------------------------- */
.btn {
    padding: 11px 20px;
    background: var(--accent);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 14px 30px rgba(37, 99, 235, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn.alt {
    background: #111827;
    box-shadow: 0 0 0 1px rgba(148,163,184,0.35);
    color: #E5E7EB;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

.btn.alt:hover {
    background: #020617;
    box-shadow: 0 16px 32px rgba(15,23,42,0.9);
}

/* -----------------------------------
   SECTIONS / CARDS
----------------------------------- */
.top-tools {
    padding: 60px 20px 40px;
    text-align: center;
    background: var(--bg-alt);
    border-bottom: 1px solid rgba(15,23,42,0.9);
}

.top-tools h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.top-tools > p {
    max-width: 620px;
    margin: 0 auto 25px;
    color: var(--text-light);
    font-size: 0.98rem;
}

.featured-box,
.project-card {
    background: linear-gradient(145deg, #020617, #020617 40%, #020617 100%);
    border: 1px solid rgba(30,64,175,0.55);
    padding: 22px 20px;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: left;
}

.featured-box h3,
.project-card h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1.1rem;
}

.featured-box p,
.project-card p {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.project-card:hover,
.featured-box:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 22px 50px rgba(15,23,42,0.95);
}

/* Grid */
.project-grid {
    display: grid;
    gap: 22px;
    padding: 20px 0;
}

@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .project-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer {
    text-align: center;
    padding: 26px 18px 32px;
    color: var(--text-light);
    font-size: 0.9rem;
    background: #020617;
    border-top: 1px solid rgba(15,23,42,0.9);
}

/* -----------------------------------
   MOBILE
----------------------------------- */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    #nav-links {
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: #020617;
        flex-direction: column;
        text-align: center;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-bottom: 1px solid rgba(15,23,42,0.9);
        transition: max-height 0.25s ease, padding 0.25s ease;
    }

    #nav-links.open {
        max-height: 1000px;
        padding: 14px 0 18px;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        border-left: none;
        border-right: none;
    }

    .hero {
        padding-top: 90px;
    }

    .hero-inner {
        padding: 0 4px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-index .hero-inner {
        text-align: center;
    }

    .hero-index .hero-buttons {
        justify-content: center;
    }
}

/* -----------------------------------
   SUBSCRIPTION PAGE
----------------------------------- */

.subscription-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 35px;
}

.sub-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.sub-box h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--text);
}

.sub-box p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

.sub-box:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 22px 50px rgba(15,23,42,0.95);
}

/* Pricing Box */
.pricing-box {
    margin-top: 45px;
    text-align: center;
    background: var(--bg-alt);
    padding: 32px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.pricing-box h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--text);
}

.pricing-box p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 1rem;
}

/* Subscription Button */
.pricing-box .btn {
    padding: 12px 26px;
    font-size: 1rem;
    background: var(--accent);
    border-radius: 999px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 14px 30px rgba(37, 99, 235, 0.45);
}

.pricing-box .btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.55);
}

/* Mobile */
@media (max-width: 768px) {
    .subscription-grid {
        grid-template-columns: 1fr;
    }

    .pricing-box {
        padding: 26px 18px;
    }

    .pricing-box h2 {
        font-size: 1.9rem;
    }
}

/* -----------------------------------
   REQUEST TOOL FORM PAGE
----------------------------------- */

.form-container {
    max-width: 800px;
    margin: 50px auto;
    background: var(--glass);
    padding: 35px 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(12px);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--accent);
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(79,156,249,0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-container button {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 0 1px rgba(15,23,42,0.8), 0 14px 30px rgba(37,99,235,0.45);
}

.form-container button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(37,99,235,0.55);
}

/* Mobile */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}
