/* Global Buttons - Maximum Visibility */
.btn-primary-v4,
.btn-unlock-v4,
.btn-portal-action,
.btn-finish {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: var(--primary) !important;
    color: #000 !important;
    text-decoration: none !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    font-size: 0.9rem !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: auto;
}

.btn-primary-v4:hover,
.btn-unlock-v4:hover {
    background: #ffffff !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Base Styles */
:root {
    --primary: #d4af37;
    --accent: #ffffff;
    --dark: #000000;
    --card-bg: #0b0b0b;
    --text: #ffffff;
    --muted: #bbbbbb;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

body {
    background-color: var(--dark);
    color: var(--text);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.logo {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Header */
header {
    height: 120px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo span {
    font-weight: 300;
    font-style: italic;
    opacity: 0.6;
}

.nav-links {
    display: flex;
    gap: 4rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: 0.4s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section - Balanced Editorial */
.hero-v4 {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    background: #000;
}

.hero-content {
    padding: 0 4rem 0 8rem;
    z-index: 2;
}

.hero-image-side {
    height: 100%;
    background: url('https://images.unsplash.com/photo-1519014816548-bf5fe059798b?q=80&w=2000') center/cover no-repeat;
    position: relative;
}

.hero-image-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #000, transparent);
}

.hero-main-title {
    font-size: 8vw;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
}

.hero-main-title i {
    font-weight: 300;
    color: var(--primary);
}

.hero-desc {
    max-width: 500px;
    font-size: 1.1rem;
    color: #ffffff;
    letter-spacing: 0.5px;
    font-weight: 500;
    margin-bottom: 3rem;
}

.btn-primary-v4 {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: var(--primary);
    color: #000;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    transition: 0.4s;
    border: none;
    cursor: pointer;
}

.btn-primary-v4:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Courses */
.courses-v4 {
    padding: 8rem 0;
    background: var(--card-bg);
}

.course-row {
    padding: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 100px 1.5fr 1fr 200px;
    align-items: center;
    transition: 0.4s;
}

.course-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.c-num {
    font-weight: 900;
    font-size: 4rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    opacity: 0.4;
}

.c-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.c-desc {
    color: var(--muted);
    padding-right: 3rem;
    font-size: 1rem;
}

/* Modal System */
.modal-v4 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9000;
    overflow-y: auto;
}

.modal-content-v4 {
    min-height: 100%;
    display: flex;
}

.m-left {
    flex: 1.2;
    background: #080808;
    padding: 6rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.m-right {
    flex: 0.8;
    background-size: cover;
    background-position: center;
    position: relative;
}

.m-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #080808, transparent);
}

/* Inputs Boxed and Visible */
input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.25rem !important;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    border-radius: 4px;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.07) !important;
}

label {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

/* ===================================
   TABLET (max 1024px)
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    /* Nav */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero-v4 {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 8rem 3rem 5rem;
        text-align: center;
    }

    .hero-main-title {
        font-size: 12vw;
    }

    .hero-desc {
        max-width: 100%;
        margin: 0 auto 2.5rem;
    }

    .hero-sub {
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
    }

    .hero-image-side {
        height: 50vw;
        min-height: 350px;
        order: -1;
    }

    .hero-image-side::before {
        background: linear-gradient(to top, #000 20%, transparent);
    }

    /* Curriculum section */
    #curriculum .container>div {
        grid-template-columns: 1fr !important;
        gap: 4rem !important;
    }

    /* Courses */
    .course-row {
        grid-template-columns: 80px 1fr !important;
        gap: 1.5rem;
        padding: 3rem 2rem;
        align-items: start;
    }

    .c-title {
        font-size: 1.8rem;
    }

    .c-desc {
        padding-right: 0;
        font-size: 0.95rem;
    }

    .c-action {
        grid-column: 1 / -1;
    }

    /* Testimonials grid */
    #testimonials .container>div[style*="grid-template-columns: 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Modals */
    .modal-content-v4 {
        flex-direction: column;
    }

    .m-left {
        padding: 4rem 2rem;
        flex: unset;
    }

    .m-right {
        height: 250px;
        flex: unset;
        order: -1;
    }

    .m-right::before {
        background: linear-gradient(to top, #080808 30%, transparent);
    }

    /* Enrollment form grid */
    .modal-content-v4 form>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Trust columns in modal */
    .modal-content-v4>div>div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* FAQ section */
    #faq h2 {
        font-size: 3rem !important;
    }

    /* Footer grid */
    footer .container>div[style*="grid-template-columns: 2fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
    }
}

/* ===================================
   MOBILE PHONE (max 600px)
   =================================== */
@media (max-width: 600px) {
    .container {
        padding: 0 1.5rem;
    }

    header {
        height: 80px;
    }

    .logo {
        font-size: 1.4rem;
    }

    /* Hero */
    .hero-content {
        padding: 5rem 1.5rem 4rem;
    }

    .hero-main-title {
        font-size: 18vw;
        line-height: 1;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .btn-primary-v4,
    .btn-unlock-v4 {
        width: 100% !important;
        padding: 1.5rem !important;
        font-size: 0.85rem !important;
        letter-spacing: 2px !important;
    }

    /* Curriculum section stats */
    #curriculum .container div[style*="display:flex; gap: 4rem"] {
        gap: 2rem !important;
    }

    #curriculum h3 {
        font-size: 2rem !important;
    }

    /* Courses - stack vertically */
    .course-row {
        grid-template-columns: 1fr !important;
        text-align: center;
        padding: 2.5rem 1.5rem;
    }

    .c-num {
        font-size: 2.5rem;
    }

    .c-title {
        font-size: 1.5rem;
    }

    /* Section headings */
    h2[style*="font-size: 4rem"] {
        font-size: 2.5rem !important;
    }

    h2[style*="font-size:4rem"] {
        font-size: 2.5rem !important;
    }

    /* Testimonials */
    #testimonials {
        padding: 6rem 0 !important;
    }

    #testimonials .container>div {
        grid-template-columns: 1fr !important;
    }

    #testimonials .container>div>div {
        transform: none !important;
    }

    /* Offer cards */
    .modal-content-v4 .offer-v4-card {
        flex-direction: column;
        gap: 1rem;
    }

    /* Enrollment modal */
    .m-left {
        padding: 3rem 1.5rem;
    }

    .m-left h2 {
        font-size: 2.5rem !important;
    }

    .modal-content-v4 p {
        font-size: 0.95rem !important;
    }

    /* Trust columns */
    div[style*="border-left: 2px solid var(--primary)"],
    div[style*="border-left: 2px solid #fff"] {
        padding-left: 1rem !important;
    }

    /* FAQ */
    #faq {
        padding: 5rem 0 !important;
    }

    #faq h2 {
        font-size: 2.5rem !important;
    }

    details summary {
        font-size: 0.85rem !important;
        padding: 1.5rem !important;
    }

    /* Footer */
    footer .container>div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    footer .container>div[style*="display:flex; justify-content:space-between"] {
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: center !important;
    }

    /* Live notification */
    .live-notify {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        width: calc(100% - 2rem);
    }

    /* Stack modal grids on mobile */
    .modal-trust-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .form-name-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 1s forwards;
}

