/* ============================================
   RattanView - Homepage
   ============================================ */

/* ---- Hero ---- */

.home-hero {
    background: linear-gradient(135deg, #213430 0%, #2d4a44 60%, #506771 100%);
    color: white;
    padding: 80px 20px 70px;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B0864E' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.home-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    position: relative;
}

.home-badge {
    display: inline-block;
    background: rgba(176,134,78,0.2);
    border: 1px solid rgba(176,134,78,0.45);
    color: #B0864E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.home-hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin: 0 0 20px;
}

.home-hero h1 span {
    color: #B0864E;
}

.home-hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.78);
    line-height: 1.65;
    margin: 0 0 32px;
    max-width: 500px;
}

.home-hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.home-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 15px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Open Sans', sans-serif;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    border: none;
}

.home-btn-primary {
    background: linear-gradient(135deg, #B0864E, #8a6a3a);
    color: white;
}

.home-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(176,134,78,0.45);
    color: white;
    text-decoration: none;
}

.home-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.25);
}

.home-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
}

.home-btn-white {
    background: white;
    color: #213430;
}

.home-btn-white:hover {
    background: #f0ebe0;
    transform: translateY(-2px);
    color: #213430;
    text-decoration: none;
}

.home-hero-trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.home-hero-trust span {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-hero-trust i {
    color: #B0864E;
    font-size: 11px;
}

.home-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.home-hero-card img {
    width: 100%;
    max-width: 320px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}

/* ---- Shared Section Styles ---- */

.home-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-section-label {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #B0864E;
    margin-bottom: 10px;
}

.home-section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    color: #213430;
    margin: 0 0 48px;
    letter-spacing: -0.5px;
}

/* ---- How It Works ---- */

.home-how {
    padding: 80px 20px;
    background: #f7f3ec;
}

.home-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.home-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(33,52,48,0.08);
    position: relative;
}

.home-step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #213430, #2d4a44);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 22px;
    color: white;
}

.home-step-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: #B0864E;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.home-step h3 {
    font-size: 17px;
    font-weight: 800;
    color: #213430;
    margin: 0 0 10px;
}

.home-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

.home-step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    color: #B0864E;
    font-size: 20px;
    margin-top: 60px;
}

/* ---- Features ---- */

.home-features {
    padding: 80px 20px;
    background: white;
}

.home-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-feature-card {
    padding: 28px;
    background: #f7f3ec;
    border-radius: 16px;
    border: 1px solid #e0d4c0;
    transition: all 0.25s ease;
}

.home-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(33,52,48,0.1);
    border-color: #B0864E;
}

.home-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #213430, #2d4a44);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    margin-bottom: 16px;
}

.home-feature-card h3 {
    font-size: 16px;
    font-weight: 800;
    color: #213430;
    margin: 0 0 8px;
}

.home-feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* ---- CTA Banner ---- */

.home-cta-banner {
    background: linear-gradient(135deg, #213430, #2d4a44);
    padding: 60px 20px;
    color: white;
}

.home-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.home-cta-banner h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 8px;
    color: white;
}

.home-cta-banner p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/* ---- Products Section ---- */

.home-products-section {
    padding-top: 60px;
    background: #f7f3ec;
}

.home-products-section .home-section-title {
    margin-bottom: 0;
}

/* ---- How It Works Example ---- */

.home-example {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.home-example-step {
    flex: 1;
    min-width: 220px;
    max-width: 320px;
    text-align: center;
    background: white;
    border-radius: 16px;
    padding: 24px 20px 28px;
    box-shadow: 0 2px 16px rgba(33,52,48,0.09);
    border: 1px solid #e0d4c0;
    position: relative;
}

.home-example-step-result {
    border-color: #B0864E;
    box-shadow: 0 4px 24px rgba(176,134,78,0.2);
}

.home-example-num {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #213430;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.home-example-num-gold {
    background: #B0864E;
}

.home-example-img-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    aspect-ratio: 4/3;
    background: #f0ebe0;
}

.home-example-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-example-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33,52,48,0.82);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.home-example-label-gold {
    background: rgba(176,134,78,0.9);
}

.home-example-step h3 {
    font-size: 16px;
    font-weight: 800;
    color: #213430;
    margin: 0 0 8px;
}

.home-example-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.home-example-arrow {
    font-size: 22px;
    color: #B0864E;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    .home-example {
        flex-direction: column;
        align-items: center;
    }
    .home-example-step {
        max-width: 100%;
        width: 100%;
    }
    .home-example-arrow {
        transform: rotate(90deg);
        padding-bottom: 0;
    }
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .home-hero p { max-width: 100%; }
    .home-hero-ctas { justify-content: center; }
    .home-hero-trust { justify-content: center; }
    .home-hero-visual { display: none; }
    .home-features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .home-hero h1 { font-size: 36px; }
    .home-steps { flex-direction: column; align-items: center; }
    .home-step-arrow { transform: rotate(90deg); padding: 8px 0; margin-top: 0; }
    .home-features-grid { grid-template-columns: 1fr; }
    .home-section-title { font-size: 26px; }
    .home-cta-inner { text-align: center; justify-content: center; }
}
