/* Global Reset & Base Styles */
:root {
    --bg-color: #0d0015;
    /* Deep mystical purple/black */
    --text-color: #e0dbe9;
    --accent-color: #9d4edd;
    --secondary-accent: #ff9e00;
    /* Goldish for mystical feel */
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Cinzel', serif;
    /* Mystical serif if available, fallback serif */
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Effects */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(157, 78, 221, 0.15) 0%, transparent 60%);
    z-index: -1;
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    /* Reduced vertical padding for smaller screens */
    text-align: center;
    position: relative;
    width: 100%;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /* Ensure centering */
    animation: fadeInUp 1s ease-out;
    display: flex;
    /* Added to ensure child centering */
    justify-content: center;
    /* Added to ensure child centering */
}

/* Decoration Card */
.mystic-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    border: 1px solid var(--card-border);
    padding: 60px 40px;
    /* Increased padding */
    border-radius: 20px;
    width: 100%;
    /* Take full width of container */
    max-width: 700px;
    /* Limit width */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    /* Slightly smaller base for better safety */
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(45deg, var(--accent-color), #5a189a);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(90, 24, 154, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(90, 24, 154, 0.5);
    filter: brightness(1.2);
}

/* Footer */
footer {
    background: rgba(13, 0, 21, 0.8);
    /* Darker background */
    border-top: 1px solid var(--card-border);
    padding: 40px 20px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: auto;
    backdrop-filter: blur(5px);
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    /* Limit footer width */
    margin: 0 auto;
}

.company-details p {
    margin: 8px 0;
    line-height: 1.5;
}

strong {
    color: #fff;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
        align-items: flex-start;
        /* Move content up slightly on mobile */
    }

    .mystic-card {
        padding: 40px 24px;
        /* Reduce padding on mobile */
        margin-top: 20px;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .cta-button {
        width: 100%;
        /* Full width button on mobile */
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .company-details p {
        font-size: 0.85rem;
    }
}