@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary: #2e1462;
    --primary-dark: #1a0c39;
    --secondary: #6a40c0;
    --accent: #ff3e3e;
    --text: #333333;
    --text-light: #777777;
    --text-white: #ffffff;
    --background: #f8f9fa;
    --background-dark: #241b27;
    --card-bg: #ffffff;
    --border: #e0e0e0;
    --success: #28a745;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-dark);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    color: var(--text-white);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo h1 span {
    color: var(--secondary);
    font-weight: 500;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-white);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}


.hero {
    background: linear-gradient(rgba(46, 20, 98, 0.8), rgba(46, 20, 98, 0.9)), url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?ixlib=rb-1.2.1&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    color: var(--text-white);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    background-color: var(--secondary);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 20, 98, 0.2);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--background);
}

.about h2 {
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

.about p {
    color: var(--text);
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 60px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-item h3 {
    color: var(--secondary);
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 0;
}

/* Products Section */
.products {
    background-color: var(--background-dark);
    padding: 100px 0;
    color: var(--text-white);
}

.products h2 {
    font-size: 36px;
    margin-bottom: 60px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-icon {
    margin-bottom: 20px;
    color: var(--secondary);
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.product-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.deprecated {
    position: relative;
    border: 1px solid rgba(255, 62, 62, 0.3);
}

.deprecated::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 62, 62, 0.05) 0%, rgba(46, 20, 98, 0.05) 100%);
    z-index: -1;
    border-radius: 8px;
}

.deprecated-tag {
    color: var(--accent);
    font-size: 16px;
    font-weight: 500;
}

.product-stats {
    font-size: 14px;
    color: var(--secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.legacy-info {
    background-color: rgba(255, 62, 62, 0.1);
    border-left: 3px solid var(--accent);
    padding: 10px 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.legacy-info p {
    margin-bottom: 0;
    font-size: 14px;
}

.red {
    background: linear-gradient(to right, var(--primary-dark), var(--background-dark));
    padding: 100px 0;
    color: var(--text-white);
}

.red h2 {
    color: var(--accent);
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.red-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.red-info {
    flex: 1;
    min-width: 300px;
}

.red-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-white);
}

.red-info p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.red-features {
    margin-bottom: 30px;
}

.red-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.red-features li i {
    color: var(--accent);
    margin-right: 10px;
}

.red-button {
    background-color: var(--accent);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.red-button:hover {
    background-color: #e62e2e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 62, 62, 0.2);
}

.red-image {
    flex: 1;
    min-width: 300px;
}

.terminal {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    background-color: #333;
    padding: 10px;
    display: flex;
    align-items: center;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background-color: #ff5f56;
}

.terminal-button:nth-child(2) {
    background-color: #ffbd2e;
}

.terminal-button:nth-child(3) {
    background-color: #27c93f;
}

.terminal-body {
    padding: 20px;
    font-family: monospace;
    font-size: 14px;
    color: #00ff00;
}

.terminal-body p {
    margin-bottom: 10px;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}


.contact {
    padding: 100px 0;
    background-color: var(--background);
}

.contact h2 {
    color: var(--primary);
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(46, 20, 98, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(106, 64, 192, 0.1);
}

.submit-button {
    background-color: var(--primary);
    color: var(--text-white);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 20, 98, 0.2);
}


footer {
    background-color: var(--background-dark);
    color: var(--text-white);
    padding: 70px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo h3 span {
    color: var(--secondary);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-white);
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--secondary);
}

.footer-social {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-social h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom a {
    color: var(--secondary);
}


@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav ul li {
        margin-left: 15px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about h2,
    .products h2,
    .red h2,
    .contact h2 {
        font-size: 28px;
    }

    .about p {
        font-size: 16px;
    }

    .stat-item h3 {
        font-size: 32px;
    }
}

@media (max-width: 576px) {
    .logo h1 {
        font-size: 20px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .cta-button,
    .red-button,
    .submit-button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .contact-form {
        padding: 20px;
    }
}