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

:root {
    --body-background: #f0f3f7;
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--body-background);
}


/* Hero Section */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%); */
    background-image: url('/images/website-development.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    height: 100vh;
    padding: 0 20px;
    text-align: center;
}

#hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

#hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.scroll-indicator {
    margin-top: 5rem;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* SEO Text Section */
.main-text {
    background: var(--bg-light);
}

.main-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.main-content h3 {
    font-size: 24px;
    margin-top: 50px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.main-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

.main-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.main-content li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 50px;
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--white);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin: 20px 0;
}

.service-features li {
    padding: 8px 0 8px 30px;
    position: relative;
    color: var(--text-dark);
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.price-tag {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.order-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.order-btn:hover {
    background: var(--primary-dark);
}

/* Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    position: relative;
}

.advantage-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.15);
}

.advantage-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.6;
}

#section-title-form {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Responsive */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 32px;
    }

    #hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

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

    .contact-form {
        padding: 25px;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .cta-btn {
        padding: 10px 20px;
    }
}

/* Popup */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    text-align: center;
    max-width: 400px;
}

.popup h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.popup button {
    margin-top: 20px;
    padding: 10px 30px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}



/* ===========================
   TECHNOLOGIES SECTION
   =========================== */

#technologies {
    background: white;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 2px solid #f3f4f6;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-color: #667eea;
}

.tech-item img {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.tech-item:hover img {
    transform: scale(1.2) rotate(5deg);
}

.tech-item p {
    font-weight: 600;
    color: #1f2937;
    font-size: 15px;
}


/* Revolutionary Service Section */
.revolutionary-service {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 !important;
}

.revolutionary-service::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.revolutionary-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 60px;
}

.revolutionary-header .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: linear-gradient(45deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    margin-bottom: 20px;
    line-height: 1.2;
}

.revolutionary-header .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    font-weight: 500;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bun-svelte-content {
    position: relative;
    z-index: 2;
}

/* Benchmark Cards */
.benchmarks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.benchmark-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.benchmark-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border-color: rgba(254, 202, 87, 0.3);
}

.benchmark-card.bun-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 184, 61, 0.4), transparent);
    transition: left 0.7s;
}

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

.benchmark-card.svelte-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 62, 0, 0.4), transparent);
    transition: left 0.7s;
}

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

.benchmark-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.benchmark-value {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    animation: counterPulse 2s infinite;
}

@keyframes counterPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.benchmark-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    font-weight: 500;
}

.benchmark-tech {
    font-size: 0.9rem;
    color: rgba(254, 202, 87, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Advantages List */
.advantages-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.advantages-list h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #fff;
    font-weight: 700;
}

.rev-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.rev-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.rev-advantage-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-left: 4px solid #feca57;
}

.rev-advantage-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(254, 202, 87, 0.3);
}

.rev-advantage-content h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.rev-advantage-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
}

/* CTA Button */
#revolutionary-btn {
    background: linear-gradient(135deg, #ff6b6b, #feca57, #ff9ff3);
    background-size: 300% 300%;
    color: #000;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 20px 60px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(254, 202, 87, 0.4);
    position: relative;
    overflow: hidden;
    animation: gradientShift 4s ease infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#revolutionary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

#revolutionary-btn:hover::before {
    left: 100%;
}

#revolutionary-btn:hover {
    background: #dbd9ff;
    transform: translateY(-5px);
    box-shadow: 0 5px 40px #dbd9ff;
}

.cta-container {
    margin-top: 100px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Technology Badges */
.tech-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.tech-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.tech-badge img {
    width: 30px;
    height: 30px;
}

.tech-badge span {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    .revolutionary-header .section-title {
        font-size: 2.5rem;
    }
    
    .benchmark-value {
        font-size: 3rem;
    }
    
    .advantages-list {
        padding: 30px 20px;
    }
    
    .rev-advantage-item {
        flex-direction: column;
        text-align: center;
    }
    
    #revolutionary-btn {
        display: block;
        margin-top: 60px;
        padding: 18px 40px;
        font-size: 1.1rem;
    }
}