:root {
    --bg-color: #050814;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-blue: #3b82f6;
    --accent-cyan: #06b6d4;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-accent: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background Blurs */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.blur-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-blue);
    top: -200px;
    left: -200px;
    opacity: 0.2;
}

.blur-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-cyan);
    bottom: -300px;
    right: -200px;
    animation-delay: -5s;
    opacity: 0.15;
}

.blur-3 {
    width: 400px;
    height: 400px;
    background: #4f46e5;
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    opacity: 0.1;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: var(--font-heading);
}

.accent-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
}

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

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 2rem;
}

/* Navigation */
nav {
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
}

.logo span {
    color: var(--accent-cyan);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: var(--text-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: var(--card-bg);
    transform: translateY(-2px);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-border {
    position: relative;
    padding: 1rem;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(6, 182, 212, 0.1));
    backdrop-filter: blur(10px);
}

.hero-image {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 1.5rem;
    filter: grayscale(20%) contrast(110%);
    transition: filter 0.5s ease;
}

.hero-image:hover {
    filter: grayscale(0%) contrast(100%);
}

/* Sections */
.section {
    padding: 3.5rem 0;
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.about-grid .icon {
    width: 40px;
    height: 40px;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
}

.about-grid p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Search Result Row Styles */
.rows-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.search-row {
    background: transparent;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.search-row:last-child {
    border-bottom: none;
}

.search-publisher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    width: 100%;
    flex-wrap: wrap;
}

.pub-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
    color: var(--text-primary);
}

.search-title {
    color: #8ab4f8; /* Google dark mode link color */
    font-size: 1.25rem;
    line-height: 1.4;
    text-decoration: none;
}

.search-title:hover {
    text-decoration: underline;
}

.search-desc {
    color: #bdc1c6; /* Google dark mode description color */
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.video-wrapper iframe,
.video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-wrapper a {
    display: block;
    width: 100%;
    height: 100%;
}

.video-wrapper:hover img {
    transform: scale(1.03);
}

.video-info h3 {
    margin-bottom: 0.5rem;
}

.video-info p {
    color: var(--text-secondary);
}

/* Consulting */
.consulting-card {
    max-width: 800px;
}

.icon-large {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
}

.consulting-card p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--card-border);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-cyan);
}

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid, .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.5rem 1rem;
    }
    
    .nav-links {
        display: contents;
    }

    .nav-links li {
        font-size: 0.9rem;
    }

    .hero {
        padding-top: 8rem;
    }
    
    .hero-image {
        width: 100%;
        height: auto;
    }

    .article-tags {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        justify-content: flex-start;
    }

    .article-meta-container {
        flex-wrap: wrap;
    }

    .article-meta-container p.search-desc {
        flex: 1 1 100%;
        margin-bottom: 0.5rem !important;
    }
}

/* Contact Form */
.form-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
}
.form-input::placeholder {
    color: var(--text-secondary);
}

/* Article Tags */
.article-tags {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}
.article-tag {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
}
.article-tag:hover {
    background: rgba(6, 182, 212, 0.2);
    color: white;
}

/* Article Meta Container */
.article-meta-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

/* Snippet Summary */
.search-snippet {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
