/* Interra Custom Theme - Main CSS */

/* =========================================
   WORDSMITH DESIGN SYSTEM
========================================= */

:root {
    /* Brand colors */
    --ws-orange: #FF7B00;
    --ws-yellow: #FFFB00;
    --ws-lime: #84FF00;

    /* Supporting colors */
    --ws-navy: #101C46;
    --ws-navy-light: #172B60;
    --ws-white: #FFFFFF;
    --ws-light: #F4F6FC;
    --ws-text: #18213B;
    --ws-muted: #68738B;

    /* Gradients */
    --ws-gradient:
        linear-gradient(120deg, #FF7B00, #FFFB00);

    --ws-glow:
        linear-gradient(135deg, #FF7B00, #FFFB00, #84FF00);

    /* Layout */
    --ws-container: 1200px;
    --ws-radius: 14px;
    --ws-transition: 0.3s ease;
}

/* Reset */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ws-text);
    background: var(--ws-white);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(90%, var(--ws-container));
    margin-inline: auto;
}

a {
    transition: var(--ws-transition);
}

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

::selection {
    background: var(--ws-yellow);
    color: var(--ws-navy);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

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

.site-header {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.site-title {
    color: #111111;
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
}

/* Navigation */

.main-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    display: block;
    color: #222222;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.primary-menu a:hover {
    color: #777777;
}

/* CTA */

.header-cta-button {
    display: inline-block;
    padding: 13px 25px;
    background: #111111;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.header-cta-button:hover {
    background: #444444;
    color: #ffffff;
}

/* Mobile Toggle */

.menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #111111;
    margin: 6px 0;
}

/* Accessibility */

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    z-index: 10000;
    background: #ffffff;
    padding: 10px;
}

.skip-link:focus {
    top: 10px;
}

/* Responsive */

@media (max-width: 768px) {

    .header-container {
        min-height: 70px;
        position: relative;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    }

    .main-navigation.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header-cta {
        display: none;
    }

}

/* =====================================
   GLOBAL HOMEPAGE STYLES
===================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #777777;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.section-heading h2 {
    margin-bottom: 18px;
    font-size: 42px;
    line-height: 1.2;
}

.section-heading p {
    color: #666666;
    line-height: 1.7;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #171717;
    color: #ffffff;
}

.btn-primary:hover {
    background: #444444;
    color: #ffffff;
}

.btn-secondary {
    border: 1px solid #222222;
    color: #222222;
}

.btn-secondary:hover {
    background: #222222;
    color: #ffffff;
}

.btn-light {
    background: #ffffff;
    color: #171717;
}

.btn-light:hover {
    background: #eeeeee;
    color: #171717;
}

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

.ws-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 650px;
    padding: 100px 0 110px;
    background:
        radial-gradient(
            circle at 75% 30%,
            rgba(255, 123, 0, 0.16),
            transparent 30%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(132, 255, 0, 0.08),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #101C46,
            #172B60
        );
    color: #ffffff;
}

.ws-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

/* Background elements */

.ws-hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.ws-orb {
    position: absolute;
    display: block;
    border-radius: 50%;
    filter: blur(2px);
    animation: ws-float 8s ease-in-out infinite;
}

.ws-orb-one {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
    background: rgba(255, 123, 0, 0.12);
    filter: blur(70px);
}

.ws-orb-two {
    width: 250px;
    height: 250px;
    bottom: -100px;
    left: 25%;
    background: rgba(132, 255, 0, 0.12);
    filter: blur(80px);
}

.ws-orb-three {
    width: 150px;
    height: 150px;
    right: 40%;
    top: 40%;
    background: rgba(255, 251, 0, 0.08);
    filter: blur(60px);
}

.ws-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: ws-particle-float 6s ease-in-out infinite;
}

.ws-particle-one {
    background: var(--ws-orange);
    top: 20%;
    left: 12%;
}

.ws-particle-two {
    background: var(--ws-yellow);
    top: 60%;
    right: 12%;
    animation-delay: 1.5s;
}

.ws-particle-three {
    background: var(--ws-lime);
    bottom: 15%;
    left: 50%;
    animation-delay: 3s;
}

/* Hero content */

.ws-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 9px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ws-label-dot {
    width: 8px;
    height: 8px;
    background: var(--ws-lime);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--ws-lime);
}

.ws-hero-content h1 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
}

