html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #00272D;
    color: white;
}

* {
    color: white;
    font-size: 16px;
    box-sizing: border-box !important;
}

@font-face {
    font-family: 'PublicaPlay';
    src: url('../../PublicaPlay-Regular.otf') format('opentype');
    font-weight: 400;
}

@font-face {
    font-family: 'PublicaPlay';
    src: url('../../PublicaPlay-Medium.ttf') format('truetype');
    font-weight: 500;
}

@font-face {
    font-family: 'PublicaPlay';
    src: url('../../PublicaPlay-Bold.ttf') format('truetype');
    font-weight: 700;
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section {
    min-height: 100vh;
    height: auto;
    width: 100%;
    padding: 120px 60px;
}

.navbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 2.25rem;
    margin: 0 auto;
    padding: 1.5rem clamp(1rem, 4vw, 3.75rem);
}

.nav-group {
    display: flex;
    align-items: center;
    gap: clamp(0.9rem, 1.6vw, 2rem);
    min-width: 0;
}

.logo {
    justify-content: flex-start;
}

.logo img {
    height: clamp(1.9rem, 2.5vw, 2.7rem);
    width: auto;
}

.nav-left {
    justify-content: flex-start;
}

.nav-center {
    justify-content: center;
}

.nav-right {
    justify-content: flex-end;
}

.navbar .nav-btn {
    color: #f2fcff;
    text-decoration: none;
    font-size: clamp(1.1rem, 1.2vw, 2rem);
    line-height: 1;
    font-weight: 500;
    white-space: nowrap;
    position: relative;
}

.navbar .nav-btn:not(.btn-primary):hover {
    padding-bottom: 0.8rem;
}

.navbar .nav-btn:not(.btn-primary):hover::after {
    content: "";
    position: absolute;
    left: -0.7rem;
    right: -0.1rem;
    bottom: 0;
    height: 0.75rem;
    border: 2px solid #f7653e;
    border-top: 0;
    border-right: 0;
    border-bottom-left-radius: 1.1rem;
}

.navbar .nav-btn:not(.btn-primary):hover::before {
    content: "";
    position: absolute;
    left: 0.9rem;
    right: -0.1rem;
    bottom: 0;
    border-bottom: 2px solid #f7653e;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #f7653e;
    color: white;
    padding: 0.9rem 2.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.btn-primary:hover {
    background-color: #89412e;
}

.btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 1.5rem 2.5rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    line-height: 1;
}

.btn-secondary:hover {
    background-color: #8a8a8a;
}

.inline-buttons {
    display: flex;
    gap: 20px;
    margin-top: 1.5rem;
}

@media (max-width: 1100px) {
    .navbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        row-gap: 1rem;
    }

    .nav-center {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

@media (max-width: 760px) {
    .navbar {
        grid-template-columns: 1fr auto;
        gap: 0.9rem 1rem;
        padding: 1rem 1rem 0.8rem;
    }

    .logo {
        grid-column: 1 / 2;
    }

    .nav-right {
        grid-column: 2 / 3;
        justify-self: end;
    }

    .nav-left,
    .nav-center {
        grid-column: 1 / -1;
        justify-content: center;
        flex-wrap: wrap;
        row-gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-right {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .nav-right .btn-primary {
        width: 100%;
    }
}

.section-title {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    font-size: 56px;
    text-align: left;
    font-family: 'PublicaPlay', sans-serif;
}

.form-holder {
    display: flex;
    flex-direction: column;
    width: min(100%, 42rem);
    margin-top: clamp(0.85rem, 2vw, 2rem);
}

.form {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    height: auto;
    padding: 0;
    gap: 0.9rem;
}

#step1.form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: stretch;
}

.form-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 0.75rem;
}

.form-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #fff;
    padding-bottom: 15rem;
}

button,
input[type="submit"],
input[type="reset"] {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.form-input,
select,
option {
    color: black;
    width: 100%;
    background: white;
    border-radius: 10px;
    outline: none;
    font-family: var(--font-secondary);
    font-size: 1.25rem;
    padding: 0.65em 0.75rem;
    transition: 0.2s ease;
}

.form-input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px var(--accent);
}

.form-checkbox {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0rem 1rem;
    gap: 1rem;
}

.form-checkbox>.form-disclaimer {
    color: #9ba8ac;
    font-size: 1.15rem;
    font-family: 'Inter', sans-serif;
}

