/* =========================================================
   ACTOR LAB
   GLOBAL STYLE — CINEMATIC EDITION
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --black: #030303;
    --black-soft: #080809;
    --black-card: rgba(17, 17, 19, 0.72);

    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.78);
    --white-muted: rgba(255, 255, 255, 0.52);
    --white-faint: rgba(255, 255, 255, 0.32);

    --red: #e50914;
    --red-light: #ff3540;
    --red-dark: #870008;

    --border: rgba(255, 255, 255, 0.105);
    --border-red: rgba(229, 9, 20, 0.34);

    --radius-large: 30px;
    --radius-medium: 20px;

    --max-width: 1200px;

    --font-display: "Manrope", "Arial", sans-serif;
    --font-body: "DM Sans", "Arial", sans-serif;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--black);
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            ellipse 70% 50% at 50% -10%,
            rgba(229, 9, 20, 0.14),
            transparent 70%
        ),
        radial-gradient(
            ellipse 50% 40% at 100% 50%,
            rgba(115, 0, 8, 0.09),
            transparent 70%
        ),
        var(--black);

    color: var(--white);

    font-family: var(--font-body);

    font-size: 16px;
    line-height: 1.5;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";

    position: fixed;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.015) 45%,
            transparent 55%
        );

    z-index: -2;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.background-effects {
    position: fixed;
    inset: 0;

    pointer-events: none;

    overflow: hidden;

    z-index: -1;
}

.glow {
    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    filter: blur(140px);

    opacity: 0.13;
}

.glow-one {
    top: -300px;
    left: -220px;

    background: var(--red);
}

.glow-two {
    right: -300px;
    top: 40%;

    background: #760008;
}

.noise {
    position: absolute;
    inset: 0;

    opacity: 0.028;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    width: min(calc(100% - 32px), var(--max-width));

    min-height: 68px;

    padding: 10px 12px 10px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background:
        linear-gradient(
            135deg,
            rgba(24, 24, 26, 0.78),
            rgba(9, 9, 10, 0.68)
        );

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 22px;

    backdrop-filter: blur(28px) saturate(130%);
    -webkit-backdrop-filter: blur(28px) saturate(130%);

    box-shadow:
        0 18px 60px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.055);

    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;

    min-width: 130px;
}

.brand img {
    width: auto;
    height: 43px;

    object-fit: contain;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.brand:hover img {
    transform: scale(1.025);
    opacity: 0.9;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    position: relative;

    padding: 10px 14px;

    color: var(--white-muted);

    font-family: var(--font-body);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: -0.01em;

    border-radius: 12px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.main-nav a:hover {
    color: var(--white);

    background: rgba(255, 255, 255, 0.055);

    transform: translateY(-1px);
}

.main-nav .nav-login {
    color: var(--white);

    background:
        linear-gradient(
            135deg,
            rgba(229, 9, 20, 0.95),
            rgba(169, 0, 8, 0.95)
        );

    border: 1px solid rgba(255, 65, 75, 0.38);

    box-shadow:
        0 8px 24px rgba(229, 9, 20, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.main-nav .nav-login:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--red-light),
            var(--red)
        );

    box-shadow:
        0 12px 30px rgba(229, 9, 20, 0.28);
}


/* =========================================================
   GENERAL
   ========================================================= */

main {
    width: 100%;
}

.section {
    width: min(calc(100% - 32px), var(--max-width));

    margin: 0 auto;

    padding: 125px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 19px;

    color: var(--red-light);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 24px;
    height: 1px;

    background: var(--red-light);

    box-shadow: 0 0 10px rgba(255, 53, 64, 0.5);
}


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

.hero {
    position: relative;

    width: min(calc(100% - 32px), var(--max-width));

    min-height: 850px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.hero-content {
    position: relative;

    width: min(780px, 100%);

    padding-top: 70px;

    z-index: 2;
}

.hero h1 {
    max-width: 900px;

    font-family: var(--font-display);

    font-size: clamp(58px, 8vw, 108px);

    line-height: 0.91;

    letter-spacing: -0.075em;

    font-weight: 800;
}

.hero h1 span,
.section-heading h2 span,
.about-content h2 span,
.personal-card h2 span {
    color: var(--red-light);

    text-shadow:
        0 0 35px rgba(229, 9, 20, 0.16);
}

.hero p {
    max-width: 570px;

    margin-top: 31px;

    color: var(--white-soft);

    font-size: 17px;

    line-height: 1.75;

    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 38px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 52px;

    padding: 0 22px;

    overflow: hidden;

    color: #ffffff;

    font-family: var(--font-body);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: -0.01em;

    text-decoration: none;

    border-radius: 14px;

    cursor: pointer;

    outline: none;

    transition:
        transform 0.25s cubic-bezier(.2,.8,.2,1),
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.button::after {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.18),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.65s ease;

    pointer-events: none;
}

.button:hover::after {
    left: 150%;
}

.button:hover {
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(0) scale(0.98);
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.button-primary {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #ff2632 0%,
            #e50914 48%,
            #b60009 100%
        ) !important;

    border: 1px solid rgba(255, 86, 95, 0.48);

    box-shadow:
        0 12px 30px rgba(229, 9, 20, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.17);

    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.22);
}

