@import url('./common.css');

/* Home: unify section backgrounds */
.home .hero,
.home .section,
.home .gradient-soft {
    background: var(--bg-light);
}

/* Hero */
.hero {
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #F5F3EF 0%, #ffffff 50%, #F5F3EF 100%);
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
}

.hero h1 .accent {
    white-space: nowrap;
    display: inline-block;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(32px, 4.2vw, 46px);
    margin: 0 0 16px;
    line-height: 1.1;
}

.hero p {
    color: var(--muted);
    font-size: 16px;
    margin: 0 0 18px;
    max-width: 620px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0;
}

.hero-checks {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--muted);
    box-shadow: 0 8px 24px -18px rgba(0, 0, 0, 0.25);
}

.checkmark {
    color: var(--primary);
    font-weight: 700;
}

.hero-media {
    position: relative;
    justify-self: end;
    width: 100%;
    max-width: 640px;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 26px;
    box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.35);
    object-fit: cover;
}

.blob {
    display: none;
}

/* Section: Why choose */
.two-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    align-items: center;
}

.media-card {
    position: relative;
}

.media-card img {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 26px 48px -26px rgba(0, 0, 0, 0.3);
}

.media-card.square {
    aspect-ratio: 1 / 1;
    max-height: 440px;
}

.tilt::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: var(--primary);
    opacity: 0.1;
    transform: rotate(-3deg);
    z-index: 0;
}

.tilt img {
    position: relative;
    z-index: 1;
}

.stack.gap>*+* {
    margin-top: 16px;
}

.feature {
    display: flex;
    gap: 14px;
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 34px -26px rgba(0, 0, 0, 0.25);
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Reviews */
.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.section-heading h2 {
    font-size: clamp(28px, 3.5vw, 36px);
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.section-heading h3 {
    font-size: 24px;
    margin: 0 0 12px;
}

.section-heading p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--card);
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 36px -28px rgba(0, 0, 0, 0.3);
}

.review {
    display: grid;
    gap: 10px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.stars {
    color: #1773b0;
    letter-spacing: 1px;
    font-size: 20px
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: clamp(28px, 5vw, 40px);
    }

    .hero p {
        font-size: 14px;
    }
}

/* Plans Section */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

#planes {
    scroll-margin-top: 100px;
    /* Adjust based on header height */
}

.plan-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.15);
}

.plan-card.highlight {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary), 0 20px 40px -20px rgba(var(--primary-rgb), 0.2);
}

.badge-best {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f3f4f6;
}

.plan-header h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: var(--text-dark);
}

.plan-price .currency {
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -1px;
}

.plan-price .period {
    color: var(--muted);
    font-size: 16px;
}

.plan-desc {
    margin-top: 12px;
    font-size: 14px;
    color: var(--muted);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--text);
    font-size: 15px;
}

.plan-features .check {
    color: var(--primary);
    font-weight: bold;
    background: rgba(var(--primary-rgb), 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    flex-shrink: 0;
}

.btn.full-width {
    width: 100%;
    justify-content: center;
}