/* Demo Hero Section */
.demo-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    background-attachment: fixed;
    padding: 80px 0;
    color: white;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.demo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.demo-hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.demo-breadcrumb {
    margin-bottom: 35px;
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.15);
    padding: 12px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.demo-breadcrumb a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.demo-breadcrumb a:hover {
    color: white;
    transform: translateX(-3px);
}

.demo-breadcrumb i {
    margin: 0 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
}

.demo-breadcrumb span {
    color: white;
    font-weight: 600;
}

.demo-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.demo-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Content Section */
.demo-content {
    padding-bottom: 80px;
}

.content-wrapper {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.content-block {
    margin-bottom: 50px;
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 3px solid rgba(var(--primary-rgb), 0.1);
}

.content-title i {
    color: var(--primary-color);
    font-size: 2rem;
}

.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 20px;
    text-align: justify;
}

.content-text:last-child {
    margin-bottom: 0;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    border-color: rgba(var(--primary-rgb), 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
}

.value-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.value-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin: 0;
}

/* Achievements List */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.achievement-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.achievement-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.achievement-item span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.4;
}

/* CTA Section */
.cta-section {
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #667eea 100%);
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 200px;
    justify-content: center;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-primary i,
.btn-secondary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i,
.btn-secondary:hover i {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 991px) {
    .demo-hero {
        padding: 60px 0;
    }

    .demo-hero-title {
        font-size: 2.75rem;
    }

    .content-wrapper {
        padding: 40px;
    }

    .content-title {
        font-size: 1.9rem;
    }

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

    .achievements-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .demo-hero {
        padding: 50px 0;
        margin-bottom: 60px;
    }

    .demo-hero-title {
        font-size: 2.25rem;
    }

    .demo-hero-subtitle {
        font-size: 1.1rem;
    }

    .content-wrapper {
        padding: 30px;
    }

    .content-title {
        font-size: 1.6rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .content-text {
        font-size: 1rem;
        text-align: left;
    }

    .value-item {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .value-icon {
        margin: 0 auto;
    }

    .achievement-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .cta-section {
        padding: 40px 25px;
    }

    .cta-content h3 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 15px 25px;
    }

    .demo-content {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .demo-hero-title {
        font-size: 1.9rem;
    }

    .content-wrapper {
        padding: 20px;
    }

    .content-title {
        font-size: 1.4rem;
    }

    .content-title i {
        font-size: 1.6rem;
    }

    .content-block {
        margin-bottom: 40px;
    }

    .cta-section {
        padding: 30px 20px;
    }

    .cta-content h3 {
        font-size: 1.6rem;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Content Block Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    animation: fadeInUp 0.6s ease-out;
}

.content-block:nth-child(2) {
    animation-delay: 0.1s;
}

.content-block:nth-child(3) {
    animation-delay: 0.2s;
}

.content-block:nth-child(4) {
    animation-delay: 0.3s;
}

.content-block:nth-child(5) {
    animation-delay: 0.4s;
}

.content-block:nth-child(6) {
    animation-delay: 0.5s;
}

.content-block:nth-child(7) {
    animation-delay: 0.6s;
}

.content-block:nth-child(8) {
    animation-delay: 0.7s;
}
