/* ===================================
   PAGES.CSS - Page-specific styles
   =================================== */

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1a2e 0%, #16213e 25%, #0f3460 75%, #533a7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reduced height for all pages except main index */
body[data-page="services"] .hero,
body[data-page="process"] .hero,
body[data-page="integrations"] .hero,
body[data-page="about"] .hero,
body[data-page="industries"] .hero,
body[data-page="faq"] .hero {
    height: 50vh;
}

.hero-about {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Animated Background Gradient */
.hero::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0,188,212,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(156,39,176,0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(83,58,125,0.15) 0%, transparent 50%);
}

/* Hero Content */
.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 10;
    position: relative;
    max-width: 1200px;
    padding: 0 20px;
}

/* Updated Hero Title with Typewriter */
.hero-title {
    font-size: 2.5rem !important;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-weight: 700;
}

.typewriter-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    min-height: 3.2rem;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    height: 120px;
}

#automateText {
    color: var(--white);
    font-weight: 700;
}

.typewriter-cursor {
    display: inline-block;
    color: var(--primary-cyan);
    font-weight: 400;
}

.automate-icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    opacity: 0.9;
    flex-shrink: 0;
}

.automate-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-cyan);
    fill: none;
    stroke-width: 2;
    filter: drop-shadow(0 0 6px rgba(0, 188, 212, 0.3));
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Default section background */
.section {
    background: var(--white);
}

/* Specific section backgrounds */
.workflow-automation {
    background: var(--light-bg);
}

.custom-tools {
    background: var(--darker-bg);
    color: var(--white);
}

/* Scroll Indicator */
.scroll-indicator {
    display: none !important;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 12px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 1px;
}

.scroll-text {
    font: 400 12px var(--font-primary);
    margin-top: 8px;
    letter-spacing: 1px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 25%, #0a1a2e 75%, #0f1419 100%);
    color: var(--white);
}

