html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed navbar */
}

body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
}

h2{
    font-family: 'Inter', serif;
    font-size: 3rem;
    font-weight: 500;
    line-height: 1;
}

h3{
    font-family: 'Inter', serif;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
}

h4{
    font-family: 'Inter', serif;
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.1;
}
.short-divider{
    border-bottom: solid 3px #000;
    width: 35px;
    height: 1px;
    margin-top: 15px;
}

button{
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
}

.blue-bg{
    background-color: #047FDF;
    color: #fff;
}
.blue-bg a{
    color: #fff;
}

.light-blue-bg{
    background-color: #DEF0FF;
    color: #000;
}
.light-blue-bg a{
    color: #000;
}

.green-bg{
    background-color: #67D4CE;
    color: #1A2D3B;
}
.green-bg a{
    color: #1A2D3B;
}

.light-green-bg{
    background-color: #E0FAF9;
    color: #1A2D3B;
}
.light-green-bg a{
    color: #1A2D3B;
}

.white-bg{
    background-color: #fff;
    color: #000;
}
.white-bg a{
    color: #000;
}

.red-bg{
    background-color: #FFD5CC;
    color: #F0360E;
}
.red-bg a{
    color: #F0360E;
}

.navy-bg{
    background-color: #1A2D3B;
    color: #fff;
}
.navy-bg a{
    color: #fff;
}

.btn{
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    cursor: pointer;
    padding: 10px 32px;
}

.btn-rounded{
    border-radius: 9999px;
}

.btn.blue-bg{
    border: solid 1px #047FDF;
}
.btn.blue-bg:hover{
    background: none;
    border-color: #fff;
    color: #fff;
}

.btn.green-bg{
    border: solid 1px #A3E5E1;
    color: #1A2D3B;
}
.btn.green-bg:hover{
    background: none;
    border-color: #A3E5E1;
    color: #A3E5E1;
}

.btn.red-bg{
    border: solid 1px #FFD5CC;
}
.btn.red-bg:hover{
    background: none;
    border-color: #FFD5CC;
    color: #FFD5CC;
}

.navbar-collapse{
    padding: 3px 0;
}

.nav-cta{
    width: 130px;
    height: 44px;
    line-height: 42px;
    padding: 0;
}

.logo{
    width: 140px;
}

.masthead {
    width: 100%;
    min-height: 850px; 
    background-image: url('../images/masthead-track.webp'); 
    background-size: cover;
    background-position: top;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 80px; /* Account for fixed header height */
}
.masthead h1{
    font-family: 'Inter', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 10rem;
}

.cta-btn{
    width: 100%;
}