.live-notify {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: #111;
    border: 1px solid var(--primary);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(200%);
    transition: 0.6s;
    border-radius: 8px;
}

.live-notify.active {
    transform: translateY(0);
}

.live-notify img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Notification text */
.n-text {
    font-size: 0.8rem;
    color: #fff;
    line-height: 1.6;
}

.n-text strong {
    color: var(--primary);
    display: block;
    font-size: 0.9rem;
}

.n-text span {
    font-size: 0.75rem;
    color: var(--muted);
}

.n-time {
    display: block;
    font-size: 0.65rem !important;
    color: var(--primary) !important;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* Courses section label */
.courses-v4 .container>.section-label {
    display: block;
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 4px;
    font-weight: 800;
    margin-bottom: 2rem;
    padding: 4rem 0 0;
}

/* Select dropdown options always dark bg */
option {
    background: #000 !important;
    color: #fff !important;
}

/* Verification Bar */
.v-loader {
    margin-top: 2rem;
}

.v-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    width: 100%;
}

.v-fill {
    height: 2px;
    background: var(--primary);
    width: 0;
    transition: width 1s ease;
}

/* Success View */
.success-v4 {
    text-align: center;
    padding: 4rem;
    display: none;
}

.success-v4 i {
    font-size: 4rem;
    color: var(--primary);
    margin-bottom: 2rem;
    display: block;
}

.success-v4 h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Offer Cards */
.offers-v4-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.offer-v4 {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: 0.3s;
}

.offer-v4:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

.offer-v4 img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.offer-v4 .o-label {
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 2px;
    font-weight: 700;
}

.offer-v4 .o-title {
    font-size: 1rem;
    color: #fff;
    font-weight: 700;
}

.offer-v4 .o-cta {
    margin-left: auto;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: #000;
    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

/* Hamburger for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .hamburger {
        display: flex;
    }

    .btn-primary-v4,
    .btn-unlock-v4 {
        width: 100% !important;
        text-align: center;
    }

    .hero-sub {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .m-benefits {
        flex-direction: column !important;
    }

    .modal-content-v4 form .grid-2 {
        grid-template-columns: 1fr !important;
    }
}