.services::before {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 25%, #0a1a2e 75%, #0f1419 100%);
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-title {
    font: 700 var(--font-size-h2) var(--font-primary);
    margin-bottom: var(--container-padding);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: var(--line-height);
}

.service-subtitle {
    font-size: var(--font-size-body);
    color: var(--primary-cyan);
    margin-bottom: var(--container-padding);
    line-height: 1.5;
    font-weight: 500;
}

.service-description {
    font-size: var(--font-size-small);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-features {
    margin-bottom: 25px;
}

.service-features h4 {
    color: var(--white);
    font: 600 var(--font-size-body) var(--font-primary);
    margin-bottom: 15px;
}

.service-features ul {
    list-style: none;
    color: var(--text-light);
    line-height: 1.8;
}

.service-features li {
    margin-bottom: 8px;
    font-size: var(--font-size-small);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.service-features li::before {
    content: "✓";
    color: var(--primary-cyan);
    font-weight: bold;
    font-size: var(--font-size-small);
    margin-top: 2px;
    flex-shrink: 0;
}

.service-ideal {
    color: var(--primary-cyan);
    font: 500 var(--font-size-small) var(--font-primary);
    margin-top: auto;
    padding-top: var(--container-padding);
    border-top: 1px solid rgba(255,255,255,0.08);
}

/* ===================================
   PROCESS SECTION
   =================================== */
.process {
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.process::before {
    background: var(--white);
}

.system-mode-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,188,212,0.1);
    border: 1px solid rgba(0,188,212,0.3);
    border-radius: 25px;
    padding: 8px 16px;
    color: var(--primary-cyan);
    font: 500 12px var(--font-primary);
    cursor: pointer;
    opacity: 0.7;
    z-index: 10;
}

.flow-text {
    position: relative;
    padding-right: 40px;
}

.flow-text h2 {
    font: 700 48px/1.1 var(--font-primary);
    margin-bottom: 30px;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flow-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.flowline {
    position: absolute;
    top: 50%;
    right: -60px;
    width: 140px;
    height: 80px;
    opacity: 0.7;
    z-index: 3;
    transform: translateY(-50%);
}

.flowline path {
    stroke: var(--primary-cyan);
    stroke-width: 2.5;
    fill: none;
}

.flowline circle {
    fill: var(--primary-cyan);
    opacity: 0.8;
}

.connection-grid {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.connection-line {
    stroke: var(--primary-cyan);
    stroke-width: 1.8;
    fill: none;
    opacity: 0.3;
}

.connection-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 4;
}

.arrow {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    position: relative;
    border-radius: 2px;
}

.arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -6px;
    width: 0;
    height: 0;
    border-left: 12px solid var(--primary-blue);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

/* ===================================
   ROADMAP STREAM SECTION
   =================================== */
.roadmap-stream {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #2196f3 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.roadmap-stream::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #2196f3 100%);
    border-radius: 0;
    z-index: 1;
}

.roadmap-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.roadmap-header {
    text-align: center;
    margin-bottom: 80px;
}

.roadmap-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.roadmap-subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.content-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-visual-image-container {
    max-width: 300px;
    max-height: 250px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.content-visual-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    border-radius: 10px;
}

.content-right {
    padding-left: 20px;
}

.content-right h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.content-right p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.95;
}

.content-right p:last-child {
    margin-bottom: 0;
}

.content-display-area > * {
    opacity: 1;
}

/* ===================================
   TECHNICAL SECTION
   =================================== */
.technical {
    background: var(--darker-bg);
    color: var(--white);
    overflow: hidden;
}

.technical::before {
    background: var(--darker-bg);
}

.technical-container {
    position: relative;
    z-index: 2;
}

.technical-header {
    text-align: center;
    margin-bottom: 80px;
}

.subtitle {
    color: var(--primary-pink);
    font: 600 var(--font-size-small) var(--font-primary);
    letter-spacing: 2px;
    margin-bottom: var(--container-padding);
    text-transform: uppercase;
}

.technical-header h2 {
    font: 700 56px/1.2 var(--font-primary);
    margin-bottom: var(--container-padding);
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.technical-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.architecture-flow {
    position: relative;
    margin: 80px 0;
}

/* ===================================
   INTEGRATIONS SECTION
   =================================== */
.integrations-section {
    background: #ffffff;
    position: relative;
}

/* .integrations-section::before {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
} */

.ticker-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 0;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.ticker-wrap {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: linear-gradient(90deg, white 0%, transparent 5%, transparent 95%, white 100%);
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
}

.logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.logo img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
}

.category-label {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #1e293b;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 10px;
}

.category-divider {
    width: 2px;
    height: 20px;
    background: #e2e8f0;
    margin: 0 20px;
    flex-shrink: 0;
}

.ticker-container.full-width {
    /* margin: 20px 0 0 0; */
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    background: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.ticker-container.full-width .ticker-wrap {
    background: linear-gradient(90deg, white 0%, transparent 2%, transparent 98%, white 100%);
}

.ticker-container.full-width .ticker-content {
    padding: 0 40px;
}

.software-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #e1e8f0;
    margin: 40px 0;
}

.software-note {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
    margin: 0;
}

.inline-link {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
}

/* ===================================
   INDUSTRIES SECTION
   =================================== */
.industries-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #d6e3f0 0%, #c6d8eb 25%, #b0c8e0 50%, #9abde0 75%, #7a9bdd 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #007acc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   RESPONSIVE DESIGN - PAGES
   =================================== */
@media (min-width: 768px) {
    .typewriter-container {
        gap: 1rem;
    }
    
    .automate-icon {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .typewriter-container {
        gap: 0.8rem;
    }
    
    .automate-icon {
        width: 28px;
        height: 28px;
    }

    .services-title {
        font-size: 36px;
    }

    .roadmap-stream {
        padding: 80px 0;
    }

    .roadmap-title {
        font-size: 36px;
    }

    .roadmap-subtitle {
        font-size: 16px;
    }

    .content-right {
        padding-left: 0;
    }

    .content-right h3 {
        font-size: 24px;
    }

    .content-right p {
        font-size: 15px;
    }

    .content-visual-image-container {
        max-width: 250px;
        max-height: 200px;
        margin: 0 auto;
    }

    .flow-text h2 {
        font-size: 36px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .industries-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 18px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem !important;
    }
    
    .typewriter-container {
        gap: 0.5rem;
    }
    
    .automate-icon {
        width: 24px;
        height: 24px;
    }

    .services-title {
        font-size: 32px;
    }

    .flow-text h2 {
        font-size: 32px;
    }

    .roadmap-container {
        padding: 0 15px;
    }

    .roadmap-title {
        font-size: 28px;
    }

    .content-right h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .contact-layout {
        padding: 0 15px;
        gap: 24px;
    }

    .contact-title {
        font-size: 1.8rem;
    }
}

/* ===================================
   ABOUT PAGE STYLES
   =================================== */
.founder-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.founder-profile-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid #e1e8f0;
    transition: all var(--transition-smooth);
    position: sticky;
    top: 40px;
}


 <!-- Additional CSS for About Page Specific Components -->
    <style>
        /* About Page Specific Styles - Add to pages.css */
        .founder-layout {
            display: grid;
            grid-template-columns: 350px 1fr;
            gap: 60px;
            align-items: start;
            margin-bottom: 80px;
        }

        .founder-profile-card {
            background: var(--white);
            border-radius: var(--border-radius);
            padding: 40px;
            box-shadow: var(--shadow-soft);
            text-align: center;
            border: 1px solid #e1e8f0;
            transition: all var(--transition-smooth);
            position: sticky;
            top: 40px;
        }

        .founder-profile-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 25px 50px rgba(0, 188, 212, 0.15);
            border-color: rgba(0, 188, 212, 0.3);
        }

        .founder-photo {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 25px;
            overflow: hidden;
            position: relative;
        }

        .founder-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .photo-placeholder {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-cyan), var(--primary-blue));
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 48px;
            font-weight: 700;
        }

        .founder-name {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .founder-title {
            color: var(--primary-cyan);
            font-weight: 600;
            margin-bottom: 30px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.9rem;
        }

        .founder-highlights {
            border-top: 1px solid #f0f0f0;
            padding-top: 25px;
        }

        .highlight-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .highlight-item:last-child {
            margin-bottom: 0;
        }

        .highlight-icon {
            font-size: 1.1rem;
        }

        .story-content {
            display: flex;
            flex-direction: column;
            gap: 35px;
        }

        .story-section {
            background: rgba(0, 188, 212, 0.02);
            border-radius: 15px;
            padding: 35px;
            border-left: 4px solid var(--primary-cyan);
            transition: all var(--transition-smooth);
        }

        .story-section:hover {
            background: rgba(0, 188, 212, 0.05);
            transform: translateX(5px);
        }

        .story-heading {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .story-section p {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 15px;
            font-size: 1.05rem;
        }

        .story-section p:last-child {
            margin-bottom: 0;
        }

        .work-principles {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .work-principles li {
            color: var(--text-secondary);
            line-height: 1.7;
            margin-bottom: 15px;
            padding-left: 25px;
            position: relative;
            font-size: 1.05rem;
        }

        .work-principles li:last-child {
            margin-bottom: 0;
        }

        .work-principles li::before {
            content: "✓";
            color: var(--primary-cyan);
            font-weight: bold;
            position: absolute;
            left: 0;
            top: 0;
            font-size: 1.1rem;
        }

        .sr-only {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }

        .values-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .value-card {
            background: var(--white);
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            border: 1px solid #e1e8f0;
            transition: all var(--transition-smooth);
        }

        .value-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 188, 212, 0.15);
            border-color: rgba(0, 188, 212, 0.3);
        }

        .value-icon {
            font-size: 2.5rem;
            margin-bottom: 20px;
            display: block;
        }

        .value-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
        }

        .value-description {
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.6;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .founder-layout {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .founder-profile-card {
                position: static;
                order: -1;
            }

            .story-section {
                padding: 25px 20px;
            }

            .values-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .founder-photo {
                width: 100px;
                height: 100px;
            }

            .photo-placeholder {
                font-size: 36px;
            }

            .story-section {
                padding: 20px 15px;
            }

            .value-card {
                padding: 30px 20px;
            }
        }
    </style>