/* Nexus Technologies - Modern Tech Template */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: #0a0a0a;
}

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

/* Utility Classes */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: #00d2ff;
    border: 2px solid #00d2ff;
}

.btn-secondary:hover {
    background: #00d2ff;
    color: #0a0a0a;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #00d2ff;
    border: 2px solid #00d2ff;
}

.btn-outline:hover {
    background: #00d2ff;
    color: #0a0a0a;
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 35px;
    font-size: 16px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: #a0a0a0;
    margin-bottom: 50px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: blur(5px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
    margin: 0;
}

.nav-logo span {
    color: #ffffff;
    font-weight: 300;
    -webkit-text-fill-color: #ffffff;
}

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

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #00d2ff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white !important;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 210, 255, 0.6);
    border-radius: 30px;
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.code-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 123, 213, 0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.hero-content {
    width: 100%;
    z-index: 2;
    position: relative;
}

.hero-content .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    margin-bottom: 2rem;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-sub {
    display: block;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.feature-item i {
    color: #00d2ff;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-editor {
    position: relative;
    width: 450px;
    height: 350px;
    background: rgba(30, 30, 30, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transform: translateY(-150px);
    animation: floatEditor 6s ease-in-out infinite;
}

@keyframes floatEditor {
    0%, 100% { transform: translateY(-150px); }
    50% { transform: translateY(-170px); }
}

.editor-header {
    background: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #404040;
}

.editor-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red {
    background: #ff5f56;
}

.control.yellow {
    background: #ffbd2e;
}

.control.green {
    background: #27ca3f;
}

.file-name {
    color: #b0b0b0;
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

.editor-content {
    padding: 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.code-line {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.line-number {
    color: #6a6a6a;
    width: 30px;
    text-align: right;
    margin-right: 20px;
    font-size: 12px;
}

.code-text {
    flex: 1;
}

.keyword {
    color: #569cd6;
    font-weight: bold;
}

.string {
    color: #ce9178;
}

.function {
    color: #dcdcaa;
}

.tag {
    color: #4ec9b0;
}

.attribute {
    color: #92c5f8;
}

.text {
    color: #ffffff;
}

.cursor {
    color: #00d2ff;
    animation: blink 1s infinite;
}

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

.typing {
    animation: typeIn 3s infinite;
}

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

/* Services Section */
.services {
    padding: 120px 0;
    background: #111111;
}

.section-header {
    margin-bottom: 5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    will-change: transform, box-shadow, border-color;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 210, 255, 0.25);
    border-color: #00d2ff;
}


.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.service-description {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}


/* About Section */
.about {
    padding: 120px 0;
    background: #0a0a0a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.about-features .feature-item {
    color: #ffffff;
    background: rgba(0, 210, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #00d2ff;
}

.about-features .feature-item i {
    color: #00d2ff;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    justify-content: flex-start;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.about-image {
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.3);
}

.about-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
}

/* Packages Section */
.packages {
    padding: 120px 0;
    background: #0a0a0a;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.package-card {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.package-card.featured {
    border: 2px solid #00d2ff;
    transform: scale(1.05);
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 210, 255, 0.15);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-header {
    margin-bottom: 2.5rem;
}

.package-header h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.currency {
    color: #00d2ff;
    font-size: 1.5rem;
    font-weight: 600;
}

.price {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.period {
    color: #b0b0b0;
    font-size: 1rem;
    font-weight: 500;
}

.package-features {
    margin-bottom: 3rem;
    text-align: left;
    flex-grow: 1;
}

.package-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1rem 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    line-height: 1.5;
}

.package-features .feature-item:last-child {
    border-bottom: none;
}

.package-features .feature-item i {
    color: #00d2ff;
    font-size: 1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.package-btn {
    width: 100%;
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #111111;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    color: #ffffff;
}

.contact-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-details {
    display: grid;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.contact-item i {
    color: #00d2ff;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-item p {
    color: #b0b0b0;
}

.contact-form-container {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #333;
}

.contact-form h3 {
    color: #ffffff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #333;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d2ff;
    background: rgba(0, 210, 255, 0.05);
}

.form-group label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #b0b0b0;
    font-size: 14px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -12px;
    left: 15px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 0 10px;
    color: #00d2ff;
    font-size: 12px;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #000000;
    padding: 80px 0 30px;
    color: #ffffff;
}

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

.footer-section h3,
.footer-section h4 {
    color: #00d2ff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-logo h3 span {
    color: #ffffff;
    font-weight: 300;
}

.footer-section p,
.footer-section li {
    color: #b0b0b0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer-section li:hover {
    color: #00d2ff;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00d2ff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.social-link:hover {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #888;
}

.footer-bottom a {
    color: #00d2ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        padding: 3rem 0;
        backdrop-filter: blur(20px);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-content .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-features {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .code-editor {
        display: none;
    }
}