/* Global Styles */
@font-face {
    font-family: 'Garet';
    src: url('./fonts/Garet-Book.woff2') format('woff2'),
         url('./fonts/Garet-Book.woff') format('woff'),
         url('./fonts/Garet-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Garet';
    src: url('../fonts/Garet-Heavy.woff2') format('woff2'),
         url('../fonts/Garet-Heavy.woff') format('woff'),
         url('../fonts/Garet-Heavy.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Garet', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    transform: scale(1);
    scroll-behavior: smooth;
    font-size: clamp(16px, max(2vh, 1.25vw), 200px);
}

body {
    line-height: 1.6;
    color: white;
    background-color: #04101f;
    overflow-x: hidden;
}

.snap-container {
    scroll-snap-type: y proximity;
    height: 100vh;
    overflow-y: scroll;
}

.snap-section {
    scroll-snap-align: start;
    min-height: 100vh;
}

/* Header Styles */
.header {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    padding: 0;
    /* overflow: hidden; */
    zoom: 1;
}

.header-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    height: 100%;
    margin: 0 clamp(20px, 5vw, 20rem);
}

/* Logo Styling */
.logo {
    align-self: flex-start;
    margin: min(5vh, 1rem) 0;
}

.logo img {
    width: max(20vw, 30vh);
    height: auto;
    display: block;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(100vh - 10rem);
    align-items: flex-start;
    gap: 1rem;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: linear-gradient(to bottom, #04101f56, #04101f),
        url('/images/trucker.webp') no-repeat right top;
    background-size: clamp(600px, max(50vw, 100vh), 2000rem) 100%;
    background-blend-mode: normal;
    /* filter: blur(px); */
    /* opacity: 0.4; */
}

/* .hero-content::after {
    backdrop-filter: blur(5px);
    height: 10vh;
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    background: rgba(4, 16, 31, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    content: '';
} */

.hero-subtitle {
    color: #FF69B4;
    letter-spacing: 1px;
    font-style: italic;
    line-height: 1;
}

/* Hero Title */
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    max-width: 65%;
    line-height: 1.2;
    margin-top: 1rem;
}

.hero-highlight {
    display: inline-block;
    font-size: 1.05em;
    background: linear-gradient(to right, #2EABE5, #47D7F4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Description */
.hero-description {
    font-size: 1rem;
    color: #c3cad4;
    width: clamp(calc(300px + 10vw), 60vw, 2000px);
    line-height: 1.6;
    margin-bottom: clamp(1rem, 2vh, 20rem);
    background: #04101fbc;
    padding: 1rem;
    border-radius: 1rem;
    margin-left: -1rem;
}

/* Call-to-Action Container */
.cta-container {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Buttons */
.button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: clamp(0.75rem, 1vw, 1rem);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: clamp(20vh, 15vw, 40vh);
    cursor: pointer;
}

.button-primary {
    background: linear-gradient(to right, #2EABE5, #47D7F4, 80%,  #FF69B4);
    color: #0A1219;
    border: 0.1rem solid transparent;
    background-clip: padding-box;
}

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

.button-secondary {
    background: linear-gradient(to right, rgba(71, 215, 244, 0.1), rgba(46, 171, 229, 0.1));
    color: #2EABE5;
    border: 0.1rem solid #2EABE5;
}

.button-secondary:hover {
    background: linear-gradient(to right, rgba(71, 215, 244, 0.2), rgba(46, 171, 229, 0.2));
    transform: translateY(-1px);
}

.button-arrow {
    margin-left: 0.75rem;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}

.button:hover .button-arrow {
    transform: translateX(3px);
}

.learn-more-section {
    padding: 1rem clamp(20px, 5vw, 20rem);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.75rem;
    min-height: 100vh;
}

.page-title {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(to right, #2EABE5, #47D7F4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1rem;
    color: #c3cad4;
    max-width: 90%;
}

.info-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    max-width: 90vw;
    gap: 1rem;
}

.info-section {
    border: 1px solid rgba(71, 215, 244, 0.2);
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.info-section:hover {
    transform: translateY(-5px);
}

.info-section-header {
    display: flex;
    flex-direction: row;
    flex: 1;
    justify-content: start;
    align-items: center;
    gap: clamp(0.5rem, 2.5vh, 50rem);
    margin: 0.5rem;
}

.info-icon {
    width: clamp(48px, max(5vw,5vh), 30rem);
    min-width: clamp(48px, max(5vw,5vh), 30rem);
    height: clamp(48px, max(5vw,5vh), 30rem);
    overflow: hidden;
    /* color: #47D7F4; */
}

.icon-cut {
    position: relative;
    /* width: clamp(48px, max(4vw,5vh), 30rem);
    min-width: clamp(48px, max(4vw,5vh), 30rem); */
    height: clamp(48px, max(5vw,5vh), 30rem);
    left: -20%;
}

.icon-mid {
    position: relative;
    /* width: clamp(48px, max(4vw,5vh), 30rem);
    min-width: clamp(48px, max(4vw,5vh), 30rem); */
    height: clamp(48px, max(5vw,5vh), 30rem);
    left: -40%;
}

.info-title {
    font-size: clamp(1rem, 2.5vw, 2rem);
    color: white;
    font-weight: 600;
}

.info-description {
    color: #c3cad4;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    margin-left: 1rem;
}

.info-features {
    list-style: none;
    margin-left: 1rem;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2.5vh, 50rem);
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    color: #c3cad4;
}

.feature-check {
    color: #47D7F4;
    width: clamp(1rem, 1.5vw, 20rem);
    height: clamp(1rem, 1.5vw, 20rem);
    min-width: clamp(1rem, 1.5vw, 20rem);
}

.cta-container-learn-more {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}

.cta-container-learn-more-text .cta-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    color: white;
}

.button-learn-more {
    background: linear-gradient(to right, #2EABE5, #47D7F4);
    color: #0A1219;
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    align-items: center;       /* Vertically center */
    justify-content: center;   /* Horizontally center */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

.modal-content {
    background-color: #0A1219;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
    border: 1px solid rgba(71, 215, 244, 0.2);
    max-width: min(25rem, 90%);
    border-radius: 1rem;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.signup-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.signup-box .page-title {
    color: white;
    font-size: 2rem;
}

.signup-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #A0AEC0;
    /* margin: 1rem 0; */
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(160, 174, 192, 0.2);
}

.divider::before {
    margin-right: 1rem;
}

.divider::after {
    margin-left: 1rem;
}

.email-form {
    display: none;
}

.email-form.visible {
    display: block;
}

.email-form button {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #A0AEC0;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(71, 215, 244, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #47D7F4;
    background: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: #A0AEC0;
}

.signup-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    /* gap: 0.75rem; */
    width: 100%;
    cursor: pointer;
}

.signup-button-arrow {
        /* margin-left: 0.75rem; */
        font-size: 1.2rem;
        transition: transform 0.2s ease;
    }

.signup-button:hover .signup-button-arrow {
    transform: translateX(3px);
}

.gsi-material-button {
    -moz-user-select: none;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f2f2f2;
    border: none;
    border-radius: 8px;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-size: max(14px, 1vw);
    outline: none;
    overflow: hidden;
    padding: 1rem;
    position: relative;
    text-align: center;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
    min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
    height: 1rem;
    min-width: 1rem;
    width: 1rem;
    float: left;
}

.gsi-material-button .gsi-material-button-content-wrapper {
    align-items: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
    flex-grow: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
}

.gsi-material-button:disabled .gsi-material-button-state {
    background-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #001d35;
    opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #001d35;
    opacity: 8%;
}

.gsi-material-button.email {
    background: linear-gradient(to right, #2EABE5, #47D7F4);
    color: #0A1219;
}

.gsi-material-button.email .gsi-material-button-contents {
    font-weight: 700;
}

.success-message {
    /* background: rgba(255, 255, 255, 0.03); */
    /* border: 1px solid rgba(71, 215, 244, 0.2); */
    /* border-radius: 12px; */
    /* padding: 3rem; */
    width: 100%;
    /* max-width: 960px; */
    margin: 0 auto;
    text-align: center;
    color: #d0d6df;
    font-size: 1.2rem;
    /* backdrop-filter: blur(10px); */
    display: none;
}

.success-message .signup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.success-message.visible {
    display: block;
}

spacer {
    display: block;
    height: 5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-content::before {
        background: none;
    }
    .hero-title {
        max-width: 100%;
        font-size: clamp(1.5rem, 11vw, 20rem);
    }
    .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
        width: 100%;
    }
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    .button {
        width: 90%;
    }
    .learn-more-section {
        padding: 1rem clamp(20px, 5vw, 20rem) 5rem clamp(20px, 5vw, 20rem);
    }
    .cta-container-learn-more {
        gap: 1rem;
        flex-direction: column;
        padding-top: 1rem;
        align-items: center;
        text-align: center;
    }
    .cta-title {
        text-align: center;
        font-size: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .hero-content::before {
        background-size: cover;
        background-position: right -10vh top;
    }
    .hero-description {
        max-width: 100%;
        width: 100%;
    }
    .info-sections {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1366px) {
    .hero-content::before {
        background-size: cover;
        background-position: right -30vh top;
    }
}

@media screen and (max-width: 1366px) and (min-height: 1366) {
    .hero-content::before {
        background: none;
    }
    .hero-title {
        max-width: 100%;
        font-size: clamp(1.5rem, 11vw, 20rem);
    }
    .info-sections {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 2000px) and (min-height: 2100px) {
    .hero-content::before {
        background-size: cover;
        background-position: right -30vh top;
    }
    .hero-title {
        max-width: 100%;
        font-size: clamp(1.5rem, 11vw, 20rem);
    }
    .hero-description {
        font-size: 0.9rem;
        max-width: 100%;
        width: 100%;
    }
    .info-sections {
        grid-template-columns: 1fr;
    }
}