:root {
    --bg-color: #fafafa;
    --surface-color: #ffffff;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --accent-primary: #4f46e5;
    --accent-secondary: #9333ea;
    --gradient-main: linear-gradient(135deg, #4f46e5 0%, #9333ea 100%);
    --font-main: 'Outfit', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.padding-container {
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.text-gradient {
    background: var(--gradient-main);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    animation: gradient-shift 5s ease infinite;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--gradient-main);
    color: white;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

.btn-primary:active {
    transform: scale(0.95);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-primary);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid #e5e7eb;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Header */
.header {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(250, 250, 250, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-primary);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    /* Offset for header */
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    color: var(--text-primary);
}

.hero-desc {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Services */
.services {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

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

.service-card {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f3f4f6;
    transition: all 0.4s ease;
}

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

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 16px;
    transition: background 0.3s;
}

.service-card:hover .icon {
    background: #eef2ff;
    transform: rotate(5deg) scale(1.1);
}

.service-card .icon i {
    transition: transform 0.3s ease;
}

.service-card:hover .icon i {
    color: var(--accent-primary);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Pricing */
.pricing {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    background-color: #f9fafb;
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.pricing-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    transition: all 0.4s ease;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--accent-primary);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.15);
    z-index: 2;
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
    animation: pulse-glow 2s infinite;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
}

.card-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price small {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.currency {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary);
}

.desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.delivery-time {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-primary);
    background: #eef2ff;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    align-self: center;
}

.features-list {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.check-icon {
    color: var(--accent-primary);
    font-weight: bold;
}

.card-footer {
    text-align: center;
}

.full-width {
    width: 100%;
    text-align: center;
}


/* Maintenance Section */
.maintenance-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.maintenance-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.maintenance-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.domain-info {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 1rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    text-align: center;
    color: #166534;
    font-size: 0.95rem;
}

.maintenance-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.maintenance-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s;
    position: relative;
}

.maintenance-card:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.maintenance-card.popular-m {
    border: 2px solid var(--accent-secondary);
    background: white;
}

.popular-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--accent-secondary);
    color: white;
    font-size: 0.75rem;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
}

.m-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: center;
}

.m-header h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.m-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.m-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.maintenance-card ul li {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.maintenance-card ul li i {
    color: var(--accent-primary);
    margin-top: 3px;
    font-size: 0.8rem;
}

/* Extras */
.extras-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    max-width: 900px;
    margin: 0 auto;
}

.extras-container h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.extras-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.extra-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.extra-label {
    font-weight: 600;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.extra-price {
    color: var(--accent-primary);
    font-weight: 800;
    font-size: 1.1rem;
}

/* Process */
.process {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
    background-color: white;
}

.process-container {
    display: flex;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.process-info {
    flex: 1;
    min-width: 300px;
}

.process-visual {
    flex: 1;
    min-width: 300px;
    height: 500px;
    background: var(--gradient-main);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.2);
}

.process-visual .visual-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    font-weight: 800;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: float 6s ease-in-out infinite;
}

.visual-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    font-weight: 800;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.process-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.process-list li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.check {
    color: white;
    background: var(--accent-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* FAQ */
.faq {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    background-color: #f9fafb;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-primary);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 1rem;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: #fafafa;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Active State for FAQ */
.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Contact */
.contact {
    padding-bottom: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    background: white;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px solid #f3f4f6;
    transition: transform 0.3s;
}

.info-item:hover {
    transform: translateX(10px);
    border-color: var(--accent-primary);
}

.info-icon {
    font-size: 1.8rem;
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    flex: 1.2;
    min-width: 300px;
    background: white;
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e5e7eb;
    /* Ensure form is on top */
    position: relative;
    z-index: 10;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 11;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s;
    /* Ensure inputs are clickable */
    position: relative;
    z-index: 12;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

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

/* Footer */
.footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
    border-top: 1px solid #e5e7eb;
    background-color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.socials {
    display: flex;
    gap: 2rem;
}

.socials a {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.socials a:hover {
    color: var(--accent-primary);
}

/* Form Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.success-message .success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

.fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

/* Scroll Animation Class */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .process-container {
        flex-direction: column;
    }

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

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

/* New Animations */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(147, 51, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(147, 51, 234, 0);
    }
}