/* Google Fonts loaded via HTML link tag */

/* Import At Chrome TRIAL font */
@import url("https://fonts.cdnfonts.com/css/at-chrome-trial");

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    line-height: 1.6;
    background: #f00000;
    background: radial-gradient(
        circle,
        rgba(240, 0, 0, 1) 0%,
        rgba(170, 46, 1, 1) 0%,
        rgba(87, 24, 1, 1) 0%,
        rgba(26, 10, 0, 1) 54%,
        rgba(8, 3, 0, 1) 100%
    );
    background-attachment: fixed;
    color: #f0ebe6;
    overflow-x: hidden;
    position: relative;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    max-width: 100vw;
}

body.light {
    background: #ffffff;
    color: #000000;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.footer-background svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.container {
    margin: 0 auto;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 1rem 0;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
    width: 45rem;
}

.highlight {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ff8052 1.63%,
        #ff4400 31.63%,
        #ff9900 65.87%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    padding: 0 1px;
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 2rem;
    color: #ffffff8f;
    max-width: 50rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    font-weight: 200;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

.cta-note {
    font-size: 0.9rem;
    color: #d4c5b9;
    margin-top: 1rem;
}

/* Video Container Styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.video-player {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-player > div {
    border-radius: 12px;
}

.video-player iframe {
    border-radius: 12px;
}

/* Vidalytics embed styling */
#vidalytics_embed_CYfGci_Cxx70Fqup iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
}

/* Ensure video content is centered and fills properly */
#vidalytics_embed_CYfGci_Cxx70Fqup > div {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Form Validation Styles */
.form-group input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
    background-color: rgba(239, 68, 68, 0.05) !important;
}

.form-group input.success {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
    background-color: rgba(16, 185, 129, 0.05) !important;
}

.validation-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.validation-error::before {
    content: "⚠";
    font-size: 0.75rem;
}

.form-group input.error:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.form-group input.success:focus {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

/* Hero CTA Grid */
.hero-cta-grid-container {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(80px);
    border-radius: 1rem;
    padding: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-cta-grid-container.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.hero-cta-grid-container p {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
    transition: color 0.3s ease;
}

.hero-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.hero-cta-grid-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #ffffff;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    background: #ffffff0f;
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.hero-cta-grid-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ff4c01, #ffa500);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 0;
}

.hero-cta-grid-item > * {
    position: relative;
    z-index: 1;
}

.hero-cta-grid-item p {
    font-size: 1rem;
}

.hero-cta-grid-item * {
    transition: color 0.3s ease-in-out;
}

.hero-cta-grid-item svg,
.hero-cta-grid-item svg path {
    transition: fill 0.3s ease-in-out;
}

.hero-cta-grid-item:hover,
.hero-cta-grid-item.selected {
    border-color: #ff4c01;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 76, 1, 0.3);
}

.hero-cta-grid-item:hover::before,
.hero-cta-grid-item.selected::before {
    opacity: 0.1;
}

.hero-cta-grid-item:hover *,
.hero-cta-grid-item.selected * {
    color: #ff4c01;
}

.hero-cta-grid-item:hover svg,
.hero-cta-grid-item:hover svg path,
.hero-cta-grid-item.selected svg,
.hero-cta-grid-item.selected svg path {
    fill: #ff4c01;
}

.hero-cta-grid-item:active {
    transform: translateY(0px);
    transition: transform 0.1s ease;
}

.hero-cta-grid-item.selected {
    animation: selectPulse 0.4s ease-out;
}

@keyframes selectPulse {
    0% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.05) translateY(-2px);
    }
    100% {
        transform: scale(1) translateY(-2px);
    }
}

.hero-cta-grid-button {
    width: 100%;
    padding: 1rem;
    border-radius: 1rem;
    background: #fec201;
    color: #000000;
    font-weight: 600;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    min-height: 44px;
    touch-action: manipulation;
}

.hero-cta-grid-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(255, 165, 0, 0.4);
    background: #fec201;
}

/* Countdown Overlay */
.countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.99);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    animation: fadeInOverlay 0.5s ease-out;
    border-radius: 1rem;
}

