/* ===== ASTROMANTIE FIRMENANALYSE CSS ===== */
/* Using Cosmic Dark V4 theme CSS variables and global animations */

:root {
    --font-cinzel: 'Cinzel', serif;
    --font-inter: 'Inter', -apple-system, sans-serif;
    --transition-standard: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

/* ===== GENERAL STYLES ===== */
body {
    font-family: var(--font-inter);
    background: var(--astro-bg);
    color: var(--astro-text);
    transition: background var(--transition-slow);
    margin: 0;
    padding: 0;
}

/* ===== HERO SECTION ===== */
.astro-hero {
    position: relative;
    overflow: hidden;
    padding: 60px 48px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(167, 139, 250, 0.08) 0%, transparent 40%),
                var(--astro-bg);
    transition: all var(--transition-slow);
}

.astro-hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.astro-hero-starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    animation: skyDrift 50s linear infinite;
}

.astro-hero-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: nebulaFloat 8s ease-in-out infinite;
}

.astro-hero-nebula-1 {
    top: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    animation-duration: 8s;
}

.astro-hero-nebula-2 {
    bottom: 10%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.1) 0%, transparent 70%);
    animation-duration: 10s;
    animation-delay: 2s;
    filter: blur(50px);
}

.astro-hero-nebula-3 {
    top: 50%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 201, 106, 0.06) 0%, transparent 70%);
    animation-duration: 12s;
    animation-delay: 4s;
    filter: blur(30px);
}

.astro-hero-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--astro-bg));
    pointer-events: none;
}

.astro-hero-content {
    position: relative;
    z-index: 1;
    animation: fadeUp 0.6s ease-out both;
}

.astro-hero-icon {
    font-size: 72px;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease-out both;
    filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.3));
}

.astro-hero-label {
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--astro-purple);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.05s;
}

.astro-hero-title {
    font-family: var(--font-cinzel);
    font-size: 46px;
    font-weight: 400;
    background: linear-gradient(135deg, var(--astro-purple), var(--astro-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 18px;
    line-height: 1.2;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.1s;
}

.astro-hero-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.2s;
}

.astro-hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.25s;
}

.astro-hero-divider-line {
    width: 50px;
    height: 1px;
    background: rgba(167, 139, 250, 0.3);
}

.astro-hero-divider-icon {
    color: var(--astro-purple);
    font-size: 12px;
}

.astro-hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.3s;
}

.astro-hero-stat {
    text-align: center;
}

.astro-hero-stat-value {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--astro-purple), var(--astro-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.astro-hero-stat-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.astro-hero-pricing {
    margin-bottom: 0;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.35s;
}

.astro-hero-pricing-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.astro-hero-pricing-values {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.astro-hero-pricing-old {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    opacity: 0.5;
}

.astro-hero-pricing-new {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--astro-purple), var(--astro-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== FORM SECTION ===== */
.astro-form-section {
    padding: 40px 48px 80px;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.6s;
}

.astro-section-title {
    font-family: var(--font-cinzel);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--astro-purple), var(--astro-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.astro-section-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 50px;
}

.astro-form-wrapper {
    position: relative;
}

.astro-form-glow {
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 30px;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 35px rgba(124, 58, 237, 0.18), 0 0 70px rgba(124, 58, 237, 0.08);
    animation: formGlowPulse 4s ease-in-out infinite;
}

.astro-form-glow-line {
    position: absolute;
    top: -1px;
    left: 30px;
    right: 30px;
    height: 2px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, #7c3aed, #a78bfa, #7c3aed, transparent);
    border-radius: 50%;
    filter: blur(2px);
}

.astro-form-card {
    padding: 40px;
    border-radius: 24px;
    background: rgba(15, 12, 35, 0.85);
    border: 1px solid rgba(124, 58, 237, 0.2);
    animation: borderGlowPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.astro-form-starfield {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 24px;
    pointer-events: none;
    opacity: 0.3;
}

.astro-form-content {
    position: relative;
    z-index: 1;
}

.astro-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.astro-form-field {
    display: flex;
    flex-direction: column;
}

.astro-form-field:nth-child(5) {
    grid-column: 1 / -1;
}

.astro-form-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    display: block;
}

.astro-form-optional {
    font-weight: 400;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
}

.astro-form-input {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 14px;
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    outline: none;
    font-family: var(--font-inter);
    transition: border-color 0.2s;
    color-scheme: dark;
}

.astro-form-input:focus {
    border-color: rgba(167, 139, 250, 0.3);
}

.astro-form-infobox {
    padding: 14px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(232, 201, 106, 0.12);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.astro-form-infobox-icon {
    color: var(--astro-gold);
    font-weight: 700;
}

.astro-form-full-width {
    grid-column: 1 / -1;
}

.astro-form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.05);
}

.astro-form-checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--astro-purple);
    flex-shrink: 0;
}

.astro-form-checkbox-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    cursor: pointer;
}

.astro-highlight {
    font-weight: 600;
    color: var(--astro-purple);
}

/* ===== BUTTONS ===== */
.astro-btn {
    padding: 18px 32px;
    border-radius: 12px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: "pointer";
    font-family: var(--font-inter);
    letter-spacing: 0.5px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.astro-btn-primary {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    margin-bottom: 12px;
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
    position: relative;
}

.astro-btn-primary span {
    position: relative;
    z-index: 1;
}

.astro-btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #7c3aed, #a78bfa, #7c3aed, transparent);
    animation: ctaShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.astro-btn-secondary {
    padding: 14px 32px;
    background: transparent;
    color: var(--astro-purple);
    border: 1px solid var(--astro-purple);
    border-radius: 10px;
    font-size: 13px;
}

.astro-btn-secondary:hover {
    background: rgba(124, 58, 237, 0.1);
}

.astro-form-security {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
    margin-bottom: 20px;
}

.astro-form-payment-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.astro-form-payment-icons span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.astro-form-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    opacity: 0.5;
}

