/* ==========================================
   CSS VARIABLES & RESET
   ========================================== */
:root {
    /* Colors - Mystical Purple Theme */
    --primary: #af7ac5;
    /* Lighter Purple */
    --primary-dark: #9b59b6;
    --primary-light: #d2b4de;
    --secondary: #f1c40f;
    /* Brighter Yellow/Orange */
    --secondary-light: #f9e79f;
    --accent: #e74c3c;

    /* Dark Theme Colors */
    --bg-dark: #0a0a15;
    --bg-card: #151525;
    /* Slightly lighter card bg */
    --bg-card-hover: #1e1e32;
    --bg-gradient: linear-gradient(135deg, #0a0a15 0%, #1a1028 50%, #0a0a15 100%);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    /* Brighter secondary text */
    --text-muted: #a0a0b0;
    /* Brighter muted text */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8e44ad 0%, #c0392b 50%, #d35400 100%);
    /* High contrast for white text */
    /* Brighter gradient */
    --gradient-glow: linear-gradient(135deg, rgba(175, 122, 197, 0.3) 0%, rgba(255, 118, 117, 0.3) 50%, rgba(241, 196, 15, 0.3) 100%);
    --gradient-hero: radial-gradient(ellipse at center, rgba(175, 122, 197, 0.15) 0%, transparent 70%);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(175, 122, 197, 0.3);

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   BACKGROUND EFFECTS
   ========================================== */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--duration, 3s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    animation: float var(--duration, 10s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    opacity: 0.3;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.6;
    }
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(10, 10, 21, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(155, 89, 182, 0.1);
    transition: var(--transition-normal);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.5));
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav a:hover {
    color: var(--text-primary);
}

.nav a:hover::after {
    width: 100%;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.3);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(155, 89, 182, 0.5);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: var(--gradient-hero);
    filter: blur(100px);
    opacity: 0.8;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(155, 89, 182, 0.15);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(155, 89, 182, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(155, 89, 182, 0);
    }
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 8px;
}

.title-gradient {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 500;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(155, 89, 182, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(155, 89, 182, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(155, 89, 182, 0.5);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.hero-phone {
    text-align: left;
}

.big-phone {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: var(--transition-normal);
}

.big-phone:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

.phone-note {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* Mystic Orb */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mystic-orb {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orb-core {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, rgba(155, 89, 182, 0.8), rgba(142, 68, 173, 0.4), transparent);
    border-radius: 50%;
    box-shadow:
        0 0 60px rgba(155, 89, 182, 0.6),
        0 0 120px rgba(155, 89, 182, 0.4),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(155, 89, 182, 0.6), 0 0 120px rgba(155, 89, 182, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(155, 89, 182, 0.8), 0 0 160px rgba(155, 89, 182, 0.6);
    }
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.orb-ring-1 {
    width: 280px;
    height: 280px;
    animation: rotate 20s linear infinite;
}

.orb-ring-2 {
    width: 340px;
    height: 340px;
    animation: rotate 30s linear infinite reverse;
}

.orb-ring-3 {
    width: 400px;
    height: 400px;
    animation: rotate 40s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orb-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-light);
    filter: drop-shadow(0 0 10px rgba(155, 89, 182, 0.5));
    animation: symbolFloat 6s ease-in-out infinite;
}

.symbol-1 {
    top: 10%;
    left: 50%;
    animation-delay: 0s;
}

.symbol-2 {
    top: 25%;
    right: 10%;
    animation-delay: 1s;
}

.symbol-3 {
    top: 50%;
    right: 0%;
    animation-delay: 2s;
}

.symbol-4 {
    bottom: 25%;
    right: 10%;
    animation-delay: 3s;
}

.symbol-5 {
    bottom: 10%;
    left: 50%;
    animation-delay: 4s;
}

.symbol-6 {
    top: 50%;
    left: 0%;
    animation-delay: 5s;
}

@keyframes symbolFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 1;
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(155, 89, 182, 0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 20px;
        opacity: 0.3;
    }
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(155, 89, 182, 0.15);
    border: 1px solid rgba(155, 89, 182, 0.3);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

/* ==========================================
   WHY US SECTION
   ========================================== */
.why-us {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(155, 89, 182, 0.03) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: rgba(18, 18, 31, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(155, 89, 182, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(155, 89, 182, 0.3);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(155, 89, 182, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(155, 89, 182, 0.2);
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(155, 89, 182, 0.1);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition-normal);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(155, 89, 182, 0.3);
    box-shadow: 0 20px 40px rgba(155, 89, 182, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

.service-card h3 {
    position: relative;
    z-index: 1;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    position: relative;
    z-index: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(155, 89, 182, 0.05) 50%, transparent 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-content .section-tag {
    margin-bottom: 16px;
}

.contact-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-phone {
    margin-bottom: 32px;
}

.phone-label {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.phone-number {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: var(--transition-normal);
    display: inline-block;
}

.phone-number:hover {
    filter: brightness(1.2);
    transform: scale(1.02);
}

/* Contact Card */
.contact-visual {
    display: flex;
    justify-content: center;
}

.contact-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(155, 89, 182, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px 50px;
    text-align: center;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(155, 89, 182, 0.1) 0%, transparent 50%);
    animation: cardGlow 5s ease-in-out infinite;
}

@keyframes cardGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }
}

.card-icon {
    font-size: 4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(155, 89, 182, 0.5));
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.card-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.card-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.card-divider {
    width: 60px;
    height: 2px;
    background: var(--gradient-primary);
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.card-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(155, 89, 182, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

.card-badge span {
    color: var(--secondary);
    font-weight: 700;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(155, 89, 182, 0.1);
    position: relative;
    z-index: 1;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    font-size: 2rem;
}

.footer-logo .logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 30px;
    line-height: 1.7;
}

.footer-divider {
    width: 80px;
    height: 1px;
    background: rgba(155, 89, 182, 0.3);
    margin: 0 auto 20px;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   FLOATING CTA
   ========================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.5);
    z-index: 999;
    transition: var(--transition-normal);
    animation: floatCta 3s ease-in-out infinite;
}

@keyframes floatCta {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(155, 89, 182, 0.7);
}

.cta-icon {
    font-size: 1.3rem;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-phone {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .nav {
        display: none;
    }

    .header-cta .phone-icon {
        display: none;
    }

    .title-line {
        font-size: 2.5rem;
    }

    .title-gradient {
        font-size: 1.3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .big-phone,
    .phone-number {
        font-size: 2rem;
    }

    .contact-card {
        padding: 40px 30px;
    }

    .floating-cta .cta-text {
        display: none;
    }

    .floating-cta {
        padding: 16px;
        border-radius: 50%;
    }
}