/* Index/Home Page Modern Styles */

:root {
    --brand-primary: #9E7FA4;
    --brand-light: #B9A8BF;
    --brand-pale: rgba(158, 127, 164, 0.1);
    --text-dark: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-md: 12px;
    --radius-lg: 16px;
}

.index-page-container {
    padding: 0;
    padding-top: 8rem;
}

/* Hero Section */
.index-hero {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 4rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.index-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.index-hero-sidebar-left {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    white-space: nowrap;
    color: #ffffff;
    z-index: 10;
}

.index-hero-sidebar-right {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    white-space: nowrap;
    color: #ffffff;
    z-index: 10;
}

.index-hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #ffffff;
}

.index-hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.index-hero-cta {
    padding: 0.875rem 2rem;
    background: white;
    color: var(--brand-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.index-hero-cta:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.index-hero-image {
    margin: 3rem auto 0;
    max-width: 700px;
    width: 100%;
    animation: float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.index-hero-image img {
    width: 100%;
    height: auto;
    max-width: 700px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.index-about-section {
    padding: 5rem 0;
    background: white;
}

.index-about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.index-about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.index-about-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(158, 127, 164, 0.2));
    transition: all 0.3s ease;
}

.index-about-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

.index-about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.index-about-badge {
    display: inline-block;
    background: var(--brand-pale);
    color: var(--brand-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.index-about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
    margin: 0;
}

.index-about-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Features Section */
.index-features-section {
    padding: 5rem 0;
}

.index-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.index-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.index-section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.index-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.index-feature-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.index-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-primary);
}

.index-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    transition: all 0.3s ease;
}

.index-feature-card:hover .index-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(158, 127, 164, 0.4);
}

.index-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.index-feature-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.index-cta-section {
    padding: 5rem 0;
    background: white;
}

.index-cta-card {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-light) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.index-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

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

.index-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.index-cta-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.index-cta-button {
    padding: 1.25rem 3rem;
    background: white;
    color: var(--brand-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.index-cta-button:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .index-about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .index-about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .index-hero {
        min-height: 70vh;
        padding: 3rem 1.5rem;
    }

    .index-hero-sidebar-left,
    .index-hero-sidebar-right {
        display: none;
    }

    .index-hero-title {
        font-size: 2.5rem;
    }

    .index-hero-subtitle {
        font-size: 1.125rem;
    }

    .index-hero-cta {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }

    .index-hero-image {
        max-width: 100%;
    }

    .index-about-section {
        padding: 3rem 0;
    }

    .index-about-title {
        font-size: 2rem;
    }

    .index-about-description {
        font-size: 1rem;
    }

    .index-features-section {
        padding: 3rem 0;
    }

    .index-section-title {
        font-size: 2rem;
    }

    .index-section-subtitle {
        font-size: 1.125rem;
    }

    .index-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .index-feature-card {
        padding: 2rem;
    }

    .index-cta-section {
        padding: 3rem 0;
    }

    .index-cta-card {
        padding: 3rem 2rem;
    }

    .index-cta-title {
        font-size: 2rem;
    }

    .index-cta-description {
        font-size: 1.125rem;
    }

    .index-cta-button {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }
}

@media (max-width: 576px) {
    .index-hero-title {
        font-size: 2rem;
    }

    .index-hero-subtitle {
        font-size: 1rem;
    }

    .index-about-title {
        font-size: 1.75rem;
    }

    .index-section-title {
        font-size: 1.75rem;
    }

    .index-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .index-cta-title {
        font-size: 1.75rem;
    }

    .index-cta-description {
        font-size: 1rem;
    }
}
