/* Import Tailwind CSS */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@3.4.1/base.min.css');

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

/* Import Bootstrap Icons */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

/* Root Variables */
:root {
    --midnight-black: #0a0a0a;
    --neon-cyan: #00ffff;
    --neon-cyan-glow: rgba(0, 255, 255, 0.5);
    --dark-bg: #1a1a1a;
    --card-bg: #2a2a2a;
    --text-light: #f5f5f5;
    --text-gray: #b0b0b0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif !important;
    background-color: var(--midnight-black) !important;
    color: var(--text-light) !important;
    line-height: 1.7 !important;
    font-size: 16px !important;
    overflow-x: hidden;
}

/* Typography */
h1 {
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: var(--text-light) !important;
}

h2 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin-top: 3rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
    color: var(--neon-cyan) !important;
}

h3 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: var(--text-light) !important;
}

p {
    font-size: 1.125rem !important;
    margin-bottom: 1.25rem !important;
    color: var(--text-light) !important;
}

/* Navigation Menu Specific Rules - CRITICAL */
.nav-menu li {
    margin-bottom: 0 !important;
    list-style: none !important;
}

.nav-menu li:before,
.nav-menu li:after {
    display: none !important;
    content: none !important;
}

nav ul,
nav ol,
footer ul,
footer ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

nav ul li:before,
nav ul li:after,
nav ol li:before,
nav ol li:after,
footer ul li:before,
footer ul li:after,
footer ol li:before,
footer ol li:after {
    display: none !important;
    content: none !important;
}

/* Content Lists with Custom Markers */
main ul,
main ol {
    list-style: none !important;
    padding-left: 2rem !important;
    margin: 1.5rem 0 !important;
}

main ul li {
    position: relative;
    padding-left: 1.5rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.125rem !important;
    color: var(--text-light) !important;
}

main ul li:before {
    content: '●' !important;
    position: absolute;
    left: 0;
    color: var(--neon-cyan) !important;
    font-size: 1.25rem;
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

main ol {
    counter-reset: custom-counter;
}

main ol li {
    position: relative;
    padding-left: 2.5rem !important;
    margin-bottom: 1rem !important;
    font-size: 1.125rem !important;
    color: var(--text-light) !important;
    counter-increment: custom-counter;
}

main ol li:before {
    content: counter(custom-counter) '.' !important;
    position: absolute;
    left: 0;
    color: var(--neon-cyan) !important;
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-cyan-glow);
}

/* Header and Navigation */
header {
    background: linear-gradient(135deg, var(--midnight-black) 0%, var(--dark-bg) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--neon-cyan);
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-name {
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--neon-cyan) !important;
    text-shadow: 0 0 20px var(--neon-cyan-glow);
    transition: all 0.3s ease;
}

.brand-logo:hover .brand-name {
    text-shadow: 0 0 30px var(--neon-cyan-glow);
}

.logo-img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.brand-logo:hover .logo-img {
    transform: rotate(15deg);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--neon-cyan);
    font-size: 2rem;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none !important;
}

.nav-menu a {
    color: var(--text-light) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a:hover {
    color: var(--neon-cyan) !important;
    background: rgba(0, 255, 255, 0.1);
}

.cta-nav-btn {
    background: transparent !important;
    border: 2px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.cta-nav-btn:hover {
    background: var(--neon-cyan) !important;
    color: var(--midnight-black) !important;
    box-shadow: 0 0 20px var(--neon-cyan-glow);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative !important;
    padding: 6rem 2rem !important;
    overflow: hidden !important;
    background: var(--midnight-black) !important;
    min-height: 600px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero-background {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    opacity: 0.3 !important;
}

.abstract-shape {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.shape-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--neon-cyan);
    top: 10%;
    left: 10%;
    box-shadow: 0 0 40px var(--neon-cyan-glow);
}

.shape-square {
    width: 150px;
    height: 150px;
    border: 3px solid var(--neon-cyan);
    top: 60%;
    right: 15%;
    transform: rotate(45deg);
    box-shadow: 0 0 40px var(--neon-cyan-glow);
    animation-delay: 1s;
}

.shape-polygon {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid var(--neon-cyan);
    opacity: 0.3;
    top: 40%;
    left: 5%;
    animation-delay: 2s;
}

.shape-rhomb {
    width: 100px;
    height: 100px;
    background: transparent;
    border: 3px solid var(--neon-cyan);
    transform: rotate(45deg);
    top: 20%;
    right: 5%;
    box-shadow: 0 0 40px var(--neon-cyan-glow);
    animation-delay: 3s;
}

.shape-star {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid var(--neon-cyan);
    opacity: 0.3;
    bottom: 20%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    max-width: 900px !important;
    text-align: center !important;
}

.hero-content h1 {
    color: var(--text-light) !important;
    font-size: 3.5rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3) !important;
}

.hero-content p {
    font-size: 1.25rem !important;
    color: var(--text-gray) !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
}

.hero-cta-btn {
    background: transparent !important;
    border: 3px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    padding: 1rem 3rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.hero-cta-btn:hover {
    background: var(--neon-cyan) !important;
    color: var(--midnight-black) !important;
    box-shadow: 0 0 30px var(--neon-cyan-glow) !important;
    transform: translateY(-3px) !important;
}

/* Main Content Sections */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.content-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.content-section:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.15);
}

/* Cards */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card {
    background: var(--dark-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin: 2rem 0 !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
}

table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: var(--dark-bg) !important;
    min-width: 600px !important;
}

thead {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--card-bg) 100%) !important;
}

th {
    padding: 1.25rem !important;
    text-align: left !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    color: var(--neon-cyan) !important;
    border-bottom: 2px solid var(--neon-cyan) !important;
}

td {
    padding: 1.25rem !important;
    font-size: 1.125rem !important;
    color: var(--text-light) !important;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1) !important;
}

tbody tr {
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(0, 255, 255, 0.05) !important;
}

/* Images */
picture {
    display: block;
    margin: 2rem 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

img:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    transform: scale(1.02);
}

/* Conversion Buttons */
.cta-button {
    background: transparent !important;
    border: 2px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    padding: 1rem 2.5rem !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 1rem 0 !important;
}

.cta-button:hover {
    background: var(--neon-cyan) !important;
    color: var(--midnight-black) !important;
    box-shadow: 0 0 25px var(--neon-cyan-glow) !important;
    transform: translateY(-2px) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--midnight-black) 0%, var(--dark-bg) 100%);
    border-top: 2px solid var(--neon-cyan);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--neon-cyan) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-column ul li {
    margin-bottom: 0.75rem !important;
    list-style: none !important;
}

.footer-column ul li:before,
.footer-column ul li:after {
    display: none !important;
    content: none !important;
}

.footer-column a {
    color: var(--text-gray) !important;
    text-decoration: none;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--neon-cyan) !important;
    padding-left: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-bottom p {
    color: var(--text-gray) !important;
    font-size: 1rem !important;
}

/* Icons Styling */
.bi {
    color: var(--neon-cyan);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 1rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.75rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .hero-section {
        padding: 4rem 1.5rem !important;
        min-height: 500px !important;
    }

    .hero-content h1 {
        font-size: 2.25rem !important;
    }

    .hero-content p {
        font-size: 1.125rem !important;
    }

    .content-section {
        padding: 2rem 1.5rem;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .abstract-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    p, li, td, th {
        font-size: 1rem !important;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 1.5rem 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}
