/* ═══════════════════════════════════════════════════════════
   SILENT AI - FUTURISTIC DESIGN SYSTEM
   "The machines are ready"
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Core Colors */
    --bg-dark: #1a1a2e;
    --bg-darker: #12121f;
    --surface: rgba(30, 30, 50, 0.85);
    --surface-light: rgba(45, 45, 70, 0.7);

    /* Neon Accents */
    --neon-cyan: #00f5ff;
    --neon-blue: #0066ff;
    --neon-purple: #8b5cf6;
    --neon-pink: #ff0080;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00f5ff 0%, #0066ff 50%, #8b5cf6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 245, 255, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);

    /* Effects */
    --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 40px rgba(0, 245, 255, 0.3), 0 0 60px rgba(0, 245, 255, 0.1);
    --glow-purple: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);

    /* Fonts */
    --font-display: 'Orbitron', monospace;
    --font-body: 'Rajdhani', sans-serif;
    --font-clean: 'Inter', sans-serif;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Floating particles effect */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(2px 2px at 20% 30%, rgba(0, 245, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 60% 20%, rgba(0, 245, 255, 0.2), transparent),
        radial-gradient(2px 2px at 80% 50%, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(2px 2px at 10% 80%, rgba(0, 102, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90% 90%, rgba(0, 245, 255, 0.2), transparent);
    pointer-events: none;
    z-index: -1;
    animation: particleFloat 30s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ═══════════════════════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.05em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.3rem;
}

p {
    font-family: var(--font-body);
    font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   HEADER & NAV
   ═══════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 245, 255, 0.1);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.logo-text {
    color: var(--text-primary);
}

.logo-highlight {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 10;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
    animation: flicker 3s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
    52% { opacity: 1; }
    54% { opacity: 0.7; }
    56% { opacity: 1; }
}

.hero-title {
    margin-bottom: 1.5rem;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero-title .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Visual - AI Core Animation */
.hero-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
}

.ai-core {
    font-size: 4rem;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    z-index: 10;
    animation: corePulse 2s ease-in-out infinite;
}

@keyframes corePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    animation: ringExpand 3s ease-out infinite;
    opacity: 0;
}

.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }

@keyframes ringExpand {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.8;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 245, 255, 0.5), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.btn-secondary:hover {
    background: rgba(0, 245, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* ═══════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════ */

.features {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 245, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 245, 255, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   PHILOSOPHY SECTION
   ═══════════════════════════════════════════════════════════ */

.philosophy {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 245, 255, 0.02) 50%, transparent 100%);
    position: relative;
}

.philosophy::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent);
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.philosophy-text p {
    margin-bottom: 1.5rem;
}

.philosophy-text .large-text {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    margin-bottom: 2rem;
}

.philosophy-text .highlight-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text-primary);
    background: var(--gradient-glow);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════
   ARTICLES SECTION
   ═══════════════════════════════════════════════════════════ */

.articles-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--surface);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.article-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 92, 246, 0.2);
    color: var(--neon-purple);
    font-size: 0.75rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.article-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.article-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */

.footer {
    padding: 4rem 2rem 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(0, 245, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-brand .logo-icon,
.footer-brand .logo-text {
    font-size: 1.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-style: italic;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-cyan);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--neon-cyan);
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 6rem 1rem 3rem;
    }

    .hero-visual {
        display: none;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .features, .philosophy, .articles-section {
        padding: 4rem 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
   ═══════════════════════════════════════════════════════════ */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-blue);
}

/* ═══════════════════════════════════════════════════════════
   SELECTION
   ═══════════════════════════════════════════════════════════ */

::selection {
    background: var(--neon-cyan);
    color: var(--bg-dark);
}

/* ═══════════════════════════════════════════════════════════
   HERO SECTION - BACKGROUND IMAGE VARIANT
   No solid color overlays - subtle gradients only
   ═══════════════════════════════════════════════════════════ */

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient - NOT blocking the image */
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.1) 30%,
        rgba(10, 10, 15, 0.1) 70%,
        rgba(10, 10, 15, 0.5) 100%
    );
    z-index: 2;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 12px;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════════════════════
   FEATURE CARDS WITH IMAGES
   ═══════════════════════════════════════════════════════════ */

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    position: relative;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.1);
}

.feature-content {
    padding: 0;
}

