/* ========== Global Styles ========== */
:root {
    --primary-color: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --secondary-color: #f97316;
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #a78bfa 100%);
    --gradient-hero: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 50%, #ddd6fe 100%);
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
    --border-radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ========== Navbar ========== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
}

.brand-bsu {
    color: var(--primary-color);
}

.brand-tech {
    color: var(--text-dark);
}

.brand-dot {
    color: var(--secondary-color);
}

.nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(124, 58, 237, 0.1);
}

.nav-buttons .btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    background: var(--gradient-primary);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ========== Hero Section ========== */
.hero-section {
    background: var(--white);
    min-height: calc(85vh - 85px);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 480px;
    line-height: 1.8;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: 8px;
    font-weight: 600;
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: var(--white);
}

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 1;
}

.hero-img-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #c7d2fe 0%, #ddd6fe 50%, #e9d5ff 100%);
    border-radius: 50%;
    z-index: 0;
}

.main-hero-img {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    border-radius: 50%;
}

.hero-dots {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 2;
}

.dot-1 {
    background: var(--primary-color);
    top: 15%;
    right: 10%;
}

.dot-2 {
    background: #fbbf24;
    bottom: 30%;
    left: 5%;
}

.dot-3 {
    background: #10b981;
    top: 40%;
    right: 5%;
}

/* ========== Section Styles ========== */
.section-header {
    margin-bottom: 50px;
}

.section-header.text-center {
    text-align: center;
}

.section-badge {
    display: inline-block;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Platform Overview Section ========== */
.platform-overview-section {
    padding: 100px 0;
    background: var(--white);
}

.platform-content {
    margin-top: 50px;
}

.platform-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.platform-info {
    padding-left: 30px;
}

.platform-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.platform-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ========== Features Section ========== */
.features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-tabs {
    margin-top: 50px;
}

.nav-pills .nav-link {
    color: var(--text-gray);
    background: transparent;
    border: 2px solid var(--text-gray);
    border-radius: 50px;
    padding: 12px 28px;
    margin: 0 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

.nav-pills .nav-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-buttons {
    display: flex !important;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.filter-btn {
    display: inline-block !important;
    padding: 10px 24px;
    border: 2px solid #e5e7eb;
    background: var(--white);
    border-radius: 50px;
    color: var(--text-gray);
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: var(--white);
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

/* ========== How It Works Section ========== */
.how-it-works-section {
    padding: 100px 0;
    background: var(--white);
}

.process-timeline {
    margin-top: 60px;
    position: relative;
}

.process-steps {
    margin-bottom: 40px;
}

.process-step {
    position: relative;
    padding: 0 15px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content {
    text-align: center;
    padding: 0 15px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.step-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ========== Mission & Vision Section ========== */
.mission-vision-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.mission-vision-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
}

.mission-vision-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.mission-vision-card p {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-wrapper {
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    color: var(--white);
}

.cta-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.cta-wrapper p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.cta-wrapper .btn-light {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    padding: 14px 30px;
    border-radius: 50px;
}

.cta-wrapper .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== Footer ========== */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 20px;
}

.footer-brand .brand-bsu {
    color: var(--primary-light);
}

.footer-brand .brand-tech {
    color: var(--white);
}

.footer-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-right: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--primary-light);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========== Text Content Decorative Shapes ========== */
.text-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.text-shape-1 {
    width: 80px;
    height: 80px;
    background: #6366f1;
    top: -40px;
    left: 5%;
    animation: float 7s ease-in-out infinite;
}

.text-shape-2 {
    width: 60px;
    height: 60px;
    background: #8b5cf6;
    top: 30%;
    right: -50px;
    animation: pulse 5s ease-in-out infinite;
}

.text-shape-3 {
    width: 70px;
    height: 70px;
    background: #a78bfa;
    bottom: 25%;
    left: -60px;
    animation: float 6s ease-in-out infinite reverse;
}

/* ========== Hero Decorative Shapes ========== */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    z-index: 0;
}

.shape-top-left {
    width: 80px;
    height: 80px;
    background: #6366f1;
    top: -40px;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.shape-bottom-right {
    width: 70px;
    height: 70px;
    background: #6366f1;
    bottom: -40px;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

/* ========== Keyframe Animations ========== */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.2);
        opacity: 0.25;
    }
}

/* ========== Animation classes ========== */
.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-image {
        margin-top: 50px;
    }

    .hero-circle {
        width: 300px;
        height: 300px;
    }

    .nav-buttons {
        margin-top: 20px;
        display: flex;
        gap: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-wrapper {
        padding: 40px 30px;
        text-align: center;
    }

    .cta-wrapper .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }

    .platform-info {
        padding-left: 0;
        margin-top: 30px;
    }

    .nav-pills .nav-link {
        margin-bottom: 10px;
    }

    .process-step {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-circle {
        width: 250px;
        height: 250px;
    }

    .main-hero-img {
        max-width: 280px;
    }

    .platform-overview-section,
    .features-section,
    .how-it-works-section,
    .mission-vision-section {
        padding: 60px 0;
    }

    .feature-card,
    .mission-vision-card {
        padding: 25px;
    }

    .cta-wrapper h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 70px 0 30px;
        min-height: auto;
    }

    .hero-section .row {
        flex-direction: column-reverse;
    }

    .hero-section .col-lg-6 {
        width: 100% !important;
        max-width: 100%;
    }

    .hero-content {
        margin-bottom: 20px;
    }

    .hero-image {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
        max-width: 100%;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .hero-buttons .btn-lg {
        width: 100%;
        text-align: center;
        padding: 10px 16px;
        font-size: 12px;
    }

    .hero-circle {
        width: 200px;
        height: 200px;
    }

    .main-hero-img {
        max-width: 240px;
        height: 240px;
    }

    .hero-img-wrapper {
        justify-content: center;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .section-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .section-desc {
        font-size: 0.95rem;
    }

    .platform-overview-section,
    .features-section,
    .how-it-works-section,
    .mission-vision-section {
        padding: 40px 0;
    }

    .platform-content {
        margin-top: 30px;
    }

    .platform-info {
        padding-left: 0;
        margin-top: 20px;
    }

    .platform-info h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .platform-info p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .feature-card,
    .mission-vision-card {
        padding: 20px;
        margin-bottom: 15px;
    }

    .feature-icon,
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .feature-card h4,
    .mission-vision-card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .feature-card p,
    .mission-vision-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .nav-pills {
        flex-wrap: wrap;
        gap: 8px;
    }

    .nav-pills .nav-link {
        padding: 8px 16px;
        font-size: 0.9rem;
        margin: 0;
    }

    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .step-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .process-step {
        padding: 0 10px;
        margin-bottom: 30px;
    }

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

    .cta-wrapper {
        padding: 25px 15px;
    }

    .cta-wrapper h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .cta-wrapper p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .cta-wrapper .btn-light {
        padding: 10px 20px;
        font-size: 13px;
        width: 100%;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-brand {
        font-size: 1.4rem;
    }

    .footer h5 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .footer-links li,
    .footer-contact li {
        margin-bottom: 10px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 30px;
    }

    .footer-bottom p {
        font-size: 0.95rem;
    }
}