.ws-heading-highlight {
    display: block;
    width: fit-content;
    margin-top: 8px;
    padding: 3px 10px;
    background: var(--ws-yellow);
    color: var(--ws-navy);
    transform: rotate(-1deg);
}

.ws-hero-description {
    max-width: 520px;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 1.8;
}

/* Buttons */

.ws-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 23px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ws-btn-primary {
    background: var(--ws-orange);
    color: #ffffff;
    box-shadow: 0 7px 25px rgba(255,123,0,0.3);
}

.ws-btn-primary:hover {
    background: #ff941f;
    color: #ffffff;
    transform: translateY(-3px);
}

.ws-btn-outline {
    border: 1px solid rgba(255,255,255,0.55);
    color: #ffffff;
}

.ws-btn-outline:hover {
    background: #ffffff;
    color: var(--ws-navy);
}

.ws-hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    color: rgba(255,255,255,0.75);
    font-size: 13px;
}

.ws-trust-icon {
    color: var(--ws-yellow);
    font-size: 22px;
}

/* Hero visual */

.ws-hero-visual {
    position: relative;
    min-width: 0;
}

.ws-hero-image,
.ws-hero-image-placeholder {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 5px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.3);
}

.ws-hero-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(
            135deg,
            rgba(255,123,0,0.2),
            rgba(132,255,0,0.1)
        ),
        #1b326c;
}

.ws-placeholder-content {
    max-width: 260px;
    padding: 25px;
    text-align: center;
}

.ws-placeholder-icon {
    color: var(--ws-yellow);
    font-size: 50px;
}

.ws-placeholder-content h3 {
    color: #ffffff;
    font-size: 30px;
}

.ws-placeholder-content p {
    color: #d9deed;
    line-height: 1.6;
}

/* Floating cards */

.ws-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.96);
    color: var(--ws-navy);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    animation: ws-float 5s ease-in-out infinite;
}

.ws-floating-badge > span {
    color: var(--ws-orange);
    font-size: 24px;
}

.ws-floating-badge strong,
.ws-floating-badge small {
    display: block;
}

.ws-floating-badge strong {
    font-size: 13px;
}

.ws-floating-badge small {
    margin-top: 4px;
    color: var(--ws-muted);
    font-size: 11px;
}

.ws-badge-top {
    top: 30px;
    left: -35px;
}

.ws-badge-bottom {
    right: -25px;
    bottom: 30px;
    animation-delay: 1.5s;
}

.ws-badge-star {
    color: var(--ws-yellow) !important;
}

/* Decorative bottom */

.ws-hero-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 45px;
    background: var(--ws-white);
    clip-path: polygon(0 55%, 15% 85%, 35% 35%, 55% 70%, 75% 25%, 100% 65%, 100% 100%, 0 100%);
}

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

.trust-section {
    padding: 35px 0;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.trust-item h3 {
    margin-bottom: 8px;
    font-size: 30px;
    color: #222222;
}

.trust-item p {
    margin: 0;
    color: #777777;
    font-size: 14px;
}

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

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.about-image-placeholder {
    min-height: 400px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e5e5e5, #f8f8f8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555555;
    font-size: 25px;
    font-weight: 700;
}

.about-content h2 {
    margin: 0 0 25px;
    font-size: 42px;
    line-height: 1.2;
}

.about-content p {
    margin-bottom: 18px;
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
}

.text-link {
    display: inline-block;
    margin-top: 15px;
    color: #171717;
    font-weight: 700;
    text-decoration: none;
}

.text-link:hover {
    color: #777777;
}

/* =====================================
   SERVICES SECTION
===================================== */

.services-section {
    background: #f7f7f7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    padding: 35px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 10px;
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.07);
}

.service-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: #eeeeee;
    border-radius: 8px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 23px;
}

.service-card p {
    color: #666666;
    line-height: 1.7;
}

/* =====================================
   FEATURES SECTION
===================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.feature-item {
    padding: 25px;
    border-left: 3px solid #222222;
    background: #f8f8f8;
}

.feature-item h3 {
    margin-bottom: 12px;
    font-size: 20px;
}

.feature-item p {
    margin: 0;
    color: #666666;
    line-height: 1.7;
}

/* =====================================
   CONTACT SECTION
===================================== */

.contact-section {
    background: #171717;
    color: #ffffff;
}

.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-section .section-label {
    color: #cccccc;
}

.contact-section h2 {
    margin-bottom: 18px;
    font-size: 42px;
}

