/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --accent-cyan: #dc0a0a;
    --accent-purple: #ff1a1a;
    --accent-pink: #b00808;
    --accent-green: #dc0a0a;
    --accent-orange: #ff1a1a;
    --accent-blue: #dc0a0a;
    --glow-cyan: rgba(220, 10, 10, 0.5);
    --glow-purple: rgba(255, 26, 26, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #dc0a0a;
    border-radius: 50%;
    opacity: 0.2;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-100px) translateX(50px); }
    50% { transform: translateY(-50px) translateX(-50px); }
    75% { transform: translateY(-150px) translateX(100px); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 10, 10, 0.2);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 40px rgba(220, 10, 10, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--text-primary);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, #dc0a0a, #b00808);
    color: var(--text-primary) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(220, 10, 10, 0.3);
}

.nav-cta:hover {
    box-shadow: 0 4px 15px rgba(220, 10, 10, 0.4);
}

.nav-cta::after {
    display: none;
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-burger span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 20px 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: radial-gradient(ellipse at top, rgba(220, 10, 10, 0.1) 0%, transparent 50%);
}

.hero-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 10, 10, 0.1);
    border: 1px solid rgba(220, 10, 10, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.tag-dot {
    width: 8px;
    height: 8px;
    background: #dc0a0a;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #dc0a0a, #ff1a1a, #b00808);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-glow {
    background: linear-gradient(135deg, #dc0a0a, #b00808);
    color: var(--text-primary);
    box-shadow: 0 0 30px rgba(220, 10, 10, 0.5);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(220, 10, 10, 0.7);
}

.btn-glow svg {
    width: 20px;
    height: 20px;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    border-color: #dc0a0a;
    background: rgba(220, 10, 10, 0.1);
}

.btn-ghost svg {
    width: 20px;
    height: 20px;
}

.btn-full {
    width: auto;
    max-width: 300px;
    justify-content: center;
    align-self: flex-start;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #dc0a0a, #ff1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.central-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(220, 10, 10, 0.3), transparent);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: orbPulse 4s infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.4; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

.floating-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 10, 10, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s infinite ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

.card-icon {
    font-size: 2rem;
}

.card-text {
    font-weight: 600;
}

/* Sections */
section {
    padding: 100px 20px;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    background: rgba(220, 10, 10, 0.1);
    border: 1px solid rgba(220, 10, 10, 0.3);
    color: #dc0a0a;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    background: var(--bg-darker);
}

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

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(220, 10, 10, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #dc0a0a, #ff1a1a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 10, 10, 0.5);
}

.card-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #dc0a0a, #ff1a1a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Solutions Section */
.solutions {
    background: var(--bg-dark);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid rgba(220, 10, 10, 0.2);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 10, 10, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.solution-card:hover .card-glow {
    opacity: 0.05;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 10, 10, 0.5);
}

.solution-card[data-color="cyan"]:hover { border-color: #dc0a0a; }
.solution-card[data-color="purple"]:hover { border-color: #ff1a1a; }
.solution-card[data-color="green"]:hover { border-color: #dc0a0a; }
.solution-card[data-color="orange"]:hover { border-color: #ff1a1a; }
.solution-card[data-color="blue"]:hover { border-color: #dc0a0a; }
.solution-card[data-color="pink"]:hover { border-color: #b00808; }

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

.solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #dc0a0a, #b00808);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.solution-icon svg {
    width: 30px;
    height: 30px;
    color: var(--text-primary);
}

.solution-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(220, 10, 10, 0.1);
    border: 1px solid rgba(220, 10, 10, 0.3);
    color: #dc0a0a;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Tech Section */
.tech {
    background: var(--bg-darker);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(220, 10, 10, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tech-item:hover {
    transform: translateY(-5px);
    border-color: #dc0a0a;
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tech-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Downloads Section */
.downloads {
    background: linear-gradient(135deg, var(--bg-card), var(--bg-darker));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.downloads-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.downloads-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.downloads-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-btn {
    background: var(--bg-card);
    border: 1px solid rgba(220, 10, 10, 0.3);
    color: var(--text-primary);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.download-btn:hover {
    border-color: #dc0a0a;
    background: rgba(220, 10, 10, 0.1);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    background: var(--bg-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-box {
    background: var(--bg-card);
    border: 1px solid rgba(220, 10, 10, 0.2);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.info-box:hover {
    border-color: #dc0a0a;
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
}

.info-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--text-secondary);
}

.contact-form-container {
    background: var(--bg-card);
    border: 1px solid rgba(220, 10, 10, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(220, 10, 10, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #dc0a0a;
    background: rgba(220, 10, 10, 0.05);
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label,
.input-group textarea:focus + label,
.input-group textarea:not(:placeholder-shown) + label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.75rem;
    background: var(--bg-card);
    padding: 0 0.5rem;
    color: #dc0a0a;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(220, 10, 10, 0.2);
    padding: 3rem 20px 2rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #dc0a0a;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-burger {
        display: flex;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .solutions-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
}
