/* --- Background & Universe Setup --- */
.marketing-universe {
    height: 100vh;
    background: radial-gradient(circle at center, #1a0b2e 0%, #050505 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 3D Perspective Grid (The Floor) --- */
.grid-container {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 800px;
    bottom: -20%;
    z-index: 1;
}

.perspective-grid {
    width: 200%;
    height: 200%;
    position: absolute;
    bottom: 0;
    left: -50%;
    background-image: 
        linear-gradient(to right, rgba(160, 32, 240, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(160, 32, 240, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: rotateX(60deg);
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 0 50px; }
}

/* --- Vertical Data Streams (Matrix Style) --- */
.data-stream-container {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.stream {
    position: absolute;
    width: 1px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--accent-purple), transparent);
    opacity: 0.4;
    animation: streamDrop 4s infinite linear;
}

.s1 { left: 10%; animation-delay: 0s; }
.s2 { left: 30%; animation-delay: 1.5s; }
.s3 { left: 70%; animation-delay: 0.8s; }
.s4 { left: 85%; animation-delay: 2.2s; }
.s5 { left: 50%; animation-delay: 3s; }

@keyframes streamDrop {
    0% { top: -20%; }
    100% { top: 120%; }
}

/* --- Abstract AI Core --- */
.ai-core-wrapper {
    position: absolute;
    z-index: 3;
}

.ai-core-sphere {
    width: 120px;
    height: 120px;
    background: #59a7c5;
    border-radius: 50%;
    box-shadow: 0 0 60px 20px var(--accent-purple);
    filter: blur(2px);
    animation: corePulse 3s ease-in-out infinite alternate;
}

@keyframes corePulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.15); opacity: 1; box-shadow: 0 0 100px 30px var(--accent-purple); }
}

/* --- Foreground Text & Glitch --- */
.hero-content-v3 {
    text-align: center;
    z-index: 10;
}

.glitch-title {
    font-family: 'Audiowide', cursive;
    font-size: 5rem;
    color: white;
    position: relative;
    letter-spacing: 5px;
}

.glitch-title::before, .glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.8;
}

