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

:root {
    --background: 210 40% 98%;
    --foreground: 210 50% 15%;
    --primary: 210 70% 25%;
    --primary-foreground: 0 0% 100%;
    --muted: 210 30% 85%;
    --muted-foreground: 210 20% 45%;
    --destructive: 12 80% 50%;
    --card: 0 0% 100%;
    --border: 210 30% 88%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    min-height: 100vh;
}

.page-wrapper {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Background Elements */
.background-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.bg-circle-1 {
    right: -8rem;
    top: -8rem;
    height: 24rem;
    width: 24rem;
    background-color: hsla(var(--primary), 0.08);
}

.bg-circle-2 {
    left: -8rem;
    top: 50%;
    height: 24rem;
    width: 24rem;
    background-color: hsla(var(--primary), 0.08);
}

.bg-circle-3 {
    bottom: -8rem;
    right: 25%;
    height: 24rem;
    width: 24rem;
    background-color: hsla(var(--destructive), 0.08);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: center;
    animation: fadeIn 0.6s ease-out;
}

.logo {
    height: 3rem;
    width: auto;
}

@media (min-width: 768px) {
    .logo {
        height: 4rem;
    }
}

/* Main Content */
.main {
    max-width: 1200px;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

/* Maintenance Badge */
.badge-wrapper {
    margin-bottom: 2rem;
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.maintenance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    border: 1px solid hsla(var(--destructive), 0.3);
    background-color: hsla(var(--destructive), 0.1);
    color: hsl(var(--destructive));
    font-size: 0.875rem;
    font-weight: 500;
}

.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: hsl(var(--destructive));
    animation: pulse 2s infinite;
}

/* Heading */
.heading {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
    margin-bottom: 1.5rem;
    max-width: 48rem;
    animation: fadeIn 0.6s ease-out 0.1s both;
}

@media (min-width: 768px) {
    .heading {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .heading {
        font-size: 3.75rem;
    }
}

/* Subheading */
.subheading {
    font-size: 1.125rem;
    line-height: 1.75;
    color: hsl(var(--muted-foreground));
    max-width: 36rem;
    margin-bottom: 3rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .subheading {
        font-size: 1.25rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
    width: 100%;
    max-width: 80rem;
    margin-bottom: 4rem;
    animation: fadeIn 0.6s ease-out 0.2s both;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Service Card */
.service-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: left;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background-color: hsla(var(--primary), 0.1);
    color: hsl(var(--primary));
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.service-description {
    font-size: 0.875rem;
    line-height: 1.6;
    color: hsl(var(--muted-foreground));
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: hsl(var(--destructive));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 10px 30px -10px hsla(var(--destructive), 0.4);
    transition: all 0.3s ease;
    margin-bottom: 3rem;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px -10px hsla(var(--destructive), 0.5);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.6s ease-out 0.3s both;
}

@media (min-width: 640px) {
    .contact-info {
        flex-direction: row;
        gap: 2rem;
    }
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: hsl(var(--primary));
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}