.container-max {
    width: 100%;
    max-width: 1720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.breaker-image{
    min-height: 800px;
    position: relative;
    overflow: hidden;
}

.breaker-image .carousel {
    height: 100%;
}

.breaker-image .carousel-inner {
    height: 100%;
}

.breaker-image .carousel-item {
    height: 800px;
}

.breaker-image .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar {
    font-family: 'Inter', sans-serif;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background-color: #1A2D3B;
}

.navbar:has([aria-expanded="false"]) {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.navbar-toggler{
    border: 0px;
    padding: 0;
}
.navbar-toggler:focus{
    box-shadow: none;
}
.navbar-toggler .navbar-toggler-icon{
    width: 40px;
    height: 40px;
}
/* Default (closed) icon — hamburger */
.navbar:has([aria-expanded="false"]) .navbar-toggler .navbar-toggler-icon {
    background-image: url("../images/menu-closed.svg");
  }
  
  /* When open (no .collapsed class) */
  .navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-image: url("../images/menu-open.svg");
  }

.message-container{
    display: none;
    position: absolute;
    width: 100%;
    z-index: 1000;
}
.message{
    border: solid 1px #000;
    padding: 10px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #FEF2CC;
    border: solid 1px #FFC501;
    font-size: 1rem;
}
.message.success{
    background: #A6F4C9;
    color: #003D01;
    border-color: #003D01;
}
.message.success a{
    color: #003D01;
}
.message.success a:hover{
    color:#000;
}
.message.error{
    background: #FFB9B9;
    color: #AD1616;
    border-color: #AD1616;
}
.message.warn{
    background: #FEF2CC;
    color: #937614;
    border-color: #937614;
}
.message .login-link{
    font-weight: 700;
}

.login-page .navbar,
.register-page .navbar,
.thanks-page .navbar,
.terms-page .navbar,
.privacy-page .navbar{
    background-color: #1A2D3B;
}
.login-page .navbar a.nav-link{
    color: #fff;
}

.login-form-container .message-container,
.register-form-container .message-container{
    position: relative;
}
.login-form-container h2,
.register-form-container h2{
    color: #000;
    font-size: 1.8rem;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 30px;
    letter-spacing: -1px;
}
.login-form-container p,
.register-form-container p{
    color: #000;
    margin-top: -20px;
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 300;
}
.login-form-container .login-form,
.register-form-container .register-form{
    margin-bottom: 0px;
}
.login-form-container .login-form label,
.register-form-container .register-form label {
    font-size: 0.8rem;
    color: #666666;
}
.login-form input[type="email"],
.login-form input[type="password"],
.login-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="password"],
.register-form input[type="text"]{
    width: 100%;
    border: solid 1px #666666;
    border-radius: 10px;
    font-size: 1rem;
    padding: 14px 20px;
    margin: 4px 0;  
    box-sizing: border-box;
    line-height: 2;
}
.login-form input[type="email"]:focus,
.login-form input[type="password"]:focus,
.login-form input[type="text"]:focus,
.register-form input[type="email"]:focus,
.register-form input[type="password"]:focus,
.register-form input[type="text"]:focus{
    border: solid 1px #000;
    box-shadow: none;
}
.login-form .btn,
.register-form .btn{
    width: 100%;
    height: 44px;
    line-height: 42px;
    padding: 0;
    text-decoration: none;
    color: #fff;
    background-color: #047FDF;
    text-align: center;
    cursor: pointer;
    outline: 0;
    border: none;
    border-radius: 10px;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
    font-size: 1rem;
}
.login-form input[type="submit"]:hover,
.register-form input[type="submit"]:hover{
    background-color: #19679B;
}

.forgotpass{
    color: #999;
    text-decoration: none;
    font-size: .8rem;
    float: right;
}
.forgotpass:hover{
    text-decoration: underline;
    color: #000;
}
.login-form-container p.sign-up-text,
.register-form-container p.sign-up-text{
    color: #000;
    font-size: .8rem;
    margin-top: 20px;
}
.login-form-container p.sign-up-text a,
.register-form-container p.sign-up-text a{
    color: #047FDF;
    font-weight: 500;
}
.login-form-container p.sign-up-text a:hover,
.register-form-container p.sign-up-text a:hover{
    text-decoration: underline;
    color: #19679B;
}

.terms {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 1.25rem;
    user-select: none;
    line-height: 1.5rem;
}

.terms input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.terms .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
    border: 2px solid #047FDF;
    border-radius: 5px;
}

.terms:hover input ~ .checkmark {
    background-color: #E0FAF9;
}

.terms input:checked ~ .checkmark {
    background-color: #047FDF;
}

.terms .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.terms input:checked ~ .checkmark:after {
    display: block;
}

.terms .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.terms.invalid .checkmark {
    border-color: #AD1616;
    background-color: #FFE2E2;
}