.glitch-title::before { color: #ff00ff; z-index: -1; animation: glitchAnim 0.3s infinite; }
.glitch-title::after { color: #00ffff; z-index: -2; animation: glitchAnim 0.3s infinite reverse; }

@keyframes glitchAnim {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

.universe-subtitle {
    font-family: 'Space Mono', monospace;
    color: rgba(255,255,255,0.7);
    font-size: 1.2rem;
    margin-top: 10px;
}

/* --- Scanlines --- */
.scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 15;
}

/* --- Button --- */
.universe-btn {
    margin-top: 40px;
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    letter-spacing: 2px;
    transition: 0.3s;
}

.universe-btn:hover {
    background: white;
    color: black;
    box-shadow: 0 0 30px white;
}
/* --- Responsive Adjustments --- */
/* --- Screen Responsiveness for Marketing Universe --- */

@media (max-width: 992px) {
    .glitch-title {
        font-size: 3.5rem; /* Smaller title for tablets */
    }
    .ai-core-sphere {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .marketing-universe {
        height: 100svh; /* Better height handling for mobile browsers */
    }

    .glitch-title {
        font-size: 2.5rem; /* Scaled for mobile */
        letter-spacing: 2px;
    }

    .universe-subtitle {
        font-size: 0.9rem;
        padding: 0 20px;
    }

    .ai-core-sphere {
        width: 80px;
        height: 80px;
    }

    /* Adjusting the 3D grid for vertical screens */
    .grid-container {
        perspective: 600px; 
        bottom: -10%;
    }

    .perspective-grid {
        background-size: 40px 40px; /* Tighter grid for mobile */
    }

    .universe-btn {
        padding: 12px 25px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .glitch-title {
        font-size: 2rem;
    }
    
    .data-stream-container {
        display: none; /* Hide streams on very small screens to reduce clutter */
    }
}
/* --- Arsenal Section Styling --- */
/* --- Light Theme Arsenal --- */
.marketing-arsenal-section.light-theme {
    padding: 120px 0;
    background-color: #ffffff; /* 70% White Rule */
    position: relative;
}

.matrix-title-dark {
    font-family: 'Audiowide', cursive;
    font-size: 3.2rem;
    color: #111; /* 25% Black Rule */
    margin-top: 10px;
}

.cyber-tag-dark {
    font-family: 'Space Mono', monospace;
    color: #888;
    letter-spacing: 5px;
    font-weight: bold;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-purple); /* 5% Purple Rule */
    margin: 20px auto 0;
}

/* --- Card Styling --- */
.matrix-card-light {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 45px 35px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.matrix-card-light:hover {
    transform: translateY(-12px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 50px rgba(160, 32, 240, 0.1);
}

.matrix-card-light .card-icon {
    font-size: 2.8rem;
    color: var(--accent-purple);
    margin-bottom: 25px;
}

.matrix-card-light h3 {
    font-family: 'Audiowide', cursive;
    color: #111;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.matrix-card-light p {
    font-family: 'Space Mono', monospace;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.tag-outline {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #111;
    border: 1px solid #ddd;
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: 0.3s;
}

.matrix-card-light:hover .tag-outline {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* --- Grid Responsiveness --- */
/* --- Optimized Grid for 3-Column / 1-Column Responsive --- */
.arsenal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 in a row on large screens */
    gap: 30px;
    padding-top: 20px;
}

/* Tablet: 2 in a row */
@media (max-width: 1024px) {
    .arsenal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 in a row */
@media (max-width: 768px) {
    .arsenal-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 20px;
    }
}
/* --- Tech Stack Styling --- */
.tech-stack-section {
    padding: 100px 0 150px;
    background-color: #ffffff; /* 70% White */
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 in a row on Large Screens */
    gap: 40px;
    margin-top: 50px;
}

.tech-card {
    padding: 40px;
    background: #f9f9f9;
    border-left: 4px solid #111; /* 25% Black highlight */
    transition: 0.4s;
}

.tech-card:hover {
    border-left: 4px solid var(--accent-purple); /* 5% Purple highlight */
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    transform: translateX(10px);
}

.tech-category {
    font-family: 'Audiowide', cursive;
    font-size: 1.1rem;
    color: #111;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-list li {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-list li i {
    color: var(--accent-purple); /* 5% Purple checkmarks */
    font-size: 0.8rem;
}

/* --- Responsive Logic --- */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 on Tablet */
    }
}

@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr; /* 1 in a row on Mobile */
        gap: 20px;
    }
    
    .tech-card {
        padding: 30px;
    }
}
.marketing-cta-section {
    padding: 100px 0 150px;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
}

.cta-terminal {
    background: #f1e5e5;
    border: 1px solid rgba(160, 32, 240, 0.3);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8);
}

.terminal-header {
    background: rgba(86, 88, 88, 0.1);
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(160, 32, 240, 0.2);
}

.terminal-header .dots {
    display: flex;
    gap: 8px;
}

.terminal-header .dots span {
    width: 10px; height: 10px; border-radius: 50%; background: rgba(243, 8, 8, 0.2);
}

.terminal-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-purple);
    letter-spacing: 2px;
}

.cta-content {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Live Status Pulse */
.live-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(40, 167, 69, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
}

.pulse {
    width: 8px; height: 8px;
    background: #28a745;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(40, 167, 69, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

.status-text {
    color: #28a745;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: bold;
}

.cta-title {
    font-family: 'Audiowide', cursive;
    font-size: 3rem;
    color: rgb(8, 8, 8);
    margin-bottom: 20px;
}

.cta-desc {
    font-family: 'Space Mono', monospace;
    color: #0f0f0f;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Calendly Button */
.calendly-btn {
    display: inline-flex;
    align-items: center;
    background: white;
    color: black;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Audiowide', cursive;
    font-size: 1.1rem;
    transition: 0.4s;
    border: 2px solid white;
}

.calendly-btn:hover {
    background: transparent;
    color: rgb(17, 17, 17);
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(160, 32, 240, 0.5);
    transform: translateY(-5px);
}

.btn-icon { margin-left: 15px; color: var(--accent-purple); }

.timezone-note {
    margin-top: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #555;
}

/* Decorative Background Glow */
.cta-glow-bg {
    position: absolute;
    bottom: -50%; left: 50%;
    transform: translateX(-50%);
    width: 300px; height: 300px;
    background: var(--accent-purple);
    filter: blur(120px);
    opacity: 0.2;
    z-index: 1;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-title { font-size: 2rem; }
    .cta-content { padding: 40px 20px; }
}