.astro-form-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.astro-form-divider-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FEATURES SECTION ===== */
.astro-features-section {
    padding: 80px 48px;
    max-width: 1100px;
    margin: 0 auto;
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.3s;
}

.astro-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.astro-feature-card {
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    animation: fadeUp 0.6s ease-out both;
}

.astro-feature-card:nth-child(1) { animation-delay: 0.4s; }
.astro-feature-card:nth-child(2) { animation-delay: 0.48s; }
.astro-feature-card:nth-child(3) { animation-delay: 0.56s; }
.astro-feature-card:nth-child(4) { animation-delay: 0.64s; }

.astro-feature-title {
    font-family: var(--font-cinzel);
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.astro-feature-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

/* ===== TESTIMONIALS SECTION ===== */
.astro-testimonials-section {
    padding: 80px 48px;
    background: rgba(255, 255, 255, 0.01);
    animation: fadeUp 0.6s ease-out both;
    animation-delay: 0.5s;
}

.astro-testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
}

.astro-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.astro-testimonial-card {
    padding: 28px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    animation: fadeUp 0.6s ease-out both;
}

.astro-testimonial-card:nth-child(1) { animation-delay: 0.55s; }
.astro-testimonial-card:nth-child(2) { animation-delay: 0.63s; }

.astro-testimonial-text {
    font-size: 15px;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 16px;
    font-style: italic;
}

.astro-testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.astro-testimonial-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}

.astro-testimonial-name {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.astro-testimonial-meta {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.35);
}

/* ===== STICKY MOBILE CTA ===== */
.astro-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 12px 20px 16px;
    background: linear-gradient(transparent, rgba(10, 10, 26, 0.95) 30%);
    backdrop-filter: blur(16px);
    animation: fadeUp 0.3s ease-out;
    display: none;
}

.astro-sticky-cta.visible {
    display: block;
}

.astro-sticky-cta-btn {
    padding: 15px 24px;
    margin-bottom: 0;
    font-size: 15px;
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .astro-hero {
        padding: 60px 20px 40px;
    }

    .astro-hero-icon {
        font-size: 56px;
    }

    .astro-hero-title {
        font-size: 30px;
    }

    .astro-form-section {
        padding: 50px 20px;
    }

    .astro-section-title {
        font-size: 24px;
    }

    .astro-form-grid {
        grid-template-columns: 1fr;
    }

    .astro-form-field:nth-child(5) {
        grid-column: 1;
    }

    .astro-features-section {
        padding: 50px 20px;
    }

    .astro-features-grid {
        grid-template-columns: 1fr;
    }

    .astro-testimonials-section {
        padding: 50px 20px;
    }

    .astro-testimonials-grid {
        grid-template-columns: 1fr;
    }

    .astro-hero-stats {
        gap: 20px;
    }

    .astro-form-card {
        padding: 28px 20px;
    }

    .astro-feature-card {
        text-align: center;
    }

    .astro-sticky-cta {
        display: block;
    }
}

@media (min-width: 769px) {
    .astro-sticky-cta {
        display: none !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes starPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.9;
    }
}

@keyframes skyDrift {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(120px);
    }
}

@keyframes formGlowPulse {
    0%, 100% {
        box-shadow: 0 0 12px rgba(124, 58, 237, 0.2), inset 0 0 10px rgba(124, 58, 237, 0.06), 0 25px 80px rgba(0, 0, 0, 0.5);
        border-color: rgba(124, 58, 237, 0.2);
    }
    50% {
        box-shadow: 0 0 28px rgba(124, 58, 237, 0.4), inset 0 0 16px rgba(124, 58, 237, 0.1), 0 25px 80px rgba(0, 0, 0, 0.5);
        border-color: rgba(167, 139, 250, 0.45);
    }
}

@keyframes ctaShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes borderGlowPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(124, 58, 237, 0.15), inset 0 0 8px rgba(124, 58, 237, 0.05), 0 25px 80px rgba(0, 0, 0, 0.5);
        border-color: rgba(124, 58, 237, 0.15);
    }
    50% {
        box-shadow: 0 0 18px rgba(124, 58, 237, 0.3), inset 0 0 12px rgba(124, 58, 237, 0.08), 0 25px 80px rgba(0, 0, 0, 0.5);
        border-color: rgba(167, 139, 250, 0.35);
    }
}

@keyframes borderGlowGold {
    0%, 100% {
        box-shadow: 0 0 10px rgba(201, 168, 76, 0.1), inset 0 0 8px rgba(201, 168, 76, 0.03), 0 15px 60px rgba(160, 124, 42, 0.08);
        border-color: rgba(201, 168, 76, 0.2);
    }
    50% {
        box-shadow: 0 0 22px rgba(201, 168, 76, 0.2), inset 0 0 14px rgba(232, 201, 106, 0.06), 0 15px 60px rgba(160, 124, 42, 0.08);
        border-color: rgba(232, 201, 106, 0.4);
    }
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.5);
    }
}

@keyframes nebulaFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(10px, -10px) scale(1.1);
        opacity: 0.8;
    }
}

@keyframes goldPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}
