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

:root {
    --brand-teal: #14b8a6;
    --brand-ocean: #0f766e;
    --text-main: #0a100f;
    --text-muted: #525c5a;
    --bg-main: #ffffff;
    --bg-alt: #f1f5f9;
    --border: rgba(0, 0, 0, 0.06);

    /* Integration Variables for Internal Pages */
    --navy: #0a100f;
    --teal: #14b8a6;
    --teal-light: #5eead4;
    --gray-100: #e2e8f0;
    --gray-300: #94a3b8;
    --gray-600: #475569;
    --off-white: #f8fafc;

    --radius: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    overflow-x: hidden;
    width: 100vw;
    -webkit-overflow-scrolling: touch;
}

body {
    background: var(--bg-main);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text-main);
    z-index: 1100;
}

.logo span {
    color: var(--brand-teal);
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-teal);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--text-main);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

.desktop-only {
    display: block !important;
}

.mobile-only {
    display: none !important;
}

@media (max-width: 1024px) {
    nav {
        padding: 20px 40px;
    }

    .nav-links {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 24px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        align-items: center;
        gap: 32px;
        transform: translateX(100%);
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s 0.4s;
        box-shadow: none;
        z-index: 1050;
    }

    .nav-links.active {
        transform: translateX(0);
        visibility: visible;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--text-main);
    }

    .nav-links .btn-primary.mobile-only {
        background: var(--text-main);
        color: white;
        padding: 16px 40px;
        font-size: 1rem;
        margin-top: 20px;
        border-radius: 100px;
    }

    .menu-toggle.active span {
        background-color: var(--text-main);
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* HERO */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    overflow: hidden;
    background: var(--text-main);
    /* Fallback */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero_premium.jpeg') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 16, 15, 0.8) 0%, rgba(15, 118, 110, 0.4) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding-right: 0 !important;
    /* Override previous desktop setting */
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1;
    font-weight: 800;
    margin: 24px 0;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-content .tag {
    background: var(--brand-teal);
    color: white;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 80px 24px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-btns a {
        width: 100%;
        text-align: center;
    }
}

/* SECTIONS */
section {
    padding: 140px 0;
}

section.white {
    background: white;
}

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

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--brand-teal);
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.split-block {
    display: flex;
    gap: 80px;
    align-items: center;
}

.split-image {
    flex: 1;
    height: 500px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.split-content h2 span {
    color: var(--brand-teal);
}

@media (max-width: 992px) {
    .split-block {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }

    .split-image {
        width: 100%;
        height: 350px;
    }

    .split-content h2 {
        font-size: 2.2rem;
    }

    .split-content div {
        justify-content: center;
    }
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.card {
    background: white;
    padding: 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-teal);
}

/* Grid Utilities */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 32px;
}

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

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

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

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {

    .grid-4,
    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
}

/* PRICING TABLE */
.pricing-section {
    text-align: center;
    background: #e0f2f1;
    /* Light teal background from reference */
    padding: 120px 0;
}

.price-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

@media (max-width: 640px) {
    .price-icons {
        grid-template-columns: 1fr;
    }
}

.price-icon-box {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-icon-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-teal);
}

.icon-svg {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
    stroke: var(--brand-teal);
    fill: none;
    stroke-width: 1.5;
}

.price-icon-box h4 {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.price-icon-box p {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--brand-ocean);
}

.table-wrap {
    max-width: 800px;
    margin: 80px auto 40px;
    background: white;
    padding: 2px;
    border-radius: 4px;
    overflow-x: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 500px;
}

.premium-table th {
    background: #f8fafc;
    padding: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-ocean);
    border-bottom: 1px solid var(--border);
}

.premium-table td {
    padding: 18px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.pricing-notes {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* SLIDER */
.slider-wrap {
    position: relative;
    max-width: 1000px;
    margin: 40px auto;
}

.slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar Chrome/Safari */

.slider-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .slider-item {
        aspect-ratio: 4/3;
    }
}

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-btn {
    background: var(--text-main);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--brand-teal);
    transform: scale(1.1);
}

/* FORM */
.form-box {
    background: white;
    padding: 60px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .form-box {
        padding: 32px;
    }

    .form-box form div {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

input,
textarea,
select {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    font-family: inherit;
}

.btn-primary {
    background: var(--brand-teal);
    color: white;
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary:hover {
    background: var(--brand-ocean);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(20, 184, 166, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 18px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    border: 1.5px solid white;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-secondary:hover {
    background: white;
    color: var(--brand-ocean);
}

/* FOOTER */
footer {
    padding: 100px 0 60px;
    background: var(--brand-ocean);
    color: white;
}

footer .logo,
footer .logo span {
    color: white;
}

footer h4 {
    color: white;
    margin-bottom: 24px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
}

footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: white !important;
    transform: translateX(5px);
}

footer .btn-primary {
    background: white;
    color: var(--brand-ocean);
}

footer .btn-primary:hover {
    background: var(--brand-teal);
    color: white;
}

footer input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

footer input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 80px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }

    .footer-top div {
        max-width: 100% !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-top div {
        max-width: 100% !important;
        margin: 0 auto;
    }

    .footer-top div:last-child {
        flex-direction: column;
        gap: 40px !important;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}