.feature-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.feature-link::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.feature-link:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.feature-link:hover::after {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════
   TOOLS SECTION
   ═══════════════════════════════════════════════════════════ */

.tools-section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.tools-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.3), transparent);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.tool-card {
    background: var(--surface);
    border: 1px solid rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(0, 245, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tool-card:hover {
    border-color: var(--neon-cyan);
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 245, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tool-card:hover::before {
    opacity: 1;
}

.tool-logo {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 245, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tool-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.tool-logo i,
.tool-logo .icon {
    font-size: 2rem;
    color: var(--neon-cyan);
    transition: all 0.3s ease;
}

.tool-card:hover .tool-logo {
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
}

.tool-card:hover .tool-logo i,
.tool-card:hover .tool-logo .icon {
    color: var(--bg-dark);
    transform: scale(1.1);
}

.tool-card h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.tool-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.tool-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(139, 92, 246, 0.2);
    color: var(--neon-purple);
    font-size: 0.65rem;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    margin-top: 0.75rem;
}

/* Tools grid responsive */
@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .tool-card {
        padding: 1rem;
    }

    .tool-logo {
        width: 50px;
        height: 50px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PHILOSOPHY SECTION - BACKGROUND IMAGE VARIANT
   Subtle overlay - NOT blocking images
   ═══════════════════════════════════════════════════════════ */

.philosophy-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.philosophy-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.philosophy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle gradient - lets the image show through */
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.4) 0%,
        rgba(10, 10, 15, 0.2) 50%,
        rgba(10, 10, 15, 0.4) 100%
    );
    z-index: 2;
}

.philosophy.has-background {
    position: relative;
    overflow: hidden;
}

.philosophy.has-background .philosophy-content {
    position: relative;
    z-index: 10;
}

.philosophy-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.principle {
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 245, 255, 0.15);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.principle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.principle:hover {
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.principle:hover::before {
    transform: scaleY(1);
}

.principle-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 1rem;
}

.principle h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}

.principle p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE CARDS WITH IMAGES
   ═══════════════════════════════════════════════════════════ */

.article-card.has-image {
    padding: 0;
    overflow: hidden;
}

.article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-image .article-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin-bottom: 0;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(5px);
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.article-meta i {
    color: var(--neon-cyan);
    font-size: 0.9rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neon-cyan);
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.read-more::after {
    content: '\2192';
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER SECTION
   ═══════════════════════════════════════════════════════════ */

.newsletter-section {
    padding: 6rem 2rem;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(139, 92, 246, 0.05) 50%,
        transparent 100%
    );
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.1) 0%,
        transparent 60%
    );
    pointer-events: none;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-muted);
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: var(--bg-dark);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.3);
}

.newsletter-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.newsletter-note a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.newsletter-note a:hover {
    color: var(--neon-purple);
}

@media (max-width: 600px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"] {
        min-width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER IMPROVEMENTS
   ═══════════════════════════════════════════════════════════ */

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.footer-brand-section {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
}

.footer-brand-section .logo {
    margin-bottom: 1rem;
}

.footer-brand-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid rgba(0, 245, 255, 0.2);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
    transform: translateY(-3px);
}

.footer-nav {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col {
    min-width: 150px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col a:hover {
    color: var(--neon-cyan);
    transform: translateX(5px);
}

@media (max-width: 900px) {
    .footer-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand-section {
        max-width: 100%;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════ */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-cyan);
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

/* Hamburger animation to X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(0, 245, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Base state for elements to be revealed */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reveal from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Reveal from right */
.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale reveal */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered reveal for grid items */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.7s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.8s; }
.reveal-stagger.visible > *:nth-child(9) { transition-delay: 0.9s; }
.reveal-stagger.visible > *:nth-child(10) { transition-delay: 1s; }
.reveal-stagger.visible > *:nth-child(11) { transition-delay: 1.1s; }
.reveal-stagger.visible > *:nth-child(12) { transition-delay: 1.2s; }

.reveal-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in only */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Glow pulse animation on reveal */
.reveal-glow.visible {
    animation: revealGlow 1s ease forwards;
}

@keyframes revealGlow {
    0% {
        opacity: 0;
        transform: translateY(20px);
        box-shadow: none;
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 245, 255, 0.3);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        box-shadow: none;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-stagger > *,
    .fade-in {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .reveal-glow.visible {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