.form-btn {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #f7653e;
    color: white;
    padding: 1rem 5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 22px;
    font-family: 'Inter', sans-serif;
}

.form-btn:hover {
    background-color: #89412e;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 5.5rem);
    min-height: calc(100vh - 110px);
    margin: 0 auto;
    padding: clamp(1.5rem, 4vw, 4rem) clamp(1rem, 4vw, 3.75rem) clamp(2.5rem, 5vw, 4.5rem);
    overflow: clip;
}

.hero::before {
    content: "";
    position: absolute;
    right: -12%;
    bottom: -22%;
    aspect-ratio: 1 / 1;
    background: radial-gradient(circle, rgba(16, 144, 168, 0.35) 0%, rgba(16, 144, 168, 0.08) 45%, rgba(16, 144, 168, 0) 72%);
    pointer-events: none;
}

.hero-text,
.hero-image {
    position: relative;
    z-index: 1;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1.2rem, 2.2vw, 2.4rem);
}

.hero-text h1 {
    font-size: clamp(3rem, 6vw, 5.9rem);
    line-height: 0.96;
    margin: 0;
    letter-spacing: 0.01em;
    font-family: 'PublicaPlay', sans-serif;
}

.hero-text p {
    font-size: clamp(1.2rem, 2.05vw, 2.15rem);
    line-height: 1.32;
    margin: 0;
    padding-right: 0;
    font-family: 'Inter', sans-serif;
}

.buttons {
    display: flex;
    gap: 20px;
}

.buttons a {
    background: white;
    color: black;
    padding: 15px 20px;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.buttons a.google {
    background: black;
    color: white;
}

.hero .form-btn {
    width: auto;
    min-width: 9rem;
    padding: 0.9rem 1.8rem;
    font-size: 1.15rem;
    line-height: 1;
}

#step2.form .form-btn {
    width: 100%;
}

.hero-image img {
    width: min(100%, clamp(18rem, 30vw, 31rem));
    transform: rotate(28deg) translateX(8%);
    margin: 0;
    filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.38));
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: clamp(23rem, 54vw, 44rem);
}

@media (max-width: 1100px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-text h1 {
        max-width: 12ch;
    }

    .hero-text p {
        max-width: 44ch;
    }

    .form-holder {
        max-width: 34rem;
    }

    .hero-image {
        justify-content: center;
        min-height: auto;
    }

    .hero-image img {
        width: min(72vw, 24rem);
        transform: rotate(20deg);
    }
}

@media (max-width: 760px) {
    .hero {
        gap: 1.4rem;
        padding: 1rem 1rem 2.5rem;
    }

    .hero-text h1 {
        font-size: clamp(2.4rem, 13vw, 3.2rem);
    }

    .hero-text p {
        font-size: clamp(1rem, 4.8vw, 1.35rem);
        max-width: 100%;
    }

    .form-holder {
        width: 100%;
    }

    #step1.form {
        grid-template-columns: 1fr;
    }

    .hero .form-btn {
        width: 100%;
    }

    .form-inline {
        grid-template-columns: 1fr;
    }
}

.plans {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0 5rem;
}

.plan {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: black;
    background-color: #fff;
    border-radius: 20px;
    min-height: 700px;
    padding: 3rem 2rem;
}

.plan-title {
    color: black;
    font-size: 36px;
    font-weight: bold;
}

.plan-features>li {
    color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    padding: 0.25rem 0;
}