.contact-section p {
    max-width: 600px;
    color: #cccccc;
    line-height: 1.8;
}

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

@media (max-width: 992px) {

    .hero-container,
    .about-container {
        gap: 35px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .section-padding {
        padding: 65px 0;
    }

    .hero-section {
        padding: 65px 0;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image-placeholder,
    .about-image-placeholder {
        min-height: 280px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

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

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

    .section-heading h2,
    .about-content h2,
    .contact-section h2 {
        font-size: 32px;
    }

    .contact-container {
        flex-direction: column;
        align-items: flex-start;
    }

}

@media (max-width: 480px) {

    .hero-content h1 {
        font-size: 36px;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .trust-grid {
        gap: 20px;
    }

}

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

.site-footer {
    background: #171717;
    color: #ffffff;
    padding: 75px 0 25px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-column h3 {
    margin: 0 0 25px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo a {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    display: block;
}

.footer-about p {
    max-width: 300px;
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-menu li {
    margin-bottom: 14px;
}

.footer-menu a {
    color: #aaaaaa;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 25px;
    border-top: 1px solid #333333;
}

.footer-bottom p {
    margin: 0;
    color: #aaaaaa;
    font-size: 13px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-bottom-links a {
    color: #aaaaaa;
    font-size: 13px;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

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

@media (max-width: 992px) {

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

}

@media (max-width: 576px) {

    .site-footer {
        padding: 55px 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom-links {
        gap: 15px;
    }

}

.hero-image {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 12px;
}


/* =====================================
   DYNAMIC SERVICE CARDS
===================================== */

.service-card {
    overflow: hidden;
}

.service-image {
    display: block;
    margin: -35px -35px 25px;
    overflow: hidden;
}

.service-image img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-card h3 a {
    color: #222222;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: #777777;
}

.service-description {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

.service-description p {
    margin: 0;
}

/* =========================================
   WORDSMITH HERO - FULL BACKGROUND IMAGE
========================================= */

.ws-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    width: 100%;
    min-height: 680px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    background-color: #ffffff;
    color: #ffffff;
}

/* Optional subtle overlay for text readability */

.ws-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background: rgba(0, 0, 0, 0.18);
}

/* Hero container */

.ws-hero-container {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    width: min(90%, 1200px);
    margin: 0 auto;
}

/* Hero content */

.ws-hero-content {
    width: 100%;
    max-width: 650px;
}

.ws-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;
    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50px;

    background: rgba(0,0,0,0.2);
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ws-label-dot {
    width: 9px;
    height: 9px;

    border-radius: 50%;
    background: #84FF00;
}

.ws-hero-content h1 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
}

.ws-heading-highlight {
    display: block;
    width: fit-content;

    margin-top: 10px;
    padding: 4px 12px;

    background: #FFFB00;
    color: #171717;

    transform: rotate(-1deg);
}

.ws-hero-description {
    max-width: 540px;

    margin-bottom: 30px;

    color: #ffffff;
    font-size: 17px;
    line-height: 1.8;
}

/* Hero buttons */

.ws-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 52px;
    padding: 15px 25px;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition: all 0.3s ease;
}

.ws-btn-primary {
    background: #FF7B00;
    color: #ffffff;
}

.ws-btn-primary:hover {
    background: #84FF00;
    color: #171717;
    transform: translateY(-3px);
}

.ws-btn-outline {
    border: 1px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.ws-btn-outline:hover {
    background: #ffffff;
    color: #171717;
}

/* Trust text */

.ws-hero-trust {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 30px;

    color: #ffffff;
    font-size: 13px;
}

.ws-trust-icon {
    color: #FFFB00;
    font-size: 22px;
}

/* Mobile responsive */

@media (max-width: 768px) {

    .ws-hero {
        min-height: 600px;
        padding: 80px 0;

        background-position: center center;
    }

    .ws-hero-content h1 {
        font-size: 42px;
        letter-spacing: -1px;
    }

    .ws-hero-description {
        font-size: 15px;
    }

    .ws-hero-actions {
        flex-direction: column;
    }

    .ws-btn {
        width: 100%;
    }

}

@media (max-width: 480px) {

    .ws-hero {
        min-height: 550px;
        padding: 65px 0;
    }

    .ws-hero-content h1 {
        font-size: 36px;
    }

    .ws-hero-label {
        font-size: 10px;
    }

}


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

.atp-hero {
    position: relative;
    min-height: 810px;
    overflow: hidden;
    isolation: isolate;
    background: #102553;
    color: #ffffff;
    font-family: inherit;
}

/* Announcement */

.atp-announcement {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 10px 15px;
    background: #e71936;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

/* Main layout */

.atp-hero-inner {
    position: relative;
    z-index: 3;
    width: min(1140px, calc(100% - 40px));
    min-height: 690px;
    margin: 0 auto;
    padding: 45px 0 125px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 55px;
}

/* Left content */

.atp-hero-content {
    position: relative;
    z-index: 4;
    max-width: 520px;
}

/* Top badges */

.atp-top-badges {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 36px;
}

.atp-logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 36px;
    border-radius: 12px;
    background: #ffffff;
    color: #182c5b;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.atp-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 15px;
    border: 1px solid #1688b8;
    border-radius: 30px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

.atp-ai-badge span {
    color: #ffd83e;
}

/* Course badge */

.atp-course-badge {
    display: inline-block;
    margin-bottom: 22px;
    padding: 7px 12px;
    border: 1px solid #00b8d9;
    border-radius: 30px;
    background: rgba(0, 184, 217, 0.08);
    color: #b9eaff;
    font-size: 11px;
    font-weight: 600;
}

/* Heading */

.atp-hero-title {
    margin: 0 0 23px;
    color: #f3f5ff;
    font-size: clamp(42px, 4.1vw, 58px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2px;
}

.atp-hero-title span {
    display: table;
    margin-top: 3px;
    padding: 3px 9px 5px;
    background: #ffda4d;
    color: #081b43;
}

/* Description */

.atp-hero-description {
    max-width: 480px;
    margin: 0 0 23px;
    color: #c6d2ed;
    font-size: 15px;
    line-height: 1.7;
}

/* Price message */

.atp-price-message {
    margin-bottom: 12px;
    color: #c6d2ed;
    font-size: 12px;
}

.atp-price-message strong {
    color: #ffda4d;
}

/* Countdown */

.atp-countdown {
    display: flex;
    gap: 9px;
    margin-bottom: 20px;
}

.atp-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 66px;
    border: 1px solid #4359a8;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
}

.atp-countdown-item strong {
    color: #f4f6ff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
}

.atp-countdown-item span {
    margin-top: 5px;
    color: #aab8d7;
    font-size: 10px;
}

/* Enrol button */

.atp-enrol-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.atp-enrol-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 2px solid #bd102b;
    border-radius: 10px;
    background: #e71936;
    box-shadow: 0 4px 0 rgba(111, 0, 19, 0.35);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.25s ease, background 0.25s ease;
}

.atp-enrol-button:hover {
    transform: translateY(-3px);
    background: #ff2947;
}

.atp-price {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.atp-price del {
    color: #aab6d0;
    font-size: 11px;
}

.atp-price strong {
    color: #ffda4d;
    font-size: 14px;
}

.atp-price span {
    color: #b7c3dd;
    font-size: 10px;
}

/* Seats */

.atp-seats {
    max-width: 440px;
}

.atp-seats-label {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #c4cee5;
    font-size: 11px;
}

.atp-seats-track {
    height: 6px;
    overflow: hidden;
    border-radius: 10px;
    background: #06183e;
}

.atp-seats-track span {
    display: block;
    width: 70%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #20d6df, #ffdf4c);
}


/* =========================================
   AI ASSISTANT VISUAL
========================================= */

.atp-hero-visual {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 490px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbit circles */

.atp-orbit {
    position: absolute;
    border: 1px dashed rgba(122, 164, 225, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.atp-orbit-one {
    width: 410px;
    height: 410px;
    top: -25px;
    right: 5px;
}

.atp-orbit-two {
    width: 250px;
    height: 250px;
    bottom: -40px;
    left: -10px;
}

/* Assistant window */

.atp-assistant-window {
    position: absolute;
    top: 20px;
    right: 15px;
    width: min(340px, 90%);
    height: 330px;
    overflow: visible;
    border: 1px solid #4255aa;
    border-radius: 17px;
    background: #0b1b43;
    box-shadow:
        0 0 0 6px rgba(80, 91, 190, 0.08),
        0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Assistant header */

.atp-assistant-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 42px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px 16px 0 0;
    background: #1b2d59;
}

.atp-assistant-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e7edff;
    font-size: 12px;
    font-weight: 700;
}

.atp-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #16d6e8;
    box-shadow: 0 0 10px rgba(22, 214, 232, 0.6);
    animation: atp-live-pulse 1.8s infinite;
}

.atp-assistant-brand {
    color: #c5d5ef;
    font-size: 10px;
    font-weight: 700;
}

/* Assistant message */

.atp-assistant-body {
    padding: 16px;
}

.atp-assistant-message {
    display: flex;
    justify-content: flex-end;
}

.atp-assistant-message p {
    max-width: 270px;
    min-height: 52px;
    margin: 0;
    padding: 11px 13px;
    border-radius: 12px 12px 3px 12px;
    background: #f0f3ff;
    color: #15264e;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.55;
}

/* Word-by-word reveal */

.atp-typing-text .atp-word {
    display: inline-block;
    margin-right: 3px;
    opacity: 0;
    transform: translateY(5px);
    animation: atp-word-reveal 0.28s ease forwards;
}

@keyframes atp-word-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typing dots */

.atp-assistant-typing {
    display: flex;
    gap: 5px;
    align-items: center;
    width: fit-content;
    margin-top: 9px;
    padding: 9px 12px;
    border: 1px solid rgba(0, 190, 225, 0.35);
    border-radius: 12px;
    background: #102b57;
}

.atp-assistant-typing span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #19c8e1;
    animation: atp-typing-dot 1s infinite ease-in-out;
}

.atp-assistant-typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.atp-assistant-typing span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes atp-typing-dot {
    0%, 60%, 100% {
        opacity: 0.35;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-4px);
    }
}

@keyframes atp-live-pulse {
    50% {
        opacity: 0.45;
        box-shadow: 0 0 2px rgba(22, 214, 232, 0.3);
    }
}

/* Assistant decoration */

.atp-assistant-decoration {
    position: absolute;
    top: -31px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid #6378b2;
    border-radius: 12px;
    background: #344a7c;
    color: #ffda4d;
    font-size: 20px;
}

/* Floating icons */

.atp-floating-icon {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #6077aa;
    border-radius: 12px;
    background: #263d6e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.atp-floating-cap {
    top: 160px;
    left: -5px;
    font-size: 17px;
}

.atp-floating-spark {
    top: 0;
    right: -5px;
    color: #ffda4d;
    font-size: 20px;
}

.atp-floating-light {
    bottom: 60px;
    left: -5px;
    color: #ffda4d;
    font-size: 16px;
}


/* =========================================
   LESSON CARD FLOATING ANIMATION
========================================= */

.atp-lesson-card {
    position: absolute;
    z-index: 5;
    right: 10px;
    bottom: -35px;
    width: min(315px, 90%);
    padding: 17px 18px 16px;
    border-radius: 13px;
    background: #ffffff;
    color: #1d2b4b;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    transform: rotate(1deg);
    animation: atp-card-float 4s ease-in-out infinite;
}

@keyframes atp-card-float {
    0%, 100% {
        transform: translateY(0) rotate(1deg);
    }
    50% {
        transform: translateY(-13px) rotate(0deg);
    }
}

.atp-lesson-card h3 {
    margin: 0 0 13px;
    color: #1b2b4d;
    font-size: 16px;
    font-weight: 800;
}

.atp-lesson-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px dashed #d9dfed;
    color: #354362;
    font-size: 11px;
}

.atp-time {
    white-space: nowrap;
}

.atp-time del {
    color: #e13b4e;
    font-size: 10px;
}

.atp-time strong {
    color: #6857ec;
    font-size: 11px;
}

.atp-lesson-footer {
    margin: 12px 0 0;
    color: #ed3446;
    font-size: 12px;
    font-weight: 800;
}


/* =========================================
   CITY SKYLINE
========================================= */

.atp-skyline {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 170px;
    overflow: hidden;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(5, 22, 58, 0.3)
    );
}

.atp-skyline-buildings {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 130px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3px;
}

.atp-building {
    position: relative;
    display: block;
    flex: 1;
    min-width: 12px;
    height: 65px;
    background: #0a1d48;
    border-top: 2px solid rgba(31, 57, 111, 0.7);
}

.atp-building:nth-child(3n) {
    height: 95px;
}

.atp-building:nth-child(4n) {
    height: 120px;
}

.atp-building:nth-child(5n) {
    height: 78px;
}

.atp-building:nth-child(7n) {
    height: 108px;
}

.atp-building i {
    position: absolute;
    inset: 12px 7px;
    background-image: radial-gradient(
        #ffda4d 2px,
        transparent 2.5px
    );
    background-size: 17px 20px;
    opacity: 0.8;
}

.atp-skyline-stars {
    position: absolute;
    inset: 0;
}

.atp-skyline-stars span {
    position: absolute;
    color: #ffda4d;
    font-size: 24px;
    animation: atp-star-twinkle 2.5s ease-in-out infinite alternate;
}

.atp-skyline-stars span:nth-child(1) {
    left: 12%;
    top: 15%;
}

.atp-skyline-stars span:nth-child(2) {
    left: 55%;
    top: 35%;
    animation-delay: 0.5s;
}

.atp-skyline-stars span:nth-child(3) {
    left: 70%;
    top: 15%;
    animation-delay: 1s;
}

.atp-skyline-stars span:nth-child(4) {
    right: 3%;
    top: 18%;
    font-size: 30px;
    animation-delay: 1.5s;
}

.atp-skyline-stars span:nth-child(5) {
    left: 35%;
    top: 45%;
    animation-delay: 0.8s;
}

@keyframes atp-star-twinkle {
    from {
        opacity: 0.4;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Decorative train */

.atp-skyline-train {
    position: absolute;
    z-index: 2;
    bottom: 8px;
    left: 11%;
    display: flex;
    gap: 4px;
}

.atp-skyline-train span {
    width: 68px;
    height: 18px;
    border: 2px solid #a90e2b;
    border-radius: 5px;
    background: #e71936;
}

.atp-skyline-train span::after {
    content: "";
    display: block;
    width: 9px;
    height: 6px;
    margin: 4px auto;
    background: #ffda4d;
}


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

@media (max-width: 900px) {

    .atp-hero-inner {
        grid-template-columns: 1fr 0.9fr;
        gap: 20px;
    }

    .atp-hero-title {
        font-size: 43px;
    }

    .atp-assistant-window {
        right: 0;
        width: 300px;
    }

    .atp-lesson-card {
        right: -5px;
        width: 285px;
    }

    .atp-orbit-one {
        width: 330px;
        height: 330px;
    }
}

@media (max-width: 680px) {

    .atp-hero {
        min-height: auto;
    }

    .atp-announcement {
        font-size: 11px;
    }

    .atp-hero-inner {
        width: min(100% - 36px, 480px);
        min-height: auto;
        padding: 35px 0 85px;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .atp-hero-content {
        max-width: 100%;
    }

    .atp-top-badges {
        margin-bottom: 25px;
    }

    .atp-hero-title {
        font-size: clamp(39px, 10vw, 50px);
        letter-spacing: -1.5px;
    }

    .atp-hero-description {
        font-size: 14px;
    }

    .atp-countdown-item {
        width: 62px;
        height: 62px;
    }

    .atp-enrol-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .atp-hero-visual {
        min-height: 440px;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .atp-assistant-window {
        top: 5px;
        right: 50%;
        width: min(340px, 88%);
        transform: translateX(50%);
    }

    .atp-lesson-card {
        right: 50%;
        bottom: 0;
        width: min(315px, 85%);
        transform: translateX(50%) rotate(1deg);
    }

    @keyframes atp-card-float {
        0%, 100% {
            transform: translate(50%, 0) rotate(1deg);
        }
        50% {
            transform: translate(50%, -10px) rotate(0deg);
        }
    }

    .atp-floating-cap {
        left: 0;
    }

    .atp-floating-light {
        left: 0;
        bottom: 45px;
    }

    .atp-floating-spark {
        right: 0;
    }

    .atp-orbit-one {
        width: 300px;
        height: 300px;
        top: 0;
        right: 50%;
        transform: translateX(50%);
    }

    .atp-orbit-two {
        width: 210px;
        height: 210px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .atp-skyline {
        height: 110px;
    }

    .atp-skyline-buildings {
        height: 85px;
    }

    .atp-building:nth-child(4n) {
        height: 80px;
    }

    .atp-skyline-train {
        display: none;
    }
}

/* Accessibility: respect reduced motion */

@media (prefers-reduced-motion: reduce) {

    .atp-lesson-card,
    .atp-live-dot,
    .atp-assistant-typing span,
    .atp-skyline-stars span {
        animation: none !important;
    }

    .atp-typing-text .atp-word {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