.navbar > .container-max {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

a.nav-link{
    color: #fff;
}

.navbar-club-selector{

}

.blue-section{
    /*min-height: 70vh;*/
}


.screenshot-container {
    height: 100%;
    min-height: 650px;
}

.screenshot-section .left-content{
    
}

.screenshot-section h4{
    font-size: 2.4rem;
    font-weight: 500;
}

.screenshot-section p{
    font-family: 'Bitter', serif;
    font-size: 1.2rem;
    font-weight: 400;
}

.screenshot-desktop,
.screenshot-mobile {
    position: absolute;
}

.screenshot-desktop {
    width: 100%;
    right: 0;
    bottom: -60px;
}

.screenshot-mobile{
    max-width: 30%;
    right: -50px;
    bottom: -130px;
}

.why-ineo p, .key-features p{
    font-family: 'Bitter', serif;
    font-size: 1.2rem;
    font-weight: 400;
}

.why-images{
    height: 171px;
}

.about-section h4{
    font-size: 2.2rem;
    font-weight: 400;
    margin: 100px 0 40px;
}

.about-section p, .support-section p{
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.demo-section p{
    font-family: "Inter", sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    line-height: 1.1;
    color: #1A2D3B;
}

.support-section p{
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.support-section .support-section-lower h5{
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.1;
    margin: 20px 0 10px;
}
.support-section .support-section-lower p{
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: .7rem;
    letter-spacing: 0px;
}
.support-section .support-section-lower p.sub-text{
    color: #999;
}
.support-section .support-section-lower a.btn{
    margin-top: 1.5rem;
}
.support-section .support-section-lower .icon{
    height: 70px;
}

.thanks-page h2{
    font-size: 2.6rem;
    font-weight: 200;
    line-height: 1;
    margin: 2rem 0;
}
.thanks-page p{
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
}
.subscribing-icon{
    width: 100px;
}

.footer-section h4{
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.1;
}

.footer-section h5{
    font-family: "Inter", sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.1;
    color: #3B6584;
}

.footer-section p{
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.2;
}

.footer-section .club-selector,
.navbar-club-selector .club-selector{
    background: #223E54;
    border-radius: 10px;
}
.footer-section .club-selector h5,
.navbar-club-selector .club-selector h5{
    color: #fff;
}
.footer-section .club-selector select,
.navbar-club-selector .club-selector select{
    width: 100%;
    background: #fff;
    color: #000;
    border: solid 1px #000;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 1rem;
    padding: 14px 20px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23000' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
}

.footer-section-lower hr {
    opacity: 1;
}

.footer-section .newsletter-signup input[type="email"]{
    width: 100%;
    border: solid 1px #fff;
    background: none;
    border-radius: 10px;
    font-size: 1rem;
    padding: 10px 20px;
    margin: 7px 0;  
    box-sizing: border-box;
    line-height: 2;
    color: #fff;
    font-family: 'Inter', sans-serif;
}
.footer-section .newsletter-signup input[type="email"]::placeholder{
    color: #fff;
}
.footer-section .newsletter-signup .btn{
    font-size: 1rem;
    margin-top: 8px;
}

.footer-section a{
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.1;
}

.footer-section .footer-section-lower p, .footer-section .footer-section-lower a{
    font-size: .8rem;
}

/* Old keyframe animations removed - using JavaScript transforms instead */

@media (max-width: 1200px) {
    .screenshot-container {
        min-height: 430px;
    }
    .screenshot-mobile {
        bottom: -60px;
    }
}

@media (max-width: 992px) {
    .navbar:has([aria-expanded="true"]){
        height: 100vh;
        align-items: flex-start;
    }
    a.nav-link{
        font-size: 1.8rem;
        padding: 2px 0;
        font-weight: 400;
    }
    .nav-cta{
        width: 30%;
    }
    
    .screenshot-desktop {
         max-width: 90%;
    }

    .screenshot-mobile {
        max-width: 30%;
        bottom: -80px;
    }
}

@media (max-width: 850px) {
    .screenshot-container {
        /*min-height: 380px;*/
    }
    .screenshot-desktop {
        max-width: 110%;
    }
    .screenshot-mobile {
        max-width: 40%;
        bottom: -130px;
    }
    .breaker-image{
        min-height: 550px;
    }
}

@media (max-width: 600px) {
    .logo{
        width: 100px;
    }
    .nav-cta{
        width: 50%;
    }
    .masthead{
        min-height: 450px;
    }
    .masthead h1{
        font-size: 3rem;
        margin-bottom: 5rem;
    }
    .screenshot-container {
        min-height: 300px;
    }
    .screenshot-desktop {
        max-width: 120%;
        bottom: -30px;
    }
    .why-images{
        height: 120px;
    }
}

@media (max-width: 550px) {
    
    .screenshot-container {
        min-height: 220px;
    }
    .screenshot-desktop {
        max-width: 120%;
    }
    .screenshot-mobile {
        max-width: 50%;
        bottom: -80px;
    }
    .breaker-image{
        max-height: 450px;
        min-height: auto;
        height: auto;
    }
    .breaker-image .carousel {
        height: auto;
    }
    .breaker-image .carousel-item {
        height: auto;
    }
    .breaker-image .carousel-item img {
        height: 400px;
    }
    .about-section p, .support-section p {
        font-size: 1.2rem;
        letter-spacing: 0px;
    }
    .about-section h4, .support-section h4 {
        font-size: 1.8rem;
    }
}