* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0c10;
    color: #eef2ff;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(10, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #fff, #3b82f6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
}
.logo span {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
}
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-menu a {
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    transition: 0.2s;
}
.nav-menu a:hover {
    color: #3b82f6;
}
.nav-btn {
    background: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    color: white !important;
}

.hero {
    padding: 5rem 0 4rem;
    background: radial-gradient(circle at 20% 30%, #111827, #0a0c10);
}
.hero-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1.2;
}
.hero-badge {
    display: inline-block;
    background: rgba(59,130,246,0.2);
    padding: 0.3rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #60a5fa;
    margin-bottom: 1.5rem;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.gradient-text {
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.hero-content p {
    font-size: 1.1rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 90%;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn-primary {
    background: #3b82f6;
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}
.btn-outline {
    background: transparent;
    border: 1px solid #3b82f6;
    color: #3b82f6;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}
.btn-outline:hover {
    background: rgba(59,130,246,0.1);
}
.hero-visual {
    flex: 0.8;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
}
.code-icon i {
    font-size: 2.5rem;
    margin: 0 0.3rem;
    color: #3b82f6;
}
.stats {
    margin-top: 1rem;
    font-weight: 600;
    color: #94a3b8;
}

.section {
    padding: 5rem 0;
}
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-tag {
    display: inline-block;
    background: rgba(59,130,246,0.15);
    color: #60a5fa;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}
.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
}
.dark-bg {
    background: #0f1117;
}
.light-bg {
    background: #111827;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}
.service-card {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(4px);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: 0.25s;
    border: 1px solid rgba(255,255,255,0.05);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: #3b82f6;
    background: rgba(59,130,246,0.05);
}
.service-card i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}
.service-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}
.service-card p {
    color: #9ca3af;
    font-size: 0.95rem;
}

.carousel-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
}
.carousel-slides {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}
.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
}
.carousel-slide .ref-card {
    margin: 0 auto;
    max-width: 380px;
}
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}
.carousel-prev, .carousel-next {
    background: #3b82f6;
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}
.carousel-prev:active, .carousel-next:active {
    transform: scale(0.95);
}
.carousel-dots {
    display: flex;
    gap: 0.6rem;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: #4b5563;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.2s;
    touch-action: manipulation;
}
.dot.active {
    background-color: #3b82f6;
    transform: scale(1.2);
}

.ref-card {
    background: #111827;
    border-radius: 1.5rem;
    overflow: hidden;
    transition: 0.2s;
    border: 1px solid #1f2937;
}
.ref-card:hover {
    transform: scale(1.02);
    border-color: #3b82f6;
}
.ref-img {
    background: #1e293b;
    padding: 2rem;
    text-align: center;
    font-size: 2rem;
    color: #3b82f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 160px;
}
.ref-img img {
    max-width: 80%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0.95);
    transition: filter 0.2s;
}
.ref-card:hover .ref-img img {
    filter: brightness(1.1);
}
.ref-img span {
    font-size: 0.85rem;
    color: #94a3b8;
    background: rgba(0,0,0,0.3);
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}
.ref-content {
    padding: 1.5rem;
}
.ref-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}
.ref-link {
    display: inline-block;
    margin-top: 1rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.pricing-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 1.5rem;
    padding: 2rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: 0.25s;
}
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}
.pricing-card.featured {
    border: 2px solid #3b82f6;
    background: #1e293b;
}
.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}
.pricing-card ul {
    text-align: left;
    list-style: none;
    padding-left: 0;
}
.pricing-card li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}
.pricing-card li::before {
    content: "✓";
    color: #3b82f6;
    position: absolute;
    left: 0;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 1rem;
    overflow: hidden;
}
.faq-question {
    background: #1e293b;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    touch-action: manipulation;
}
.faq-question:hover {
    background: #2d3a4f;
}
.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #cbd5e1;
}
.faq-item.active .faq-answer {
    padding: 1rem 1.5rem;
    max-height: 200px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background: #111827;
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid #1f2937;
}
form {
    flex: 2;
}
.contact-info {
    flex: 1;
    background: #0f1117;
    border-radius: 1.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #cbd5e1;
}
.info-item i {
    width: 2rem;
    color: #3b82f6;
}
.form-group {
    margin-bottom: 1.2rem;
}
input, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 1rem;
    font-family: inherit;
    color: white;
    font-size: 1rem;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
}
.full-width {
    width: 100%;
    justify-content: center;
}

.footer-links {
    margin-bottom: 1rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    margin: 0 0.5rem;
}
.footer-links a:hover {
    color: #3b82f6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #111827;
    color: #eef2ff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    z-index: 1000;
    border-top: 1px solid #3b82f6;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-banner.show {
    transform: translateY(0);
}
.cookie-banner p {
    margin: 0;
    flex: 1;
}
.cookie-banner button {
    background: #3b82f6;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    touch-action: manipulation;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}
.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    animation: fadeInUp 0.3s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #1a1a2e;
}
.close-modal {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    transition: 0.2s;
    touch-action: manipulation;
}
.modal-body {
    padding: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}
.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    text-align: right;
}
.btn-modal-close {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    touch-action: manipulation;
}

.hamburger {
    display: none;
    cursor: pointer;
    touch-action: manipulation;
}
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #eef2ff;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 12, 16, 0.95);
        backdrop-filter: blur(12px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1.5rem;
        z-index: 99;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 0;
    }
    .nav-menu a {
        font-size: 1.2rem;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-grid {
        flex-direction: column;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .carousel-container {
        max-width: 100%;
    }
    .carousel-prev, .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}