/* ============================================
   HERO SECTION
   ============================================ */

.hero-container {
    background:
        radial-gradient(circle at 70% 85%,
            rgba(167, 139, 250, 0.25) 0%,
            rgba(199, 170, 255, 0.18) 30%,
            rgba(230, 222, 255, 0.10) 55%,
            transparent 75%),
        linear-gradient(180deg,
            #ffffff 0%,
            #f7f6ff 55%,
            #eef0ff 100%);
}

.hero-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.6;
}

.highlight {
    color: #4A7FFF;
    font-weight: 600;
}

.hero-cta,
.page-button {
    background: var(--accent-orange) !important;
    color: var(--white) !important;
    border: none;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 133, 51, 0.3);
    font-family: 'Inter', sans-serif;
}

.hero-cta:hover,
.page-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 133, 51, 0.4);
    background: #FF9447;
}

.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ============================================
   TYPING NOTEPAD ANIMATION
   ============================================ */

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typing Notepad Container */
.typing-notepad {
    position: relative;
    width: 100%;
    max-width: 450px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 16px;
    padding: 40px 35px 35px;
    box-shadow: 
        0 20px 60px rgba(139, 127, 217, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.08);
    transform: rotate(-2deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(139, 127, 217, 0.1);
    cursor: pointer;
}

/* .typing-notepad:hover {
    transform: rotate(0deg);
} */

/* Decorative Pin */
.notepad-pin {
    position: absolute;
    top: -12px;
    right: 50px;
    width: 24px;
    height: 24px;
    z-index: 10;
}

.pin-head {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-radius: 50%;
    box-shadow: 
        0 4px 12px rgba(255, 107, 107, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.pin-head::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.pin-point {
    width: 2px;
    height: 8px;
    background: linear-gradient(to bottom, #d45d5d, #a84040);
    margin: 0 auto;
    border-radius: 0 0 2px 2px;
}

/* Notepad Header */
.notepad-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 127, 217, 0.15);
}

.notepad-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #8B7FD9;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Typing Content Area */
.typing-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    min-height: 260px;
    border: 1.5px solid rgba(139, 127, 217, 0.1);
    position: relative;
    box-shadow: inset 0 2px 8px rgba(139, 127, 217, 0.05);
}

/* Lines Background */
.typing-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        transparent,
        transparent 29px,
        rgba(139, 127, 217, 0.08) 29px,
        rgba(139, 127, 217, 0.08) 30px
    );
    pointer-events: none;
    border-radius: 12px;
}

/* Typed Text */
.typed-text {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    line-height: 30px;
    color: #2D2947;
    min-height: 30px;
    position: relative;
    word-wrap: break-word;
}

/* Blinking Cursor */
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background-color: #8B7FD9;
    margin-left: 2px;
    animation: blink 0.8s infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Notepad Footer */
.notepad-footer {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid rgba(139, 127, 217, 0.1);
}

.notepad-icon {
    width: 24px;
    height: 24px;
    opacity: 0.4;
}

.notepad-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(139, 127, 217, 0.3);
}

/* ============================================
   HERO ANIMATIONS
   ============================================ */

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ============================================
   TRUST CARDS SECTION
   ============================================ */

