@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('assets/fonts/noto-sans-sc-100.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('assets/fonts/noto-sans-sc-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/noto-sans-sc-400.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/noto-sans-sc-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/noto-sans-sc-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('assets/fonts/noto-sans-sc-900.woff2') format('woff2');
}

:root {
    --bg-dark: #0a0a12;
    --primary: #6c5ce7;
    --secondary: #a29bfe;
    --accent: #00cec9;
    --text-primary: #ffffff;
    --text-secondary: #b2bec3;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Noto Sans SC', sans-serif;
}

/* Light Theme Overrides */
body.light-theme {
    --bg-dark: #f8f9fa;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --primary: #6c5ce7;
    --accent: #00b894;
}

body.light-theme .btn-primary {
    color: #fff;
    /* Ensure white text on primary background */
}


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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

body.is-fullpage {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar Base (Solid) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
    background: rgba(10, 10, 18, 0.85);
    border-bottom: 1px solid var(--glass-border);
}

body.light-theme .navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Immersive Navbar Modifier (Transparent at top, only for pages with dark heroes) */
body.has-transparent-nav .navbar:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid transparent;
    padding: 20px 50px;
}

body.has-transparent-nav .navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, 0.8);
}

body.has-transparent-nav .navbar:not(.scrolled) .logo {
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
}

/* Scrolled state for immersive nav */
body.has-transparent-nav .navbar.scrolled {
    padding: 15px 50px;
    backdrop-filter: blur(15px);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(90deg, #2d3436, var(--primary));
    /* Default for light theme */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

/* Override logo for dark theme */
body:not(.light-theme) .logo {
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
}



.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-primary {
    padding: 8px 24px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

/* Subpage Layout Fix */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex: 1;
    /* Pushes footer to bottom */
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.section {
    height: 100vh;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: url('assets/bg.png') no-repeat center center/cover;
    position: relative;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(10, 10, 18, 0.4) 0%, var(--bg-dark) 90%);
}

.hero-section .content {
    position: relative;
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 80px;
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #fff 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(162, 155, 254, 0.3);
}

.subtitle {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 20px;
    color: var(--text-primary);
    letter-spacing: 10px;
}

.description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-outline {
    padding: 12px 36px;
    border: 1px solid var(--text-secondary);
    border-radius: 30px;
    color: var(--text-primary);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

.btn-glow {
    padding: 12px 36px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.5);
}

.btn-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 206, 201, 0.6);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, #fff, transparent);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Features Section */
.features-section {
    background: radial-gradient(circle at 80% 20%, rgba(108, 92, 231, 0.1), transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(0, 206, 201, 0.1), transparent 40%);
}

.section-title {
    font-size: 40px;
    margin-bottom: 60px;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    padding: 0 20px;
}

/* Footer */


.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Vision Section */
.vision-section {
    background: linear-gradient(to top, #0f0f1a, var(--bg-dark));
}

.split-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    gap: 60px;
}

.text-side {
    flex: 1;
}

.text-side h2 {
    font-size: 48px;
    margin-bottom: 30px;
    background: linear-gradient(90deg, #fff, var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-side p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.vision-list {
    list-style: none;
    margin-top: 40px;
}

.vision-list li {
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.vision-list span {
    font-family: monospace;
    color: var(--accent);
    font-size: 16px;
    border: 1px solid var(--accent);
    padding: 2px 8px;
    border-radius: 4px;
}

.visual-side {
    flex: 1;
}

.glass-pane {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.glass-pane::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.code-snippet pre {
    color: var(--secondary);
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    background: radial-gradient(circle at center, #1a1a2e, #0a0a12);
}

.center-aligned {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card {
    margin-top: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 60px;
    backdrop-filter: blur(20px);
}

/* Blog Specific Adjustments */
/* Blog Specific Adjustments */
/* SEO Optimization: The <a> tag now wraps the content */
.blog-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    /* Ensure no default link color overrides */
}

.blog-item {
    display: flex;
    align-items: center;
    /* Vertical center alignment for image vs text */
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

body.light-theme .blog-item {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.blog-item-link:hover .blog-item {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
}

.blog-thumb {
    width: 300px;
    height: 200px;
    background: #1a1a2e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid var(--glass-border);
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qr-placeholder {
    text-align: center;
}

.qr-box {
    width: 150px;
    height: 150px;
    background: white;
    /* Placeholder */
    margin-bottom: 15px;
    border-radius: 10px;
    background: url('https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Thanks') no-repeat center/cover;
}

.info-list {
    text-align: left;
}

.info-list p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.info-list strong {
    color: white;
    margin-right: 10px;
}

.btn-large-glow {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 50px;
    background: var(--primary);
    color: white;
    font-size: 18px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
    transition: all 0.3s;
}

.btn-large-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.6);
}

.footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 14px;
    width: 100%;
}

/* Home Page Section Footer Override */
.section .footer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    padding: 0;
    border-top: none;
}


/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}