:root {
    --bg-dark: #070707;
    --bg-card: #0d1117;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --neon-blue: #00e5ff;
    --neon-blue-glow: rgba(0, 229, 255, 0.6);
    --neon-blue-heavy: rgba(0, 229, 255, 0.8);
    --overlay-color: rgba(0, 0, 0, 0.7);
    --nav-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar Styling */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-white);
    font-family: 'Space Grotesk', sans-serif;
}

.logo span {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue-glow);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--neon-blue);
    opacity: 1;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('background.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    margin-top: 40px;
}

h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.highlight {
    color: var(--neon-blue);
    display: inline-block;
    text-shadow: 0 0 15px var(--neon-blue-glow),
                 0 0 30px rgba(0, 229, 255, 0.2);
    filter: drop-shadow(0 0 5px var(--neon-blue-glow));
}

p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--neon-blue);
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px var(--neon-blue-glow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px var(--neon-blue),
                0 0 15px var(--neon-blue-heavy);
    background-color: #ffffff;
}

/* Common Section Styles */
section {
    padding: 40px 0;
    height: auto;
    min-height: auto;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.section-title .accent {
    color: var(--neon-blue);
}

/* About Section */
.about-section {
    background-color: #0a0a0a;
    padding: 40px 0;
    height: auto;
    min-height: 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* Services Section */
.services-section {
    background-color: var(--bg-dark);
    padding: 40px 0;
    height: auto;
    min-height: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(5px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 
                inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 0;
}

/* Portfolio Section */
.portfolio-section {
    background-color: #0a0a0a;
    padding: 40px 0;
    height: auto;
    min-height: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #0f172a, #020617);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-inner {
    padding: 3.5rem 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.5s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15);
}

.project-card:hover .project-inner {
    transform: scale(1.05);
}

.project-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    color: var(--text-white);
    margin-bottom: 1.2rem;
    position: relative;
}

.project-card p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--neon-blue-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 0;
}

.project-card:hover::before {
    opacity: 0.1;
}

/* Articles Section */
.articles-section {
    background-color: var(--bg-dark);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.article-card.template {
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.01);
}

.article-card.template .article-content {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.article-card.template:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 229, 255, 0.02);
}

.article-card.template:hover .article-content {
    opacity: 1;
}

.status-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
}

.article-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.article-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.article-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.article-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 60px 0;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.copyright {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-blue);
}

/* Article Specific Styles */
.article-container {
    max-width: 850px;
    margin: 120px auto 60px;
    padding: 0 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 4rem;
}

.article-header h1 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-content {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.article-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-white);
    margin: 3rem 0 1.5rem;
    font-size: 2rem;
    border-left: 4px solid var(--neon-blue);
    padding-left: 1.5rem;
}

.article-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-white);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.highlight-card {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    position: relative;
}

.highlight-card::before {
    content: '💡';
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--bg-dark);
    padding: 0 10px;
    font-size: 1.5rem;
}

.article-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.article-content ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.article-content ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

.article-content ul li.no::before {
    content: '❌';
}

blockquote {
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 3rem 0;
    border-left: 4px solid var(--neon-blue);
    font-size: 1.25rem;
    color: var(--text-white);
}

/* Modern Comparison Table */
.table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
}

th, td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

th {
    background: rgba(0, 229, 255, 0.1);
    color: var(--neon-blue);
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* FAQ Accordion */
details {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-white);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--neon-blue);
    transition: transform 0.3s ease;
}

details[open] {
    border-color: var(--neon-blue);
}

details[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

details p {
    padding: 0 1.5rem 1.5rem;
    margin-bottom: 0;
    color: var(--text-gray);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .nav-container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        padding: 1rem;
    }
}
