/*
 * main.css
 * Extracted from the original static site (backup/original/).
 * Preserves the existing Bootstrap-based design as-is.
 */
:root {
            --primary-color: #565acf;
            --primary-dark: #4145ae;
            --primary-light: #eeefff;
            --secondary-color: #15162b;
            --body-color: #646579;
            --light-bg: #f7f7fc;
            --white-color: #ffffff;
            --border-color: #e8e8f2;
            --success-color: #27ae60;
            --success-light: #e8f8ee;
            --warning-color: #e6a417;
            --warning-light: #fdf3dd;
            --danger-color: #e14b4b;
            --danger-light: #fceaea;
            --info-color: #3b82c4;
            --info-light: #e8f2fb;
            --shadow-soft: 0 15px 50px rgba(28, 30, 80, .08);
            --shadow-card: 0 20px 60px rgba(39, 42, 100, .10);
            --shadow-sm: 0 4px 14px rgba(28, 30, 80, .06);
            --radius-sm: 8px;
            --radius-md: 14px;
            --radius-lg: 24px;
            --container-width: 1280px;
        }

        * {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            color: var(--body-color);
            background: var(--white-color);
            font-family: "DM Sans", sans-serif;
            overflow-x: hidden;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            color: var(--secondary-color);
            font-weight: 700;
        }

        .brand-heading {
            font-family: "Playfair Display", serif;
        }

        .top-strip {
            background: var(--secondary-color);
            color: rgba(255,255,255,.85);
            font-size: 13px;
            padding: 9px 0;
        }

        .top-strip a {
            color: #fff;
            text-decoration: none;
        }

        .main-navigation {
            background: rgba(255,255,255,.95);
            border-bottom: 1px solid rgba(86,90,207,.08);
            transition: all .3s ease;
            z-index: 1030;
        }

        .main-navigation.sticky-active {
            box-shadow: 0 10px 40px rgba(20,20,60,.08);
        }

        .brand-logo {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            color: var(--secondary-color);
            text-decoration: none;
            font-weight: 800;
            line-height: 1.05;
        }

        .brand-logo-mark {
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            background: var(--primary-color);
            border-radius: 14px;
            font-size: 21px;
            box-shadow: 0 10px 25px rgba(86,90,207,.25);
        }

        .brand-logo-text {
            font-size: 15px;
        }

        .brand-logo-text small {
            display: block;
            color: var(--primary-color);
            font-size: 10px;
            letter-spacing: 1.3px;
            text-transform: uppercase;
            margin-top: 3px;
        }

        .navigation-link {
            color: #343548 !important;
            font-weight: 600;
            font-size: 14px;
            padding: 29px 13px !important;
            position: relative;
        }

        .navigation-link::after {
            content: "";
            position: absolute;
            width: 0;
            height: 3px;
            left: 50%;
            bottom: 18px;
            background: var(--primary-color);
            border-radius: 20px;
            transform: translateX(-50%);
            transition: width .3s ease;
        }

        .navigation-link:hover::after,
        .navigation-link.active::after {
            width: 24px;
        }

        .login-button {
            color: var(--primary-color);
            border: 1px solid rgba(86,90,207,.25);
            border-radius: 10px;
            padding: 10px 17px;
            font-size: 14px;
            font-weight: 700;
            transition: .3s ease;
        }

        .login-button:hover {
            color: #fff;
            background: var(--primary-color);
        }

        .signup-button {
            color: #fff;
            background: var(--primary-color);
            border: 1px solid var(--primary-color);
            border-radius: 10px;
            padding: 10px 18px;
            font-size: 14px;
            font-weight: 700;
            box-shadow: 0 10px 25px rgba(86,90,207,.2);
            transition: .3s ease;
        }

        .signup-button:hover {
            color: #fff;
            background: var(--primary-dark);
            transform: translateY(-2px);
        }

        .hero-section {
            position: relative;
            min-height: 690px;
            display: flex;
            align-items: center;
            overflow: hidden;
            background:
                radial-gradient(circle at 80% 20%, rgba(86,90,207,.13), transparent 32%),
                linear-gradient(135deg, #fafaff 0%, #f3f3ff 100%);
        }

        .hero-section::before {
            content: "";
            position: absolute;
            width: 500px;
            height: 500px;
            border: 1px solid rgba(86,90,207,.08);
            border-radius: 50%;
            right: -150px;
            top: -130px;
        }

        .hero-section::after {
            content: "";
            position: absolute;
            width: 340px;
            height: 340px;
            border: 1px solid rgba(86,90,207,.08);
            border-radius: 50%;
            left: -170px;
            bottom: -150px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero-label {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: rgba(86,90,207,.09);
            color: var(--primary-color);
            border-radius: 50px;
            padding: 8px 15px;
            font-weight: 700;
            font-size: 13px;
            margin-bottom: 20px;
        }

        .hero-title {
            font-size: clamp(43px, 5vw, 70px);
            line-height: 1.05;
            letter-spacing: -2px;
            margin-bottom: 24px;
        }

        .hero-title span {
            color: var(--primary-color);
        }

        .hero-description {
            max-width: 590px;
            font-size: 17px;
            line-height: 1.8;
            margin-bottom: 30px;
        }

        .hero-search {
            max-width: 650px;
            background: #fff;
            padding: 8px;
            border-radius: 15px;
            box-shadow: var(--shadow-card);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .hero-search-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            background: var(--primary-light);
            border-radius: 12px;
            flex-shrink: 0;
        }

        .hero-search input {
            border: 0;
            outline: 0;
            flex: 1;
            min-width: 0;
            font-size: 14px;
        }

        .hero-search button {
            border: 0;
            background: var(--primary-color);
            color: #fff;
            border-radius: 11px;
            padding: 14px 22px;
            font-weight: 700;
        }

        .hero-buttons {
            display: flex;
            gap: 12px;
            margin-top: 25px;
        }

        .hero-primary-btn {
            background: var(--primary-color);
            color: #fff;
            border-radius: 11px;
            padding: 14px 23px;
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 14px 30px rgba(86,90,207,.23);
            transition: .3s ease;
        }

        .hero-primary-btn:hover {
            color: #fff;
            background: var(--primary-dark);
            transform: translateY(-3px);
        }

        .hero-secondary-btn {
            background: #fff;
            color: var(--secondary-color);
            border: 1px solid var(--border-color);
            border-radius: 11px;
            padding: 14px 23px;
            font-weight: 700;
            text-decoration: none;
            transition: .3s ease;
        }

        .hero-secondary-btn:hover {
            color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .hero-visual {
            position: relative;
            z-index: 2;
            padding: 35px;
        }

        .hero-image-wrapper {
            position: relative;
            max-width: 520px;
            margin: auto;
        }

        .hero-image-wrapper::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            top: 22px;
            left: -22px;
            background: var(--primary-color);
            border-radius: 35px;
            opacity: .13;
            transform: rotate(-4deg);
        }

        .hero-image {
            position: relative;
            width: 100%;
            height: 520px;
            object-fit: cover;
            border-radius: 35px;
            box-shadow: 0 30px 80px rgba(40,40,100,.18);
        }

        .hero-floating-card {
            position: absolute;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 20px 60px rgba(30,30,70,.16);
            padding: 15px;
            display: flex;
            align-items: center;
            gap: 11px;
            animation: floatMotion 4s ease-in-out infinite;
        }

        .hero-floating-card.first {
            left: -35px;
            bottom: 65px;
        }

        .hero-floating-card.second {
            right: -35px;
            top: 65px;
            animation-delay: 1.5s;
        }

        .floating-icon {
            width: 44px;
            height: 44px;
            background: var(--primary-light);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            font-size: 20px;
        }

        .floating-text strong {
            display: block;
            color: var(--secondary-color);
            font-size: 14px;
        }

        .floating-text small {
            font-size: 11px;
        }

        @keyframes floatMotion {
            0%, 100% {
                transform: translateY(0);
            }

            50% {
                transform: translateY(-12px);
            }
        }

        .stats-strip {
            position: relative;
            z-index: 5;
            margin-top: -45px;
        }

        .stats-box {
            background: #fff;
            border-radius: 20px;
            box-shadow: var(--shadow-card);
            padding: 28px 20px;
        }

        .stat-item {
            text-align: center;
            position: relative;
        }

        .stat-item:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 15%;
            height: 70%;
            width: 1px;
            background: var(--border-color);
        }

        .stat-number {
            color: var(--primary-color);
            font-size: 30px;
            font-weight: 800;
        }

        .stat-label {
            font-size: 13px;
            margin-top: 3px;
        }

        .section-space {
            padding: 105px 0;
        }

        .section-heading {
            max-width: 720px;
            margin: 0 auto 50px;
            text-align: center;
        }

        .section-tag {
            color: var(--primary-color);
            font-size: 12px;
            letter-spacing: 1.8px;
            text-transform: uppercase;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .section-title {
            font-family: "Playfair Display", serif;
            font-size: clamp(32px, 4vw, 48px);
            line-height: 1.15;
            margin-bottom: 15px;
        }

        .section-description {
            line-height: 1.8;
            margin: 0 auto;
        }

        .category-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 30px 20px;
            text-align: center;
            height: 100%;
            transition: .35s ease;
            position: relative;
            overflow: hidden;
        }

        .category-card::before {
            content: "";
            position: absolute;
            width: 110px;
            height: 110px;
            border-radius: 50%;
            background: var(--primary-light);
            top: -55px;
            right: -45px;
            transition: .35s ease;
        }

        .category-card:hover {
            transform: translateY(-9px);
            border-color: rgba(86,90,207,.2);
            box-shadow: var(--shadow-card);
        }

        .category-card:hover::before {
            transform: scale(2.5);
        }

        .category-icon {
            width: 66px;
            height: 66px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            border-radius: 18px;
            color: var(--primary-color);
            background: var(--primary-light);
            font-size: 27px;
            position: relative;
            z-index: 1;
            transition: .35s ease;
        }

        .category-card:hover .category-icon {
            color: #fff;
            background: var(--primary-color);
            transform: rotate(-5deg) scale(1.05);
        }

        .category-title {
            font-size: 17px;
            margin-bottom: 8px;
            position: relative;
            z-index: 1;
        }

        .category-count {
            font-size: 12px;
            position: relative;
            z-index: 1;
        }

        .course-section {
            background: var(--light-bg);
        }

        .course-card {
            background: #fff;
            border-radius: 18px;
            overflow: hidden;
            height: 100%;
            border: 1px solid transparent;
            transition: .35s ease;
        }

        .course-card:hover {
            transform: translateY(-8px);
            border-color: rgba(86,90,207,.12);
            box-shadow: var(--shadow-card);
        }

        .course-thumbnail {
            height: 220px;
            position: relative;
            overflow: hidden;
        }

        .course-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .6s ease;
        }

        .course-card:hover .course-thumbnail img {
            transform: scale(1.07);
        }

        .course-badge {
            position: absolute;
            top: 15px;
            left: 15px;
            background: #fff;
            color: var(--primary-color);
            padding: 6px 10px;
            border-radius: 7px;
            font-size: 10px;
            font-weight: 800;
            text-transform: uppercase;
        }

        .course-content {
            padding: 22px;
        }

        .course-category {
            color: var(--primary-color);
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: .6px;
        }

        .course-title {
            font-size: 18px;
            line-height: 1.4;
            margin: 8px 0 13px;
        }

        .course-rating {
            display: flex;
            align-items: center;
            gap: 7px;
            font-size: 12px;
        }

        .course-stars {
            color: #f5a623;
        }

        .course-meta {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid var(--border-color);
            padding-top: 16px;
            margin-top: 16px;
            font-size: 12px;
        }

        .course-meta i {
            color: var(--primary-color);
            margin-right: 4px;
        }

        .course-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 17px;
        }

        .course-price {
            color: var(--secondary-color);
            font-size: 21px;
            font-weight: 800;
        }

        .course-price del {
            color: #aaa;
            font-size: 12px;
            font-weight: 500;
            margin-left: 5px;
        }

        .course-view-btn {
            color: var(--primary-color);
            font-size: 13px;
            font-weight: 800;
            text-decoration: none;
        }

        .course-view-btn i {
            transition: margin .3s ease;
        }

        .course-view-btn:hover i {
            margin-left: 5px;
        }

        .feature-section {
            overflow: hidden;
        }

        .feature-image-wrap {
            position: relative;
            padding: 20px;
        }

        .feature-image {
            width: 100%;
            height: 540px;
            object-fit: cover;
            border-radius: 28px;
            box-shadow: 0 25px 70px rgba(40,40,90,.14);
        }

        .feature-experience {
            position: absolute;
            right: 0;
            bottom: 45px;
            background: #fff;
            padding: 18px 22px;
            border-radius: 15px;
            box-shadow: var(--shadow-card);
        }

        .feature-experience strong {
            display: block;
            color: var(--primary-color);
            font-size: 27px;
        }

        .feature-experience span {
            font-size: 12px;
        }

        .feature-content {
            padding-left: 25px;
        }

        .feature-list {
            list-style: none;
            padding: 0;
            margin: 30px 0;
        }

        .feature-list li {
            display: flex;
            gap: 13px;
            margin-bottom: 18px;
        }

        .feature-check {
            flex-shrink: 0;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
        }

        .feature-list strong {
            color: var(--secondary-color);
            display: block;
            margin-bottom: 3px;
        }

        .feature-list span {
            font-size: 13px;
            line-height: 1.6;
        }

        .process-section {
            background: var(--secondary-color);
            position: relative;
            overflow: hidden;
        }

        .process-section .section-title,
        .process-section .section-description {
            color: #fff;
        }

        .process-section .section-description {
            color: rgba(255,255,255,.62);
        }

        .process-step {
            position: relative;
            text-align: center;
            color: #fff;
        }

        .process-step::after {
            content: "";
            position: absolute;
            top: 35px;
            left: calc(50% + 52px);
            width: calc(100% - 105px);
            height: 1px;
            background: rgba(255,255,255,.15);
        }

        .process-step:last-child::after {
            display: none;
        }

        .process-number {
            width: 70px;
            height: 70px;
            margin: 0 auto 22px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(86,90,207,.2);
            border: 1px solid rgba(255,255,255,.15);
            color: #fff;
            font-size: 20px;
            font-weight: 800;
            position: relative;
            z-index: 2;
        }

        .process-step h4 {
            color: #fff;
            font-size: 17px;
        }

        .process-step p {
            color: rgba(255,255,255,.58);
            font-size: 13px;
            line-height: 1.7;
            max-width: 230px;
            margin: auto;
        }

        .instructor-card {
            text-align: center;
        }

        .instructor-image-wrap {
            position: relative;
            margin-bottom: 20px;
        }

        .instructor-image {
            width: 100%;
            height: 310px;
            object-fit: cover;
            border-radius: 20px;
            filter: saturate(.92);
        }

        .instructor-social {
            position: absolute;
            bottom: -14px;
            left: 50%;
            transform: translateX(-50%);
            background: #fff;
            padding: 8px 12px;
            border-radius: 50px;
            box-shadow: var(--shadow-soft);
            display: flex;
            gap: 7px;
        }

        .instructor-social a {
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary-color);
            text-decoration: none;
            font-size: 12px;
        }

        .instructor-name {
            font-size: 18px;
            margin-bottom: 4px;
        }

        .instructor-role {
            font-size: 12px;
            color: var(--primary-color);
            font-weight: 700;
        }

        .video-section {
            background: var(--light-bg);
        }

        .video-card {
            position: relative;
            overflow: hidden;
            border-radius: 24px;
            min-height: 450px;
        }

        .video-card img {
            width: 100%;
            height: 450px;
            object-fit: cover;
        }

        .video-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 25%, rgba(12,13,35,.86));
        }

        .video-content {
            position: absolute;
            left: 35px;
            right: 35px;
            bottom: 30px;
            color: #fff;
        }

        .video-content h3 {
            color: #fff;
            font-family: "Playfair Display", serif;
            font-size: 31px;
        }

        .video-content p {
            color: rgba(255,255,255,.72);
            max-width: 600px;
            font-size: 13px;
        }

        .video-play {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 74px;
            height: 74px;
            transform: translate(-50%, -50%);
            border: 0;
            border-radius: 50%;
            color: var(--primary-color);
            background: #fff;
            font-size: 25px;
            padding-left: 5px;
            box-shadow: 0 20px 50px rgba(0,0,0,.2);
            animation: pulsePlay 2s infinite;
        }

        @keyframes pulsePlay {
            0% {
                box-shadow: 0 0 0 0 rgba(255,255,255,.5);
            }

            70% {
                box-shadow: 0 0 0 20px rgba(255,255,255,0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(255,255,255,0);
            }
        }

        .testimonial-card {
            background: #fff;
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 28px;
            height: 100%;
            transition: .3s ease;
        }

        .testimonial-card:hover {
            transform: translateY(-7px);
            box-shadow: var(--shadow-card);
        }

        .testimonial-quote {
            width: 42px;
            height: 42px;
            background: var(--primary-light);
            color: var(--primary-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
        }

        .testimonial-text {
            color: #57596c;
            line-height: 1.8;
            font-size: 14px;
            margin-bottom: 24px;
        }

        .testimonial-user {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .testimonial-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            object-fit: cover;
        }

        .testimonial-avatar-fallback {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            background: var(--primary-light, #eeefff);
            color: var(--primary-color, #565acf);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
        }

        .testimonial-user strong {
            display: block;
            color: var(--secondary-color);
            font-size: 13px;
        }

        .testimonial-user span {
            font-size: 11px;
        }

        .faq-section {
            background: var(--light-bg);
        }

        .faq-accordion .accordion-item {
            border: 0;
            background: #fff;
            border-radius: 12px !important;
            margin-bottom: 12px;
            overflow: hidden;
        }

        .faq-accordion .accordion-button {
            box-shadow: none;
            color: var(--secondary-color);
            font-weight: 700;
            padding: 20px;
        }

        .faq-accordion .accordion-button:not(.collapsed) {
            color: var(--primary-color);
            background: #fff;
        }

        .faq-accordion .accordion-body {
            color: var(--body-color);
            font-size: 13px;
            line-height: 1.8;
            padding-top: 0;
        }

        .newsletter-section {
            padding: 90px 0;
        }

        .newsletter-box {
            background:
                radial-gradient(circle at 85% 20%, rgba(255,255,255,.16), transparent 20%),
                linear-gradient(135deg, var(--primary-color), #4448b8);
            color: #fff;
            border-radius: 30px;
            padding: 60px;
            position: relative;
            overflow: hidden;
        }

        .newsletter-box::before {
            content: "";
            position: absolute;
            width: 250px;
            height: 250px;
            border: 1px solid rgba(255,255,255,.13);
            border-radius: 50%;
            right: -80px;
            bottom: -100px;
        }

        .newsletter-box h2 {
            color: #fff;
            font-family: "Playfair Display", serif;
            font-size: 39px;
        }

        .newsletter-box p {
            color: rgba(255,255,255,.7);
            max-width: 550px;
        }

        .newsletter-form {
            background: #fff;
            padding: 7px;
            border-radius: 12px;
            display: flex;
            max-width: 540px;
            margin-top: 25px;
        }

        .newsletter-form input {
            border: 0;
            outline: 0;
            flex: 1;
            min-width: 0;
            padding: 0 15px;
        }

        .newsletter-form button {
            border: 0;
            border-radius: 8px;
            padding: 13px 20px;
            background: var(--secondary-color);
            color: #fff;
            font-weight: 700;
        }

        .main-footer {
            background: #111225;
            color: rgba(255,255,255,.58);
            padding: 75px 0 25px;
        }

        .footer-brand {
            color: #fff;
            font-size: 17px;
            font-weight: 800;
            margin-bottom: 15px;
            display: block;
        }

        .footer-description {
            font-size: 13px;
            line-height: 1.8;
            max-width: 330px;
        }

        .footer-title {
            color: #fff;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .footer-links {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 11px;
        }

        .footer-links a {
            color: rgba(255,255,255,.55);
            text-decoration: none;
            font-size: 12px;
            transition: .25s ease;
        }

        .footer-links a:hover {
            color: #fff;
            padding-left: 4px;
        }

        .footer-social {
            display: flex;
            gap: 8px;
            margin-top: 20px;
        }

        .footer-social a {
            width: 36px;
            height: 36px;
            border-radius: 9px;
            background: rgba(255,255,255,.06);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: .3s ease;
        }

        .footer-social a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,.07);
            margin-top: 55px;
            padding-top: 20px;
            font-size: 11px;
        }

        .modal-content {
            border: 0;
            border-radius: 20px;
            overflow: hidden;
        }

        .auth-brand-panel {
            background: linear-gradient(145deg, var(--primary-color), #4145ae);
            color: #fff;
            padding: 45px 35px;
            height: 100%;
        }

        .auth-brand-panel h3 {
            color: #fff;
            font-family: "Playfair Display", serif;
            font-size: 32px;
        }

        .auth-brand-panel p {
            color: rgba(255,255,255,.7);
            font-size: 13px;
            line-height: 1.8;
        }

        .auth-feature {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 17px;
            font-size: 12px;
            color: rgba(255,255,255,.85);
        }

        .auth-feature i {
            color: #fff;
        }

        .auth-form-area {
            padding: 45px 35px;
        }

        .auth-form-area h4 {
            font-size: 24px;
            margin-bottom: 5px;
        }

        .auth-form-area > p {
            font-size: 12px;
        }

        .form-control-custom {
            height: 48px;
            border-radius: 10px;
            border: 1px solid var(--border-color);
            font-size: 13px;
            padding: 0 14px;
        }

        .form-control-custom:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(86,90,207,.08);
        }

        .auth-submit {
            width: 100%;
            border: 0;
            background: var(--primary-color);
            color: #fff;
            height: 48px;
            border-radius: 10px;
            font-weight: 700;
        }

        .floating-help {
            position: fixed;
            right: 22px;
            bottom: 22px;
            z-index: 1000;
        }

        .floating-help button {
            width: 54px;
            height: 54px;
            border: 0;
            border-radius: 50%;
            background: var(--primary-color);
            color: #fff;
            font-size: 21px;
            box-shadow: 0 15px 35px rgba(86,90,207,.35);
            transition: .3s ease;
        }

        .floating-help button:hover {
            transform: scale(1.08);
            background: var(--primary-dark);
        }

        /* Progressive enhancement: content is visible by default. JS adds
           .reveal-init (see main.js) only once it has confirmed
           IntersectionObserver support, so a page where the script fails to
           load/execute never leaves content permanently hidden. */
        .reveal-init.reveal-element {
            opacity: 0;
            transform: translateY(35px);
            transition: opacity .8s ease, transform .8s ease;
        }

        .reveal-init.reveal-element.visible {
            opacity: 1;
            transform: translateY(0);
        }

        @media (prefers-reduced-motion: reduce) {
            .reveal-init.reveal-element {
                opacity: 1;
                transform: none;
                transition: none;
            }
        }

        /* --- Password show/hide toggle (injected by main.js) --- */
        .password-field-wrap {
            position: relative;
        }

        .password-field-wrap input[type="password"],
        .password-field-wrap input[type="text"] {
            padding-right: 44px;
        }

        .password-toggle-btn {
            position: absolute;
            top: 50%;
            right: 4px;
            transform: translateY(-50%);
            width: 34px;
            height: 34px;
            border: 0;
            background: transparent;
            color: var(--body-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            cursor: pointer;
        }

        .password-toggle-btn:hover {
            color: var(--primary-color);
            background: var(--primary-light);
        }

        .password-toggle-btn:focus-visible {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

        /* --- Error / empty states (403, 404, 429, 500, "no data yet" blocks) --- */
        .error-state {
            max-width: 480px;
            margin: 0 auto;
        }

        .error-state-icon {
            width: 84px;
            height: 84px;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--primary-light);
            color: var(--primary-color);
            font-size: 34px;
        }

        .error-state-code {
            font-weight: 800;
            font-size: 13px;
            letter-spacing: 2px;
            color: var(--body-color);
            text-transform: uppercase;
            margin-bottom: 6px;
        }

        .empty-state {
            text-align: center;
            padding: 56px 24px;
        }

        .empty-state-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: var(--light-bg);
            color: var(--body-color);
            font-size: 26px;
        }

        .empty-state-title {
            color: var(--secondary-color);
            font-weight: 700;
            font-size: 17px;
            margin-bottom: 6px;
        }

        .empty-state-text {
            color: var(--body-color);
            font-size: 14px;
            max-width: 380px;
            margin: 0 auto;
        }

        @media (max-width: 991.98px) {

            .navigation-link {
                padding: 12px 0 !important;
            }

            .navigation-link::after {
                display: none;
            }

            .hero-section {
                min-height: auto;
                padding: 75px 0 100px;
            }

            .hero-visual {
                margin-top: 45px;
            }

            .hero-floating-card.first {
                left: -10px;
            }

            .hero-floating-card.second {
                right: -10px;
            }

            .feature-content {
                padding-left: 0;
                margin-top: 45px;
            }

            .process-step::after {
                display: none;
            }
        }

        @media (max-width: 767.98px) {

            .top-strip {
                display: none;
            }

            .hero-title {
                letter-spacing: -1px;
            }

            .hero-search {
                align-items: stretch;
            }

            .hero-search button {
                padding: 10px 14px;
            }

            .hero-buttons {
                flex-direction: column;
            }

            .hero-buttons a {
                text-align: center;
            }

            .hero-image {
                height: 420px;
            }

            .hero-floating-card {
                transform: scale(.85);
            }

            .hero-floating-card.first {
                left: -25px;
            }

            .hero-floating-card.second {
                right: -25px;
            }

            .stats-strip {
                margin-top: -30px;
            }

            .stat-item {
                margin: 12px 0;
            }

            .stat-item:not(:last-child)::after {
                display: none;
            }

            .section-space {
                padding: 75px 0;
            }

            .feature-image {
                height: 430px;
            }

            .newsletter-box {
                padding: 40px 25px;
            }

            .newsletter-box h2 {
                font-size: 30px;
            }

            .newsletter-form {
                flex-direction: column;
                gap: 8px;
                background: transparent;
            }

            .newsletter-form input {
                height: 48px;
                border-radius: 8px;
            }

            .newsletter-form button {
                height: 48px;
            }
        }