.countdown-content {
    text-align: center;
    color: white;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.countdown-icon {
    margin-bottom: 1rem;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.countdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    animation: slideInUp 0.6s ease-out 0.6s both;
}

.countdown-timer {
    font-size: 3rem;
    font-weight: 700;
    font-family: "Space Grotesk", monospace;
    color: #fec201;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(254, 194, 1, 0.5);
    animation: slideInUp 0.6s ease-out 0.8s both, pulse 2s ease-in-out infinite;
}

.countdown-timer.tick {
    animation: slideInUp 0.6s ease-out 0.8s both, pulse 2s ease-in-out infinite,
        tick 0.3s ease-out;
}

.countdown-subtitle {
    font-size: 1rem;
    opacity: 0.8;
    animation: slideInUp 0.6s ease-out 1s both;
}

/* Social Proof Section */
.social-proof {
    border-top: 1px solid #ffffff0a;
    border-bottom: 1px solid #ffffff0a;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
    backdrop-filter: blur(80px);
    width: 100%;
}

.social-proof-container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    justify-content: space-evenly;
    gap: 1rem;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-proof-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.social-proof-text {
    display: flex;
    flex-direction: column;
    text-align: start;
}

.social-proof-title {
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    text-transform: uppercase;
}

.social-proof-label {
    text-transform: uppercase;
    font-size: 0.95rem;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: rgba(15, 7, 4, 0.8);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #f0ebe6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.1);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f0ebe6;
}

.feature-description {
    color: #d4c5b9;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 6rem 0;
    background: rgba(26, 15, 10, 0.8);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 165, 0, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.1);
}

.benefit-number {
    font-size: 2rem;
    font-weight: 700;
    color: #ffa500;
    line-height: 1;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f0ebe6;
}

.benefit-description {
    color: #d4c5b9;
    line-height: 1.6;
}

/* Terms of Service Page Styles */
.header-mini {
    display: flex;
    gap: 10rem;
    align-items: center;
    padding: 2rem;
}

.terms-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 2rem;
    width: 100%;
}

.terms-logo {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.terms-logo-img {
    width: 150px;
    height: auto;
}

.terms-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: left;
}

.terms-updated {
    font-size: 1rem;
    text-align: left;
    margin: 0;
    line-height: 1.3;
}

.back-link {
    color: #ffa500;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ff8c00;
}

.terms-header-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 0;
    position: sticky;
    top: 2rem;
}

.terms-container {
    background: #ffffff;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem 20rem;
    min-height: 100vh;
}

.terms-content-container {
    max-width: 800px;
    margin: 0;
    padding: 2rem 0;
    color: #000000;
    line-height: 1.7;
}

.terms-section {
    margin-bottom: 2rem;
}

.terms-section ul {
    list-style-position: inside;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 165, 0, 0.1);
    backdrop-filter: blur(80px);
    height: 100%;
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    max-width: 800px;
}

.footer-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f0ebe6;
}

.footer-description {
    font-size: 0.75rem;
    font-weight: 200;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    color: #ffffff8f;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.footer-links a {
    font-size: 0.95rem;
    font-weight: 200;
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff4c01;
    transform: all 0.5s ease-in-out;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #0f0704 100%);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 16px;
    padding: 0;
    width: 70%;
    max-height: 90vh;
    overflow: visible;
    backdrop-filter: blur(10px);
    display: flex;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.modal.active .modal-content {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-image {
    flex: 1;
    min-height: 400px;
    border-radius: 16px 0 0 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

.modal-image-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    z-index: 2;
}

.modal-pages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    width: 100%;
    max-width: 400px;
    z-index: 2;
}

.modal-page-item {
    aspect-ratio: 3/4;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.modal-page-item:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 165, 0, 0.4);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.2);
}

.modal-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.modal-page-item:hover img {
    opacity: 1;
}

.modal-form-section {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 90vh;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
}

.modal-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: #ffffff;
    border: none;
    font-size: 1.5rem;
    color: #000000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 50;
}

.modal-close:hover {
    background: #ffa500;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #f0ebe6;
}

.form-group input {
    padding: 1rem;
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #f0ebe6;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.modal-body {
    height: 100%;
}

.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-wrapper:focus-within {
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.phone-prefix {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    user-select: none;
    white-space: nowrap;
}

.phone-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.phone-input-wrapper input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 0.85rem;
}

.phone-input-wrapper input:focus {
    box-shadow: none !important;
    border: none !important;
}

.form-hint {
    margin: 0.4rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
}

.form-submit {
    margin-top: 1rem;
    background: #fec201;
    color: rgb(0, 0, 0);
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.3);
    min-height: 44px;
    touch-action: manipulation;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 35px rgba(255, 165, 0, 0.4);
}

.form-guarantee {
    text-align: center;
    margin-top: 1rem;
}

.form-guarantee p {
    color: #d4c5b9;
    font-size: 0.9rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #ffa500;
    transform: scale(1.1);
}

.form-checkbox input[type="checkbox"]:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #ffffff8f;
    cursor: pointer;
    line-height: 1.4;
}

.form-checkbox label a {
    color: #ffa500;
    text-decoration: none;
}

.form-checkbox label a:hover {
    color: #ff8c00;
    text-decoration: underline;
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 165, 0, 0.3);
    border-top: 3px solid #ffa500;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-overlay p {
    color: #f0ebe6;
    font-size: 1.1rem;
}

.header-mini {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 1rem;
}

.header-mini img {
    width: 6rem;
    height: 6rem;
}

