/* =============================================
   DO IT MAGIC SOFTWARE — Enterprise AI Design
   Design: Serious, Minimalist, Cyber & Tech
   ============================================= */

/* Base Section */
.section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Typography Overrides for Serious Tone */
h1,
h2,
h3 {
    font-weight: 400;
    letter-spacing: -0.02em;
}

/* Glass & Border Card - Enterprise Style (Sharp & Minimal) */
.tech-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    /* Sharp corners for serious tone */
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tech-card:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

/* Event Promo Specifics */
.event-promo .promo-card {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    border-top: 2px solid #0055ff;
    /* Serious accent line */
    background: radial-gradient(circle at top left, rgba(0, 85, 255, 0.05), transparent 60%), #050505;
}

.promo-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 24px;
    line-height: 1.1;
}

.promo-desc {
    font-size: 1.1rem;
    color: #8c9096;
    line-height: 1.7;
    margin-bottom: 40px;
}

.promo-details {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.detail-badge {
    background: #0f1115;
    padding: 10px 16px;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #0055ff;
    border: 1px solid rgba(0, 85, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Event Agenda */
.event-agenda {
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 28px;
}

.agenda-title {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0055ff;
    margin-bottom: 16px;
}

.agenda-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.agenda-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 16px;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.agenda-item:hover {
    background: rgba(255, 255, 255, 0.025);
}

.agenda-time {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: #0055ff;
    min-width: 48px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.agenda-text {
    font-size: 0.9rem;
    color: #8c9096;
    line-height: 1.4;
}

.agenda-item.highlight-agenda {
    background: rgba(0, 85, 255, 0.06);
    border-left: 2px solid #0055ff;
    padding-left: 14px;
}

.agenda-item.highlight-agenda .agenda-text {
    color: #ffffff;
    font-weight: 500;
}

.agenda-item.agenda-break {
    opacity: 0.5;
}

.agenda-item.agenda-break .agenda-text {
    font-style: italic;
}

.promo-content {
    flex: 1.5;
    min-width: 300px;
    z-index: 1;
}

.promo-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Minimal Data Visualizer */
.data-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    opacity: 0.6;
}

.data-node {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.data-node.active {
    background: #0055ff;
    border-color: #0055ff;
    box-shadow: 0 0 15px rgba(0, 85, 255, 0.6);
    animation: nodePulse 2s infinite alternate;
}

.data-node:nth-child(2),
.data-node:nth-child(7),
.data-node:nth-child(14),
.data-node:nth-child(19) {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes nodePulse {
    0% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}


/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    /* Thinner gaps, more dense corporate feel */
}

.service-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 40px;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0055ff;
    transition: width 0.4s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-card:hover::before {
    width: 100%;
}

.sc-icon {
    font-size: 2rem;
    color: #0055ff;
    margin-bottom: 24px;
    font-family: var(--font-mono);
}

.service-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 16px;
}

.service-card p {
    color: #8c9096;
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Tech Stack Marquee */
.tech-marquee {
    overflow: hidden;
    padding: 30px 0;
    background: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 80px 0;
    white-space: nowrap;
    position: relative;
    display: flex;
    width: 100%;
    max-width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: inline-block;
    animation: scrollMarquee 30s linear infinite;
}

.tech-item {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #555;
    margin: 0 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.tech-item:hover {
    color: #fff;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    padding: 120px 5%;
}

.cta-content {
    background: transparent;
    padding: 60px 0;
    border: none;
    box-shadow: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: #fff;
}

.cta-content p {
    color: #8c9096;
    max-width: 500px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Enterprise Buttons */
.btn-enterprise {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: #ffffff;
    color: #000000;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-enterprise:hover {
    background: #0055ff;
    color: #ffffff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 28px;
    background: transparent;
    color: #ffffff;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0055ff;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 85, 255, 0.2);
    padding: 6px 14px;
    border-radius: 2px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: #ffffff;
    line-height: 1.15;
}

/* =============================================
   WHY US
   ============================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.why-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    position: relative;
}

.why-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.why-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #0055ff;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.why-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 500;
}

.why-card p {
    color: #8c9096;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =============================================
   PROJECTS
   ============================================= */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 40px;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
}

.project-featured {
    border-color: rgba(0, 85, 255, 0.2);
    background: radial-gradient(circle at top left, rgba(0, 85, 255, 0.04), transparent 60%);
}

.project-featured:hover {
    border-color: rgba(0, 85, 255, 0.4);
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8c9096;
    margin-bottom: 16px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.live {
    background: #00cc66;
    box-shadow: 0 0 8px #00cc66;
    animation: pulse-dot 2s ease-in-out infinite;
}

.status-dot.oss {
    background: #0055ff;
    box-shadow: 0 0 8px rgba(0, 85, 255, 0.5);
}

.project-card h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 500;
}

.project-desc {
    color: #8c9096;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 20px;
    max-width: 700px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tags span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    color: #8c9096;
}

.project-link {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #0055ff;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.project-link:hover {
    color: #ffffff;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =============================================
   UNIFIED EVENT + SPEAKER SECTION
   ============================================= */
.section-subtitle {
    color: #8c9096;
    font-size: 1.05rem;
    line-height: 1.65;
    margin-top: 12px;
    max-width: 650px;
}

.section-subtitle strong {
    color: #d0d6e0;
    font-weight: 500;
}

.event-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
}

/* Speaker Card (main column) */
.event-speaker-card {
    border-top: 2px solid #0055ff;
    background: radial-gradient(circle at top left, rgba(0, 85, 255, 0.04), transparent 50%), #060608;
}

.event-speaker-top {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.event-speaker-photo {
    width: 120px;
    height: 150px;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.event-speaker-identity {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.speaker-name {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.speaker-role {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: #0055ff;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.speaker-company {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #666;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.speaker-bio-lead {
    font-size: 1rem;
    color: #b0b8c8;
    line-height: 1.75;
    margin-bottom: 24px;
}

.speaker-bio-lead strong {
    color: #ffffff;
    font-weight: 500;
}

/* Credential blocks */
.speaker-credentials {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.credential-block {
    padding: 16px 20px;
    border-left: 2px solid rgba(0, 85, 255, 0.3);
    background: rgba(255, 255, 255, 0.015);
    border-radius: 0 4px 4px 0;
    transition: all 0.3s ease;
}

.credential-block:hover {
    border-left-color: #0055ff;
    background: rgba(0, 85, 255, 0.03);
}

.credential-title {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0055ff;
    margin-bottom: 6px;
}

.credential-text {
    color: #8c9096;
    line-height: 1.6;
    font-size: 0.88rem;
}

.credential-text strong {
    color: #d0d6e0;
    font-weight: 500;
}

.credential-text a {
    color: #4d88ff;
    border-bottom: 1px solid rgba(77, 136, 255, 0.25);
    transition: all 0.2s;
}

.credential-text a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

.credential-text em {
    font-style: italic;
    color: #a0a8b8;
}

/* Quote */
.speaker-quote {
    position: relative;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.05), rgba(124, 92, 252, 0.03));
    border: 1px solid rgba(0, 85, 255, 0.12);
    border-radius: 6px;
}

.speaker-quote::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 20px;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: #0055ff;
    line-height: 1;
    opacity: 0.5;
}

.speaker-quote p {
    color: #b0b8c8;
    line-height: 1.6;
    font-size: 0.9rem;
    font-style: italic;
    padding-left: 8px;
}

.speaker-quote strong {
    color: #ffffff;
    font-weight: 500;
    font-style: normal;
}

/* Sidebar - Event Info Card */
.event-info-card {
    border-top: 2px solid #0055ff;
    background: rgba(0, 85, 255, 0.03);
    position: sticky;
    top: calc(var(--nav-h) + 24px);
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.event-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #555;
}

.meta-value {
    font-size: 0.88rem;
    color: #d0d6e0;
    line-height: 1.4;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .event-promo .promo-card {
        flex-direction: column;
    }

    .promo-visual {
        min-width: auto;
    }

    .event-layout {
        grid-template-columns: 1fr;
    }

    .event-info-card {
        position: static;
    }

    .event-speaker-top {
        flex-direction: column;
        text-align: center;
    }
}