.button-primary:hover {
    color: #ffffff !important;

    background:
        linear-gradient(
            135deg,
            #ff3b45 0%,
            #f01925 50%,
            #d30712 100%
        ) !important;

    border-color:
        rgba(255, 100, 108, 0.58);

    box-shadow:
        0 17px 42px rgba(229, 9, 20, 0.38),
        0 0 25px rgba(229, 9, 20, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}


/* =========================================================
   GLASS BUTTON
   ========================================================= */

.button-glass {
    color: #ffffff !important;

    background:
        rgba(255, 255, 255, 0.055) !important;

    border: 1px solid rgba(255, 255, 255, 0.13);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.button-glass:hover {
    color: #ffffff !important;

    background:
        rgba(255, 255, 255, 0.095) !important;

    border-color:
        rgba(255, 255, 255, 0.21);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}


/* =========================================================
   BUTTON ARROWS
   ========================================================= */

.button span {
    position: relative;

    z-index: 2;

    transition:
        transform 0.25s ease;
}

.button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   SMALL BUTTON
   ========================================================= */

.button-small {
    min-height: 42px;

    padding: 0 15px;

    border-radius: 11px;

    font-size: 11px;
}


/* =========================================================
   FULL WIDTH BUTTON
   ========================================================= */

.button-full {
    width: 100%;
}


/* =========================================================
   HERO DECORATION
   ========================================================= */

.hero-decoration {
    position: absolute;

    right: -110px;
    top: 50%;

    width: 620px;
    height: 620px;

    transform: translateY(-50%);

    pointer-events: none;

    opacity: 0.85;
}

.hero-ring {
    position: absolute;

    inset: 0;

    border-radius: 50%;

    border: 1px solid rgba(229, 9, 20, 0.27);

    box-shadow:
        0 0 110px rgba(229, 9, 20, 0.08),
        inset 0 0 100px rgba(229, 9, 20, 0.035);

    animation: rotate-ring 24s linear infinite;
}

.hero-ring-two {
    inset: 80px;

    border-color: rgba(255, 255, 255, 0.08);

    animation-direction: reverse;
    animation-duration: 32s;
}

.hero-dot {
    position: absolute;

    width: 11px;
    height: 11px;

    top: 12%;
    right: 25%;

    border-radius: 50%;

    background: var(--red-light);

    box-shadow:
        0 0 25px rgba(255, 53, 64, 0.85),
        0 0 55px rgba(229, 9, 20, 0.35);

    animation: floating-dot 4s ease-in-out infinite;
}

@keyframes rotate-ring {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes floating-dot {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.section-heading {
    max-width: 700px;

    margin-bottom: 55px;
}

.section-heading h2 {
    font-family: var(--font-display);

    font-size: clamp(43px, 6vw, 72px);

    line-height: 0.96;

    letter-spacing: -0.065em;

    font-weight: 800;
}

.section-heading p {
    margin-top: 23px;

    color: var(--white-muted);

    font-size: 16px;

    line-height: 1.75;
}


/* =========================================================
   COURSES
   ========================================================= */

.courses-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;
}

.course-card {
    position: relative;

    min-height: 310px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: var(--radius-large);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);

    transition:
        transform 0.4s cubic-bezier(.2,.8,.2,1),
        border-color 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.course-card::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -150px;
    bottom: -150px;

    border-radius: 50%;

    background: var(--red);

    filter: blur(95px);

    opacity: 0;

    transition: opacity 0.4s ease;
}

.course-card:hover {
    transform: translateY(-7px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.03)
        );

    border-color: rgba(229, 9, 20, 0.32);

    box-shadow:
        0 22px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.course-card:hover::before {
    opacity: 0.17;
}

.course-number {
    color: var(--white-faint);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.08em;
}

.course-content {
    position: relative;

    z-index: 2;
}

.course-age {
    color: var(--red-light);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.course-content h3 {
    margin-top: 8px;

    font-family: var(--font-display);

    font-size: 42px;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.course-content p {
    max-width: 440px;

    margin-top: 13px;

    color: var(--white-muted);

    line-height: 1.65;

    font-size: 14px;
}

.course-arrow {
    position: absolute;

    right: 29px;
    bottom: 25px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--white-soft);

    background: rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;

    font-size: 18px;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.course-card:hover .course-arrow {
    color: var(--white);

    background: var(--red);

    border-color: var(--red);

    transform: translate(3px, -3px);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-section {
    width: min(calc(100% - 32px), var(--max-width));

    margin: 0 auto;

    padding: 100px 0;
}

.about-card {
    position: relative;

    min-height: 500px;

    padding: 65px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(229, 9, 20, 0.13),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 35px;

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.about-card::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -170px;
    top: -170px;

    border-radius: 50%;

    border: 1px solid rgba(229, 9, 20, 0.16);

    box-shadow:
        0 0 120px rgba(229, 9, 20, 0.08);
}

.about-label {
    position: absolute;

    right: 40px;
    bottom: 35px;

    color: rgba(255, 255, 255, 0.045);

    font-family: var(--font-display);

    font-size: clamp(40px, 7vw, 90px);

    font-weight: 800;

    letter-spacing: -0.075em;
}

.about-content {
    position: relative;

    max-width: 720px;

    z-index: 2;
}

.about-content h2 {
    font-family: var(--font-display);

    font-size: clamp(43px, 6vw, 73px);

    line-height: 0.96;

    letter-spacing: -0.065em;

    font-weight: 800;
}

.about-content p {
    max-width: 620px;

    margin-top: 26px;

    color: var(--white-soft);

    line-height: 1.75;

    font-size: 16px;
}


/* =========================================================
   PERSONAL AREA CTA
   ========================================================= */

.personal-section {
    width: min(calc(100% - 32px), var(--max-width));

    margin: 0 auto;

    padding: 80px 0;
}

.personal-card {
    padding: 43px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background:
        linear-gradient(
            105deg,
            rgba(229, 9, 20, 0.14),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(229, 9, 20, 0.22);

    border-radius: var(--radius-large);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.personal-card h2 {
    font-family: var(--font-display);

    font-size: clamp(36px, 5vw, 57px);

    letter-spacing: -0.06em;

    font-weight: 800;
}

.personal-card p {
    max-width: 600px;

    margin-top: 13px;

    color: var(--white-muted);

    line-height: 1.65;
}


/* =========================================================
   CONTACTS
   ========================================================= */

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.contact-card {
    min-height: 155px;

    padding: 26px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        rgba(255, 255, 255, 0.045);

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: var(--radius-medium);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);

    background: rgba(255, 255, 255, 0.065);

    border-color: rgba(229, 9, 20, 0.32);
}

.contact-card span {
    color: var(--red-light);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.contact-card strong {
    font-family: var(--font-display);

    font-size: 16px;

    font-weight: 600;

    line-height: 1.5;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    width: min(calc(100% - 32px), var(--max-width));

    margin: 0 auto;

    padding: 52px 0 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: var(--white-muted);

    font-size: 12px;
}

.footer-logo img {
    width: auto;
    height: 35px;
}

.site-footer a {
    color: var(--white-soft);

    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: var(--red-light);
}


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

@media (max-width: 850px) {

    .main-nav a:not(.nav-login) {
        display: none;
    }

    .hero {
        min-height: 760px;
    }

    .hero-decoration {
        right: -290px;

        opacity: 0.48;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 45px 35px;
    }

    .personal-card {
        flex-direction: column;

        align-items: flex-start;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        flex-direction: column;

        align-items: flex-start;
    }
}


@media (max-width: 560px) {

    .site-header {
        top: 10px;

        width: calc(100% - 20px);

        min-height: 59px;

        padding: 8px 9px 8px 13px;

        border-radius: 18px;
    }

    .brand img {
        height: 35px;
    }

    .main-nav .nav-login {
        padding: 9px 13px;

        font-size: 11px;

        border-radius: 11px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content {
        padding-top: 90px;
    }

    .hero h1 {
        font-size: clamp(51px, 16vw, 77px);
    }

    .hero p {
        font-size: 15px;

        line-height: 1.7;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        width: 100%;
    }

    .section,
    .about-section,
    .personal-section {
        padding-top: 78px;

        padding-bottom: 78px;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2 {
        font-size: 45px;
    }

    .course-card {
        min-height: 275px;

        padding: 25px;
    }

    .course-content h3 {
        font-size: 37px;
    }

    .about-card {
        min-height: 440px;

        padding: 32px 25px;

        border-radius: 28px;
    }

    .about-content h2 {
        font-size: 45px;
    }

    .personal-card {
        padding: 30px 25px;

        border-radius: 26px;
    }

    .personal-card h2 {
        font-size: 40px;
    }

    .personal-card .button {
        width: 100%;
    }

    .button {
        min-height: 50px;

        padding: 0 19px;

        font-size: 12px;

        border-radius: 13px;
    }

    .button-small {
        min-height: 40px;

        padding: 0 13px;
    }
}