.back-link {
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 0.5rem;
    height: fit-content;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOverlay {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes tick {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
        color: #ffdd44;
    }
    100% {
        transform: scale(1);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes growUp {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes gradientShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Terms Page Mobile Styles */
@media (max-width: 768px) {
    .terms-container {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .terms-header-container {
        position: static;
        padding: 0;
        margin-bottom: 1rem;
    }

    .back-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .terms-content-container {
        padding: 0;
        margin: 0;
    }

    .terms-logo {
        margin-bottom: 1.5rem;
        justify-content: center;
        align-items: center;
    }

    .terms-logo-img {
        width: 120px;
    }

    .terms-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .terms-updated {
        font-size: 0.9rem;
    }

    .terms-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .terms-section {
        margin-bottom: 2rem;
    }

    .terms-section ul {
        margin: 1rem 0;
        padding-left: 0;
        list-style-position: inside;
    }

    .terms-section li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .terms-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .terms-section p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .terms-section ul {
        margin: 1rem 0;
        padding-left: 0;
        list-style-position: inside;
    }

    .terms-section li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    .terms-container {
        padding: 0.75rem;
    }

    .terms-logo-img {
        width: 100px;
    }

    .terms-title {
        font-size: 1.75rem;
    }

    .terms-section h2 {
        font-size: 1.2rem;
    }

    .terms-section p,
    .terms-section li {
        font-size: 0.85rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .hero {
        padding: 1rem 0 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
        width: 100%;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .hero-cta-grid-container {
        padding: 1.5rem 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    .hero-cta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .hero-cta-grid-item {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
    }

    .hero-cta-grid-item p {
        font-size: 0.75rem;
        margin-top: 0.25rem;
    }

    .hero-cta-grid-button {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .social-proof {
        padding: 1rem 0;
    }

    .social-proof-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        max-width: none;
        padding: 0 1rem;
    }

    .social-proof-item {
        flex-direction: row;
        justify-content: center;
        text-align: center;
        gap: 0.75rem;
        width: 100%;
    }

    .modal-content {
        flex-direction: column;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        margin: 0;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }

    .modal-image {
        min-height: 35vh;
        max-height: 35vh;
        border-radius: 0;
        padding: 0;
        position: relative;
    }

    .modal-image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        pointer-events: none;
        overflow: hidden;
    }

    .modal-form-section {
        padding: 1rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: -3rem;
        position: relative;
        z-index: 20;
        height: 100%;
    }

    .modal-header {
        margin-bottom: 1rem;
    }

    .modal-title {
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
        margin-bottom: 1rem;
    }

    .modal-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
        z-index: 50;
    }

    .footer-content {
        padding: 0 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .footer-links a {
        font-size: 0.85rem;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.08rem;
        margin-bottom: 1rem;
        padding: 0 1.1rem;
    }

    .hero-cta-grid-container {
        margin: 0;
        padding: 1rem 0.5rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-cta-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.25rem;
    }

    .hero-cta-grid-item {
        padding: 0.5rem;
    }

    .hero-cta-grid-item p {
        font-size: 0.7rem;
    }

    .hero-cta-grid-button {
        font-size: 1rem;
        padding: 0.875rem;
    }

    .social-proof {
        padding: 1rem 0;
    }

    .social-proof-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.25rem;
        max-width: none;
        padding: 0 0.5rem;
    }

    .social-proof-item {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    .social-proof-icon {
        width: 32px;
        height: 32px;
    }

    .social-proof-text {
        font-size: 0.75rem;
    }

    .social-proof-title {
        font-size: 0.7rem;
    }

    .social-proof-label {
        font-size: 0.65rem;
    }

    .modal-content {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }

    .modal-image {
        min-height: 30vh;
        max-height: 30vh;
        padding: 0;
        position: relative;
        overflow: hidden;
    }

    .modal-image::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60%;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.99));
        pointer-events: none;
    }

    .modal-form-section {
        padding: 0.75rem;
        margin-top: -2.5rem;
        position: relative;
        z-index: 2;
    }

    .modal-close {
        position: fixed;
        top: 0.75rem;
        right: 0.75rem;
        width: 45px;
        height: 45px;
        font-size: 2rem;
        z-index: 100;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
    }

    .modal-header {
        margin-bottom: 0.75rem;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 0;
        color: #ffffff;
        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
        font-weight: 600;
        line-height: 1.2;
    }

    .form-group {
        margin-bottom: 0.25rem;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.1rem;
    }

    .form-group input {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .form-checkbox {
        margin: 0.25rem 0;
    }

    .form-checkbox label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    .lead-form {
        gap: 0.5rem;
    }

    .form-submit {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .footer-content {
        padding: 0 0.5rem;
    }

    .footer-links {
        gap: 0.25rem;
    }

    .footer-links a {
        font-size: 0.75rem;
        padding: 0.25rem;
    }
}

@media (max-width: 390px) {
    .hero-title {
        font-size: 1.35rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        padding: 0;
    }

    .hero-cta-grid-container p {
        font-size: 1.2rem;
    }
}
