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

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: white;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 10, 55, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 10, 55, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, #000a37 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10px, 10px);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.hero {
    text-align: center;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero .title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #0099cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    letter-spacing: -2px;
}

.hero .slogan {
    font-size: 1.8rem;
    font-weight: 300;
    color: #b8c5d6;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #00d4ff;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.services-preview {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
    flex-wrap: wrap;
}

.service-icon {
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.service-icon:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.4);
}

.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 10, 55, 0.4) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    margin: 0 20px 60px;
    box-shadow:
        0 50px 100px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.contact .title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
}

.contact .slogan {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 80px;
    color: #a0b4cc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.contact .slogan span {
    color: #00d4ff;
    font-weight: 700;
    background: rgba(0, 212, 255, 0.15);
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.rows {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.row {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.row:hover::before {
    transform: translateX(100%);
}

.row:hover {
    transform: translateY(-15px);
    box-shadow:
        0 30px 60px rgba(0, 212, 255, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
}

.row-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    opacity: 0.8;
}

.r-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: -0.5px;
}

.r-content {
    font-size: 1.1rem;
    color: #9db3cc;
    margin-bottom: 35px;
    line-height: 1.7;
    font-weight: 400;
}

.row a {
    display: inline-block;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 10px 25px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: none;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.row a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.row a:hover::before {
    left: 0;
}

.row a:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #000a37;
}

.footer {
    text-align: center;
    padding: 40px 0;
    color: #6b7c93;
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .rows {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        padding: 0 20px;
    }
}

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

    .hero .slogan {
        font-size: 1.4rem;
    }

    .contact {
        margin: 0 10px 40px;
        padding: 80px 0;
    }

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

    .rows {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .row {
        padding: 40px 30px;
    }

    .services-preview {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 60px;
    }

    .hero .title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }

    .hero .slogan {
        font-size: 1.2rem;
    }

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

    .contact .slogan {
        font-size: 1.1rem;
    }

    .row {
        padding: 35px 25px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

.row {
    animation: slideUp 0.6s ease forwards;
}

.row:nth-child(1) {
    animation-delay: 0.1s;
}

.row:nth-child(2) {
    animation-delay: 0.2s;
}

.row:nth-child(3) {
    animation-delay: 0.3s;
}

.content-wrapper {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    color: white;
    border-radius: 8px;
}

.content-wrapper h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.content-wrapper hr {
    margin-bottom: 20px;
    border: none;
    height: 1px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

.comment-form {
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
}

.comment-form h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-control {
    margin-bottom: 15px;
}

.form-control label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
}

.form-control input[type="text"],
.form-control textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
}

.form-control textarea {
    min-height: 100px;
}

.rating-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: start;
    gap: 5px;
}

.rating-stars input[type="radio"] {
    display: none;
}

.rating-stars label {
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
}

.rating-stars input:checked~label,
.rating-stars label:hover,
.rating-stars label:hover~label {
    color: #f7c325;
}

.btn-submit {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.comment-list {
    margin-top: 40px;
}

.comment-list h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.comment-card {
    background-color: transparent;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #007bff;
    border-radius: 5px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-header strong {
    font-size: 1.1rem;
}

.stars i {
    color: #f7c325;
    margin-left: 2px;
}

.comment-text {
    margin-top: 10px;
    line-height: 1.5;
}

.comment-date {
    display: block;
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 768px) {
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .rating-stars label {
        font-size: 1.3rem;
    }

    .btn-submit {
        width: 100%;
    }
}