/* Front Page / Landing Page Styles */

.hero {
    background: var(--kp-gradient-hero);
    background-image: url('../images/aurora-hero.jpg');
    background-size: cover;
    background-position: center 30%;
    padding: var(--kp-space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dark overlay to keep text readable over the photo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(19, 26, 39, 0.65) 0%,
        rgba(19, 26, 39, 0.45) 40%,
        rgba(19, 26, 39, 0.65) 100%
    );
    pointer-events: none;
}

/* Aurora color glow accent */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(77, 200, 215, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero__tagline {
    font-family: var(--kp-font-script);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--kp-text-primary);
    margin-bottom: var(--kp-space-md);
    line-height: 1.1;
}

.hero__subtitle {
    font-family: var(--kp-font-heading);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: var(--kp-text-secondary);
    margin-bottom: var(--kp-space-xl);
    line-height: 1.5;
}

.hero__buttons {
    display: flex;
    gap: var(--kp-space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Sparkle decorations (SVG four-pointed stars from PDF branding) */
.hero__sparkle {
    position: absolute;
    color: var(--kp-accent-magenta);
    width: 18px;
    height: 18px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
    animation: sparkle-pulse 3s ease-in-out infinite;
}

.hero__sparkle--1 { top: 15%; left: 8%; width: 22px; height: 22px; animation-delay: 0s; }
.hero__sparkle--2 { top: 25%; right: 12%; width: 14px; height: 14px; color: var(--kp-accent-cyan); animation-delay: 1s; }
.hero__sparkle--3 { bottom: 20%; left: 15%; width: 10px; height: 10px; color: var(--kp-accent-peach); animation-delay: 0.5s; }
.hero__sparkle--4 { bottom: 30%; right: 8%; width: 18px; height: 18px; animation-delay: 1.5s; }
.hero__sparkle--5 { top: 40%; left: 5%; width: 12px; height: 12px; color: var(--kp-accent-cyan); animation-delay: 2s; }

@keyframes sparkle-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.7; transform: scale(1.3) rotate(15deg); }
}

/* Features Section */
.features {
    padding: var(--kp-space-3xl) 0;
    background: var(--kp-bg-dark) url('../images/aurora-features.svg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for features section */
.features::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(19, 26, 39, 0.65) 0%,
        rgba(19, 26, 39, 0.5) 50%,
        rgba(19, 26, 39, 0.65) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Lavender accent glow for features */
.features::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -5%;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(192, 168, 224, 0.05) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.features > .container {
    position: relative;
    z-index: 1;
}

.features__header {
    text-align: center;
    margin-bottom: var(--kp-space-2xl);
}

.features__header h2 {
    font-family: var(--kp-font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: var(--kp-space-sm);
}

.features__header p {
    color: var(--kp-text-secondary);
    font-size: 1.0625rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--kp-space-xl);
    border: 1px solid var(--kp-border);
    border-radius: var(--kp-radius-sm);
    background: rgba(34, 46, 66, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--kp-transition);
}

.feature-card:hover {
    box-shadow: 0 0 24px rgba(217, 70, 168, 0.12);
    border-color: var(--kp-accent-magenta);
    transform: translateY(-4px);
}

.feature-card__icon {
    width: 72px;
    height: 72px;
    background: rgba(217, 70, 168, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--kp-space-lg);
}

.feature-card__icon svg {
    width: 36px;
    height: 36px;
    color: var(--kp-accent-magenta);
}

.feature-card:nth-child(2) .feature-card__icon {
    background: rgba(77, 200, 215, 0.12);
}
.feature-card:nth-child(2) .feature-card__icon svg {
    color: var(--kp-accent-cyan);
}

.feature-card:nth-child(3) .feature-card__icon {
    background: rgba(192, 168, 224, 0.12);
}
.feature-card:nth-child(3) .feature-card__icon svg {
    color: var(--kp-accent-lavender);
}

.feature-card:nth-child(4) .feature-card__icon {
    background: rgba(77, 148, 212, 0.12);
}
.feature-card:nth-child(4) .feature-card__icon svg {
    color: var(--kp-accent-navy);
}

.feature-card__title {
    font-family: var(--kp-font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--kp-space-sm);
}

.feature-card__desc {
    font-size: 0.9375rem;
    color: var(--kp-text-secondary);
    line-height: 1.5;
}

/* How It Works */
.how-it-works {
    padding: var(--kp-space-3xl) 0;
    background: var(--kp-bg-mid) url('../images/aurora-steps.svg') no-repeat center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for how-it-works section */
.how-it-works::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(27, 37, 56, 0.65) 0%,
        rgba(27, 37, 56, 0.5) 50%,
        rgba(27, 37, 56, 0.65) 100%
    );
    pointer-events: none;
    z-index: 0;
}

/* Multi-color accent glow */
.how-it-works::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 40%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(77, 200, 215, 0.05) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.how-it-works > .container {
    position: relative;
    z-index: 1;
}

.how-it-works__header {
    text-align: center;
    margin-bottom: var(--kp-space-2xl);
}

.how-it-works__header h2 {
    font-family: var(--kp-font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    text-transform: uppercase;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--kp-space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--kp-accent-magenta);
    color: #FFFFFF;
    font-family: var(--kp-font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--kp-space-md);
}

.step__title {
    font-family: var(--kp-font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--kp-space-xs);
}

.step__desc {
    font-size: 0.9375rem;
    color: var(--kp-text-secondary);
}

/* CTA Section */
.cta-section {
    padding: var(--kp-space-3xl) 0;
    background: var(--kp-surface);
    background-image: url('../images/aurora-nebula.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(19, 26, 39, 0.7);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section__title {
    font-family: var(--kp-font-script);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: var(--kp-space-md);
    position: relative;
}

.cta-section__subtitle {
    font-size: 1.0625rem;
    color: var(--kp-text-secondary);
    margin-bottom: var(--kp-space-xl);
    position: relative;
}
