/* ===================================================
   index.css — Landing page styles (Star Project)
   =================================================== */

/* --- Hero Section --- */
.hero {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.14), transparent 28%), linear-gradient(135deg, #1b2442 0%, #152542 50%, #0d1c33 100%);
    color: #fff;
    padding: 5.5rem 2rem 6rem;
    text-align: center;
}

.hero::after {
    content: '';
    position: absolute;
    right: -8%;
    bottom: -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(233, 69, 96, 0.18);
    filter: blur(42px);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.hero h1 span {
    color: #ff7a93;
}

.hero p {
    font-size: 1.08rem;
    color: #dfe7f6;
    max-width: 660px;
    margin: 0 auto 2rem;
    line-height: 1.75;
}

.hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), #ff5f7a);
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(233, 69, 96, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 28px rgba(233, 69, 96, 0.32);
}

/* --- Shared Info Boxes (About / Benefits / Contact) --- */
.content-box,
.contact-box {
    width: min(100%, 1040px);
    margin: 0 auto 2.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 2rem 1.6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.content-box::before,
.contact-box::before {
    content: '';
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), transparent);
}

.content-box h2,
.contact-box h2 {
    font-size: clamp(1.6rem, 2.25vw, 2rem);
    color: var(--text);
    margin-bottom: 0.65rem;
}

.content-box p,
.contact-box p {
    font-size: 1.02rem;
    color: var(--muted);
    max-width: 720px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.contact-box-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.contact-box-details a,
.contact-box-details span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f7faff, #eef5ff);
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--border);
    font-weight: 700;
    font-size: 0.92rem;
}

.contact-box-details a:hover {
    background: #eaf1ff;
}

/* --- Shared Media Section --- */
.media-section {
    width: 100%;
    padding: 4rem 1.5rem;
    background: transparent;
}

.media-section + .media-section {
    background: #ffffff;
}

.section-title {
    font-size: clamp(1.6rem, 2.2vw, 2rem);
    color: var(--text);
    text-align: center;
    margin-bottom: 2.2rem;
}

/* --- Image Grid --- */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.image-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 40px rgba(15, 24, 43, 0.12);
}

.image-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.image-card figcaption {
    padding: 0.85rem 1rem 1rem;
    font-size: 0.95rem;
    color: var(--muted);
    text-align: center;
}

/* --- What Sets Us Apart --- */
.features-section {
    --glass-opacity: 0.18;
    --glass-blur: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.features-section:hover {
    --glass-opacity: 0.08;
    --glass-blur: 4px;
}

.features-section::before,
.features-section::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.features-section::before {
    background-image: var(--section-bg-image, none);
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    filter: blur(18px);
    z-index: 0;
}

.features-section::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, var(--glass-opacity)) 0%, rgba(247, 250, 255, calc(var(--glass-opacity) * 0.7)) 55%, rgba(255, 255, 255, calc(var(--glass-opacity) * 0.45)) 100%);
    backdrop-filter: blur(var(--glass-blur));
    z-index: 0;
}

.features-section .section-title,
.features-section .features-grid,
.features-section .features-empty {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features-empty {
    text-align: center;
    color: var(--muted);
    margin-top: 0.3rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.4rem 1.25rem;
    box-shadow: var(--shadow);
    text-align: left;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.45rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.7;
    margin: 0;
}
