/* Component Styles */

/* Navigation Components */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(55, 65, 81, 0.3);
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    position: relative;
    color: rgba(209, 213, 219, 1);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: white;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neural-400), var(--cyber-400));
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Components */
.hero-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(55, 65, 81, 1);
    border-radius: 9999px;
    color: rgba(209, 213, 219, 1);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: rgba(156, 163, 175, 1);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-family: 'Space Grotesk', system-ui, sans-serif;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(107, 114, 128, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neural-500), var(--cyber-500));
    color: white;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(14, 165, 233, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(107, 114, 128, 1);
    color: white;
}

.btn-secondary:hover {
    border-color: var(--neural-400);
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: rgba(209, 213, 219, 1);
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-ghost:hover {
    color: white;
    background: rgba(17, 24, 39, 0.5);
}

/* Card Components */
.card {
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(55, 65, 81, 1);
    border-radius: 1.5rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.8s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neural-400);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 3rem;
    height: 3rem;
    background: var(--neural-500);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.card-description {
    color: rgba(156, 163, 175, 1);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.card-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(107, 114, 128, 1);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.card-feature-icon {
    width: 1rem;
    height: 1rem;
    color: var(--cyber-400);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(55, 65, 81, 1);
}

.card-price {
    font-family: 'JetBrains Mono', monospace;
    color: var(--neural-400);
    font-weight: 600;
}

/* Service Card Variants */
.service-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(31, 41, 55, 0.7));
    border: 1px solid rgba(55, 65, 81, 1);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--neural-400);
    box-shadow: 0 25px 50px rgba(56, 189, 248, 0.2);
}

/* Tech Card Components */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(55, 65, 81, 1);
    border-radius: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--neural-400);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2);
    background: rgba(17, 24, 39, 0.8);
}

.tech-card img {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
}

.tech-card span {
    font-size: 0.875rem;
    color: rgba(156, 163, 175, 1);
    font-weight: 500;
}

/* Form Components */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    color: rgba(209, 213, 219, 1);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.8);
    border: 1px solid rgba(55, 65, 81, 1);
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--neural-400);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
    background: rgba(17, 24, 39, 1);
}

.form-input::placeholder {
    color: rgba(156, 163, 175, 1);
}

.form-textarea {
    resize: vertical;
    min-height: 8rem;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Contact Components */
.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 3rem;
    height: 3rem;
    background: var(--neural-500);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: rgba(156, 163, 175, 1);
    margin-bottom: 0.25rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(31, 41, 55, 1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(209, 213, 219, 1);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--neural-500);
    color: white;
    transform: translateY(-2px);
}

/* Footer Components */
.footer {
    background: rgba(17, 24, 39, 0.5);
    border-top: 1px solid rgba(55, 65, 81, 1);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(156, 163, 175, 1);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(55, 65, 81, 1);
    text-align: center;
    color: rgba(156, 163, 175, 1);
    font-size: 0.875rem;
}

/* Utility Components */
.gradient-text {
    background: linear-gradient(135deg, var(--neural-400), var(--cyber-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: rgba(156, 163, 175, 1);
    font-size: 1.25rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .card {
        padding: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .card {
        padding: 1rem;
    }

    .service-card {
        padding: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}
