* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    z-index: 1000;
}

.whatsapp-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.message-bubble {
    display: none;
    position: fixed;
    bottom: 31px;
    right: 90px;
    background-color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #333;
    z-index: 1000;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff;
    background-color: #1e1e1e;
    overflow-x: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    display: none;
    position: relative;
    min-height: 90vh;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
    padding: 60px 20px;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 60%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 180px;
    height: 180px;
    background: white;
    border-radius: 35% 65% 65% 35% / 35% 35% 65% 65%;
    bottom: 10%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 600px;
    animation: slideUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Categories Section */
.categories {
    padding: 30px 20px;
    background-color: #1e1e1e;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    margin-bottom: 10px;
    margin-top: 20px;
}

.section-subtitle {
    text-align: center;
    color: #b0b0b0;
    font-size: 18px;
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.category-card {
    background: #252526;
    border-radius: 0;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: transform 0.3s ease, border-color 0.3s ease, filter 0.3s ease;
    position: relative;
    overflow: visible;
    border: 1px solid #3e3e42;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    will-change: transform, filter;
    opacity: 1;
    animation: fadeInUp 0.6s ease forwards;
}

.category-card:nth-child(1) {
    animation-delay: 0s;
}

.category-card:nth-child(2) {
    animation-delay: 0.1s;
}

.category-card:nth-child(3) {
    animation-delay: 0.2s;
}

.category-card:nth-child(4) {
    animation-delay: 0.3s;
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.4));
}

.card-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
    width: fit-content;
}

.category-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
}

.card-brand {
    color: #10b981;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: capitalize;
}

.category-card p {
    color: #d1d5db;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-overlay {
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 15px;
}

.category-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat h4 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    color: var(--text-light);
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 0px 20px;
    text-align: left;
    color: #6b7280;
    font-size: 13px;
    position: relative;
    transform: translateY(-50px);
    line-height: 1;
    overflow: hidden;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 600px;
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-dark);
}

.modal-category-title {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modal-category-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.modal-softwares {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.software-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.software-item:hover {
    background: #e0e7ff;
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 32px;
    }

    .modal-softwares {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
    }

    .category-card {
        padding: 30px 20px;
    }

    .card-icon {
        font-size: 36px;
    }

    .category-card h3 {
        font-size: 18px;
    }
}
