/* Alpha2Zulu Aurora Theme - Inner Pages Stylesheet */
/* Shared styles for all inner pages (About, Services, Pricing, Contact, etc.) */
/* Loaded after main.css - uses variables defined there */

/* ============================================
   BLOB HEADER (CSS Animated Gradient Blobs)
   ============================================ */

.blob-header {
    position: relative;
    height: 400px;
    background: #0F172A;
    overflow: hidden;
}

/* Animated blob container */
.blob-header::before,
.blob-header::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: blobFloat 15s ease-in-out infinite;
}

/* Primary purple blob */
.blob-header::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.8) 0%, rgba(139, 127, 243, 0.4) 40%, transparent 70%);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

/* Secondary gold blob */
.blob-header::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.6) 0%, rgba(212, 175, 55, 0.2) 40%, transparent 70%);
    bottom: -100px;
    left: -50px;
    animation-delay: -7s;
}

/* Third blob via nested element - mouse reactive */
.blob-header .blob-accent {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 127, 243, 0.5) 0%, rgba(108, 92, 231, 0.2) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out;
    pointer-events: none;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -20px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

@keyframes blobPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.3;
    }
}

/* Legacy fluid-header support (keep for backward compatibility) */
.fluid-header {
    position: relative;
    height: 400px;
    background: #0F172A;
    overflow: hidden;
}

.fluid-header canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Nav overrides for dark background (blob and fluid headers) */
.blob-header .nav,
.fluid-header .nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.blob-header .nav-logo img,
.fluid-header .nav-logo img {
    height: 120px;
    width: auto;
}

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

.blob-header .nav-links a,
.fluid-header .nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s;
}

.blob-header .nav-links a:hover,
.fluid-header .nav-links a:hover {
    opacity: 0.7;
}

.blob-header .nav-cta,
.fluid-header .nav-cta {
    background: var(--primary-light, #8B7FF3);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blob-header .nav-cta:hover,
.fluid-header .nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.4);
}

.blob-header .header-content,
.fluid-header .header-content {
    position: absolute;
    bottom: 80px;
    left: 40px;
    z-index: 10;
    text-align: left;
}

.blob-header .tagline,
.fluid-header .tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    max-width: 450px;
}

/* ============================================
   TYPEWRITER EFFECT
   ============================================ */

.typewriter-container {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    min-height: 1.2em;
}

.typewriter-text {
    display: inline;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--primary-light, #8B7FF3);
    margin-left: 4px;
    animation: blink 0.7s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ============================================
   PAGE SECTIONS
   ============================================ */

.page-section {
    padding: 40px 20px;
}

.page-section:nth-child(even) {
    background: rgba(108, 92, 231, 0.03);
}

.page-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Story/Content Blocks */
.story-content {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
}

.story-content p {
    margin-bottom: 1.5rem;
}

/* ============================================
   VALUE/FEATURE CARDS
   ============================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.15);
}

.value-card .icon {
    width: 50px;
    height: 50px;
    background: var(--primary-pale);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-card .icon i {
    font-size: 24px;
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   COMPARISON COLUMNS (3-Column Card Layout)
   ============================================ */

.comparison-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-column {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.comparison-column--highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 8px 30px rgba(108, 92, 231, 0.3);
}

.comparison-column--highlight:hover {
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.4);
}

.comparison-column h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.comparison-column--highlight h3 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.comparison-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.comparison-column li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comparison-column li i {
    flex-shrink: 0;
    margin-top: 3px;
}

.comparison-column li .fa-check {
    color: var(--success);
}

.comparison-column li .fa-xmark {
    color: var(--coral);
}

.comparison-column--highlight li {
    color: rgba(255, 255, 255, 0.95);
}

.comparison-column--highlight li .fa-check {
    color: #86efac;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    padding: 60px 20px;
    text-align: center;
    background: rgba(108, 92, 231, 0.03);
}

.cta-section h2 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: var(--primary);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1rem;
}

.cta-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

/* ============================================
   MOBILE NAV TOGGLE (Dark Header Variant)
   ============================================ */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   RESPONSIVE - INNER PAGES
   ============================================ */

@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .blob-header .nav-links,
    .fluid-header .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(250, 250, 250, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 100px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .blob-header .nav-links.active,
    .fluid-header .nav-links.active {
        right: 0;
    }

    .blob-header .nav-links li,
    .fluid-header .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .blob-header .nav-links a,
    .fluid-header .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 16px;
        color: var(--dark);
    }

    .blob-header .nav-cta,
    .fluid-header .nav-cta {
        display: none;
    }

    .blob-header .nav-logo img,
    .fluid-header .nav-logo img {
        height: 80px;
    }

    .blob-header .header-content,
    .fluid-header .header-content {
        left: 20px;
        right: 20px;
    }

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

@media (max-width: 480px) {
    .blob-header,
    .fluid-header {
        height: 350px;
    }

    .blob-header .header-content,
    .fluid-header .header-content {
        bottom: 40px;
    }

    .typewriter-container {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }
}
