﻿
:root {
    --primary: #0077cc;
    --primary-dark: #005fa3;
    --secondary: #656c7c;
    --accent: #ea4c89;
    --success: #10b981;
    --background: #ffffff;
    --surface: #f8fafc;
    --text: #1a1a1a;
    --text-light: #64748b;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--background);
    overflow-x: hidden;
}

/* Hero Section - Completely Redesigned */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 75%, #475569 100%);
    overflow: hidden;
}

/* Animated Steel Framework Background */
.steel-framework {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    z-index: 1;
}

    .steel-framework::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image:
        /* Main vertical I-beams */
        repeating-linear-gradient(90deg, transparent 0px, transparent 120px, #64748b 120px, #64748b 128px),
        /* Horizontal beams */
        repeating-linear-gradient(0deg, transparent 0px, transparent 80px, #475569 80px, #475569 88px),
        /* Cross bracing */
        linear-gradient(45deg, transparent 45%, #64748b 48%, #64748b 52%, transparent 55%), linear-gradient(-45deg, transparent 45%, #64748b 48%, #64748b 52%, transparent 55%);
        background-size: 100% 100%, 100% 100%, 200px 200px, 200px 200px;
        animation: structureFloat 25s ease-in-out infinite;
    }

    .steel-framework::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image:
        /* Connection bolts/rivets */
        radial-gradient(circle at 60px 40px, #64748b 2px, transparent 2px), radial-gradient(circle at 180px 120px, #64748b 2px, transparent 2px), radial-gradient(circle at 300px 200px, #64748b 2px, transparent 2px);
        background-size: 240px 160px;
        animation: rivetShine 20s ease-in-out infinite;
    }

@@keyframes structureFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-10px) rotate(0.5deg);
    }

    50% {
        transform: translateY(-5px) rotate(0deg);
    }

    75% {
        transform: translateY(-15px) rotate(-0.5deg);
    }
}

@keyframes rivetShine {
    0%, 100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

/* Floating Engineering Elements */
.engineering-element {
    position: absolute;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.beam-element {
    top: 15%;
    right: 10%;
    width: 150px;
    height: 20px;
    background: linear-gradient(90deg, #64748b 0%, #475569 100%);
    border-radius: 2px;
    animation-delay: -2s;
}

.column-element {
    bottom: 20%;
    left: 8%;
    width: 25px;
    height: 180px;
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
    border-radius: 2px;
    animation-delay: -8s;
}

.truss-element {
    top: 60%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 60px solid #64748b;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(2deg);
    }

    66% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--success);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-highlight {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 119, 204, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

    .btn-hero-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: all 0.6s ease;
    }

    .btn-hero-primary:hover::before {
        left: 100%;
    }

    .btn-hero-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(0, 119, 204, 0.4);
    }

.btn-hero-secondary {
    padding: 1.2rem 3rem;
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    display: inline-block;
}

    .btn-hero-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-3px);
    }

.hero-visual {
    position: relative;
    animation: slideInRight 1s ease-out;
}

.hero-dashboard {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
}

    .hero-dashboard:hover {
        transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    }

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--surface);
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.dashboard-status {
    padding: 0.5rem 1rem;
    background: var(--success);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 15px;
    border: 1px solid rgba(0, 119, 204, 0.1);
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stats Section - Enhanced */
.stats {
    padding: 5rem 0;
    background: var(--surface);
    position: relative;
}

    .stats::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
    }

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 119, 204, 0.05);
}

    .stat-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Software Section - Redesigned */
.software {
    padding: 8rem 0;
    background: white;
    position: relative;
}

.software-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

/*.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(234, 76, 137, 0.1);
    color: var(--accent);
    border: 1px solid rgba(234, 76, 137, 0.3);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}*/

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 1.5rem;

}

    .section-title .highlight {
        background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.software-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 5rem;
}

.software-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 119, 204, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

    .software-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        z-index: 1;
    }

    .software-card:hover {
        transform: translateY(-15px);
        box-shadow: var(--shadow-xl);
    }

.software-video {
    position: relative;
    background: var(--surface);
    overflow: hidden;
    border-radius: 25px 0 0 25px;
}


    .software-video video {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.software-content {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    overflow-y: auto;
}

.software-header {
    margin-bottom: 1.5rem;
}

.software-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--success);
    color: white;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.software-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.software-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0rem;
}



.software-features {
    padding: 1rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
}

    .feature-list li {
        padding: 1rem 1.5rem;
        background: var(--surface);
        border-radius: 12px;
        position: relative;
        padding-left: 3.5rem;
        color: var(--text);
        /*             border-left: 4px solid var(--primary);
 */ transition: all 0.3s ease;
    }

        .feature-list li:hover {
            background: rgba(0, 119, 204, 0.05);
            transform: translateX(5px);
        }

        .feature-list li::before {
            content: '✓';
            position: absolute;
            left: 1rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--success);
            font-weight: bold;
            font-size: 1.2rem;
            width: 24px;
            height: 24px;
            background: rgba(16, 185, 129, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

.software-actions {
    padding: 2.5rem;
    background: var(--surface);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.btn-demo {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-demo:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 119, 204, 0.3);
    }

.btn-learn {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-learn:hover {
        background: var(--primary);
        color: white;
        transform: translateY(-3px);
    }

/* CTA Section - Enhanced */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, var(--accent) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: rotate 30s linear infinite;
    }

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    line-height: 1.6;
}



@media (max-width: 768px) {

    /* Hero visual - remove */
    .hero-visual {
        display: none;
    }

    /* Software cards - fix video layout */
    .software-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .software-video video {
        height: auto;
        max-height: 380px;
        object-fit: contain;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .software-grid {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    /*.software-card {
        overflow: visible;
        transform: none;
    }*/

    /*.software-video video {
        height: 250px;
        object-fit: cover;
    }*/
    .feature-list {
        list-style-type: disc; /* or none / circle / square – your choice */
        padding-left: 0.5rem;
        padding-left: 0;
        margin-left: 0;
    }

        .feature-list li {
            padding: 0;
            margin: 0;
            font-size: 0.9rem;
        }

            /* .feature-list li {
        padding: 0rem 0rem;
        padding-left: 0rem;
        font-size: 0.9rem;
    }*/
            .feature-list li::before {
                display: none; /* hides the whole pseudo-element */
            }

    .software-title {
        font-size: 1.4rem;
    }

    .software-description {
        font-size: 1rem;
    }

    .software-content {
        overflow-y: visible;
    }

    .software-actions {
        flex-direction: column;
    }
}

/* Covers phones + iPads in portrait (and most tablets) */
@media (max-width: 1024px) {
    /* 1. Completely hide hero-visual on tablets/phones */
    .hero-visual {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }

    /* 2. Fix software cards - single column + better video handling */
    .software-card {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        min-height: auto;
    }

    .software-video {
        border-radius: 25px 25px 0 0;
        height: auto;
    }

        .software-video video {
            width: 100%;
            height: auto;
            max-height: 420px; /* Slightly taller allowance for iPad */
            object-fit: contain;
        }

    .software-content {
        padding: 2rem 1.5rem 2.5rem;
    }

    /* 3. Remove custom checkmark ticks on feature lists */
    .feature-list li::before {
        content: none;
    }

    .feature-list li {
        padding-left: 1.2rem;
        background: none;
    }

    .feature-list {
        list-style-type: disc;
        padding-left: 1.8rem;
    }

    /* Optional: Make titles & text a bit more readable on iPad */
    .software-title {
        font-size: 1.7rem;
    }

    .software-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Loading animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-logo {
    width: 200px;
    height: auto;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