.rw-trust {
    background: transparent;
    margin-top: 80px;
    position: relative;
    animation: slideUp 0.8s ease-out 0.5s backwards;
    overflow: hidden;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rw-trust::-webkit-scrollbar {
    display: none;
}

.rw-trust__list {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.rw-trust__item--1,
.rw-trust__item--2,
.rw-trust__item--3,
.rw-trust__item--4 {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 18px 24px;
    height: 170px;
    box-shadow: 0 4px 24px rgba(75, 63, 142, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
    min-width: 0;
    box-sizing: border-box;
}

.rw-trust__item--1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.rw-trust__item--2 {
    display: flex;
    justify-content: space-between;
}

.rw-trust__item--3,
.rw-trust__item--4 {
    align-items: center;
    justify-content: start;
    padding-top: 40px;
    flex-direction: column;
    display: flex;
}

.rw-trust__item--1,
.rw-trust__item--2 {
    flex: 2 1 0;
}

.rw-trust__item--3,
.rw-trust__item--4 {
    flex: 1 1 0;
}

.rw-trust__services {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.rw-trust__service {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.rw-trust__logo {
    height: 24px;
    display: flex;
    align-items: center;
}

.rw-trust__logo svg {
    height: 20px;
    width: auto;
}

.rw-trust__raitimg {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.rw-trust__stars svg {
    width: 70px;
    height: auto;
}

.rw-trust__text--18 {
    font-size: 15px;
    color: #6B6788;
    margin-bottom: 16px;
    font-weight: 500;
}

.rw-trust__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.rw-trust__img {
    margin-bottom: 0;
}

.rw-trust__img svg {
    width: 100%;
    height: auto;
    max-width: 200px;
}

.rw-trust__text--10 {
    font-size: 9px;
    color: #9B95B5;
    text-align: center;
    font-style: italic;
}

.rw-trust__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
}

.rw-trust__text--48 {
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    color: var(--text-dark);
    line-height: 1;
}

.rw-trust__text--24 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 400;
}

.rw-trust__text--16 {
    font-size: 15px;
    color: #6B6788;
    margin-top: 4px;
    text-align: center;
}

/* Trust Cards Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1024px) {
    .hero-main {
        padding: 20px 5px;
    }

    .hero-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-left {
        width: 300px;
    }

    .hero-image-container {
        min-width: 300px;
    }

    .rw-trust {
        margin-top: 60px;
    }

    .rw-trust__services {
        gap: 20px;
    }

    .rw-trust__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 8vw;
    }

    .rw-trust__item--1,
    .rw-trust__item--2 {
        padding: 16px 20px;
        width: 100%;
        grid-column: 1 / -1;
    }

    .rw-trust__item--3,
    .rw-trust__item--4 {
        padding: 20px 16px;
        width: 100%;
        height: 150px;
    }

    .rw-trust__text--48 {
        font-size: 28px;
    }

    .rw-trust__raitimg {
        font-size: 16px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .hero-container {
        padding: 60px 20px 30px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 70px;
        justify-items: center;
        text-align: center;
    }

    .hero-left {
        text-align: left;
        width: 100%;
        max-width: 500px;
    }

    .hero-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-cta {
        padding: 14px 32px;
        font-size: 14px;
    }

    .hero-image-container {
        max-width: 350px;
    }

    .typing-notepad {
        max-width: 380px;
        padding: 35px 28px 28px;
    }

    .notepad-title {
        font-size: 18px;
    }

    .typed-text {
        font-size: 14px;
        line-height: 28px;
    }

    .typing-content {
        min-height: 240px;
        padding: 20px;
    }

    .rw-trust__list {
        padding: 0;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .hero-container {
        padding: 40px 16px 24px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-cta {
        padding: 12px 28px;
        font-size: 13px;
        width: 100%;
    }

    .hero-image-container {
        max-width: 280px;
    }

    .typing-notepad {
        max-width: 320px;
        padding: 30px 22px 22px;
    }

    .notepad-title {
        font-size: 16px;
    }

    .typed-text {
        font-size: 13px;
        line-height: 26px;
    }

    .typing-content {
        min-height: 220px;
        padding: 18px;
    }

    .rw-trust {
        margin-top: 40px;
        padding: 8px 0;
    }

    .rw-trust__text--48 {
        font-size: 24px;
    }

    .rw-trust__text--24 {
        font-size: 16px;
    }

    .rw-trust__raitimg {
        font-size: 14px;
    }

    .rw-trust__stars svg {
        width: 100px;
    }

    .rw-trust__logo {
        width: 100px;
    }
}

/* Small mobile phones */
@media (max-width: 380px) {
    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .rw-trust__item--2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .rw-trust__text--48 {
        font-size: 20px;
    }

    .rw-trust__stars svg {
        width: 80px;
    }

    .rw-trust__logo {
        width: 80px;
    }
}