.support-section {
    padding-top: clamp(3rem, 6vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
}

.support-title {
    margin: 0 0 clamp(1.5rem, 3.2vw, 2.8rem);
    color: #f1f8fa;
    text-align: center;
    font-family: 'PublicaPlay', sans-serif;
    font-size: clamp(2.2rem, 5.1vw, 4rem);
    line-height: 1.05;
    letter-spacing: 0.01em;
}

.support-card {
    width: min(100%, 1350px);
    margin: 0 auto;
    background: #e6e6e6;
    border-radius: 1.2rem;
    padding: clamp(1.4rem, 3vw, 2.8rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
    gap: clamp(1.4rem, 3vw, 3.25rem);
}

.support-card,
.support-card h3,
.support-card p,
.support-card span,
.support-card input,
.support-card select,
.support-card textarea {
    color: #11171a;
    font-family: 'Inter', sans-serif;
}

.support-form-column h3 {
    margin: 0 0 1.1rem;
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.1;
    font-weight: 700;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.support-input {
    width: 100%;
    border: 2px solid #1b1f22;
    border-radius: 0.75rem;
    background: #f0f0f0;
    color: #11171a;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    padding: 0.82rem 0.95rem;
}

.support-input::placeholder {
    color: #2d3338;
    opacity: 1;
}

.support-input:focus {
    outline: none;
    border-color: #0f9a90;
    box-shadow: 0 0 0 3px rgba(15, 154, 144, 0.25);
}

.support-select-wrap {
    position: relative;
}

.support-select {
    appearance: none;
    padding-right: 2.7rem;
    cursor: pointer;
}

.support-select-wrap::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-35%);
    width: 0;
    height: 0;
    border-left: 0.45rem solid transparent;
    border-right: 0.45rem solid transparent;
    border-top: 0.62rem solid #11171a;
    pointer-events: none;
}

.support-textarea {
    margin-top: 1rem;
    min-height: 15.5rem;
    resize: vertical;
}


.support-form-status {
    min-height: 1.25rem;
    margin: 0.15rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #157a71;
}

.support-form-status.error {
    color: #be3c3c;
}

.support-info-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.2rem;
}

.support-illustration {
    width: 100%;
    max-width: 420px;
    align-self: center;
}

.support-illustration svg {
    display: block;
    width: 100%;
    height: auto;
}

.support-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    margin-top: auto;
}

.support-contact-list p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.72rem;
    font-size: clamp(1.02rem, 1.2vw, 1.45rem);
    line-height: 1.1;
    font-weight: 500;
}

.support-icon {
    flex: 0 0 1.28rem;
    width: 1.28rem;
    margin-top: 0.08rem;
}

.support-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.support-icon svg path {
    fill: #11bba9;
}

@media (max-width: 980px) {
    .support-card {
        grid-template-columns: 1fr;
    }

    .support-info-column {
        gap: 1.5rem;
    }

    .support-illustration {
        max-width: 360px;
        align-self: flex-start;
    }
}

@media (max-width: 760px) {
    .support-section {
        padding: 2.6rem 1rem 3rem;
    }

    .support-card {
        border-radius: 1rem;
        padding: 1.1rem;
    }

    .support-form-column h3 {
        font-size: clamp(1.6rem, 9vw, 2.35rem);
    }

    .support-input {
        font-size: 1rem;
        padding: 0.75rem 0.82rem;
    }

    .support-textarea {
        min-height: 10.5rem;
    }

    .support-submit-btn {
        font-size: 1.08rem;
    }

    .support-contact-list p {
        font-size: 1rem;
        line-height: 1.25;
    }
}

footer {
    border-top: 1px solid #02C7AA;
    background-color: #04262F;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
}

.footer-mark {
    width: auto;
    height: 175px;
    margin: 2rem 0;
}

.footer-name {
    font-family: var(--font-display);
    letter-spacing: 0.05em;
}

.footer-note {
    color: white;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    color: white;
}

.footer-link {
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
}

.footer-link:hover {
    color: #f7653e;
}

.footer-link-icon {
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease;
    color: white;
}

.social-links {
    display: flex;
    flex-direction: row;
    width: 80%;
    justify-content: center;
    color: white;
    gap: 3rem;
    margin: 1.5rem 0;
}

.link-icon {
    width: 66px;
    height: 66px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.2s ease;
    color: white;
}

.link-icon:hover,
.link-icon:hover svg {
    fill: #02C7AA;
    color: #02C7AA;
    transform: translateY(-2px) scale(1.1);
    filter: invert(67%) sepia(64%) saturate(600%) hue-rotate(120deg) brightness(130%) contrast(110%);
}

.footer-link-twitter {
    background-image: url('../images/Twitter_Logo.svg');
}

.footer-link-instagram {
    background-image: url('../images/Instagram_Logo_64.png');
}

.footer-link-youtube {
    background-image: url('../images/YouTube_Logo_64.png');
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: white;
    text-align: center;
}

.footer-legal {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 1rem;
    color: white;
    text-align: center;
}

.footer-copy {
    font-size: 1.1rem;
    color: white;
    text-align: center;
}

@media (max-width: 900px) {
    footer {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 640px) {
    .footer-links {
        width: 100%;
        justify-content: flex-start;
    }
}
