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

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(23, 23, 23, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.3), transparent) 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav.scrolled {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.99) 0%, rgba(23, 23, 23, 0.98) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-image: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent) 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
    position: relative;
}

.nav-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50px;
    right: -50px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

.nav-logo:hover .logo-text {
    transform: translateY(-1px);
}

.nav-links {
    display: flex;
    gap: 40px;
    position: relative;
}

.nav-links::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -20px;
    width: 1px;
    height: 30px;
    background: linear-gradient(180deg, transparent, rgba(102, 126, 234, 0.3), transparent);
    transform: translateY(-50%);
}

.nav-link {
    text-decoration: none;
    color: #d4d4d4;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 8px 16px;
    border-radius: 8px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.nav-link.active::after {
    width: 80%;
}

.nav-mobile {
    display: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #d4d4d4;
    transition: all 0.2s ease;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: #a3a3a3;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(38, 38, 38, 0.9);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 64, 64, 0.4);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 15%;
    right: 12%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 35%;
    left: 8%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    top: 65%;
    right: 18%;
    animation-delay: 2s;
}

.floating-card.card-4 {
    top: 25%;
    left: 15%;
    animation-delay: 3s;
}

.floating-card.card-5 {
    bottom: 20%;
    right: 8%;
    animation-delay: 4s;
}

.floating-card.card-6 {
    top: 45%;
    left: 5%;
    animation-delay: 5s;
}

.floating-card.card-7 {
    bottom: 50%;
    right: 25%;
    animation-delay: 1.5s;
}

.floating-card.card-8 {
    top: 35%;
    left: 25%;
    animation-delay: 2.5s;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #e5e5e5;
}

.card-icon {
    font-size: 20px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6de8 0%, #6a429e 100%);
}

.btn-secondary {
    background: rgba(38, 38, 38, 1);
    color: #e5e5e5;
    border: 2px solid #525252;
}

.btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    background: rgba(45, 45, 45, 1);
}

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

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 18px;
    color: #a3a3a3;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #171717;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

.services-grid.secondary-services {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 0;
}

.service-card.featured-service {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.25);
    box-shadow: 0 4px 24px rgba(102, 126, 234, 0.05);
}

.service-card.featured-service:hover {
    border-color: #667eea;
    box-shadow: 0 8px 40px rgba(102, 126, 234, 0.2);
}

.service-card {
    background: rgba(38, 38, 38, 0.7);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(82, 82, 82, 0.6);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border-color: #667eea;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.service-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.service-description {
    color: #a3a3a3;
    margin-bottom: 24px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: #d4d4d4;
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 600;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.pricing-card {
    background: rgba(38, 38, 38, 0.7);
    padding: 40px 32px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(82, 82, 82, 0.6);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border-color: #667eea;
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
}

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

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 20px;
    color: #d4d4d4;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
}

.period {
    font-size: 16px;
    color: #d4d4d4;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: #d4d4d4;
    position: relative;
    padding-left: 24px;
    border-bottom: 1px solid rgba(82, 82, 82, 0.3);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #48bb78;
    font-weight: 600;
    font-size: 16px;
}

.maintenance-pricing {
    text-align: center;
}

.maintenance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.maintenance-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
}

.maintenance-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.maintenance-option {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maintenance-price {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.maintenance-desc {
    font-size: 14px;
    opacity: 0.9;
}

.maintenance-divider {
    font-size: 18px;
    opacity: 0.7;
}

/* Contact Section */
.contact {
    background: #0a0a0a;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.contact-subtitle {
    font-size: 18px;
    color: #a3a3a3;
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #d4d4d4;
}

.contact-icon {
    font-size: 20px;
}

.contact-form-container {
    background: rgba(38, 38, 38, 0.7);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(82, 82, 82, 0.6);
    backdrop-filter: blur(10px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 16px;
    border: 2px solid rgba(82, 82, 82, 0.6);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: rgba(23, 23, 23, 0.8);
    color: #e5e5e5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a3a3a3;
}

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

/* Form Message */
.form-message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.form-message--success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #171717;
    color: #d4d4d4;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(82, 82, 82, 0.3);
}

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

.footer-brand .logo-text {
    color: white;
    font-size: 28px;
}

.footer-tagline {
    margin-top: 8px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2d3748;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 10px;
        right: 10px;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid #2a2a2a;
        border-radius: 8px;
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.mobile-menu-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .floating-card {
        display: none;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid.secondary-services {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-title {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .maintenance-options {
        flex-direction: column;
        gap: 16px;
    }
    
    .maintenance-divider {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .service-card,
    .pricing-card {
        padding: 24px 20px;
    }
    
    .contact-form-container {
        padding: 24px 20px;
    }
    
    .btn {
        padding: 12px 24px;
    }
}

/* Smooth scroll animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .pricing-card {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .service-card:nth-child(1) { animation-delay: 0.1s; }
    .service-card:nth-child(2) { animation-delay: 0.2s; }
    .service-card:nth-child(3) { animation-delay: 0.3s; }
    .service-card:nth-child(4) { animation-delay: 0.4s; }
    
    .pricing-card:nth-child(1) { animation-delay: 0.1s; }
    .pricing-card:nth-child(2) { animation-delay: 0.2s; }
    .pricing-card:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}