/*
 * ================================================================================
 *  Website: TryGroHound.com
 *  Landing Page Styles
 *  Location: css/styles.css
 * 
 *  Version: 1.1
 *  Last Updated: 03/02/2026
 *
 *  Notes: Missing Inter - 600
 *
 *  Theme: Futuristic green/teal growth theme with night sky background
 *
 *  Changelog:
 *    - v1.1 (03-02-2026): Changed fonts to be self-hosted
 *    - v1.0 (29-01-2026): First Version 
 * ================================================================================
 */

/* ================================================================================
 * FONT IMPORTS - Must be at the top!
 * ================================================================================ */

/* Self-hosted fonts - font files are in public/assets/fonts/ */
/* Baloo 2 */
@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/baloo-2-v23-latin-regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/baloo-2-v23-latin-500.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/baloo-2-v23-latin-600.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Baloo 2';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/baloo-2-v23-latin-700.woff2') format('woff2');
    font-display: swap;
}

/* Inter */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
    font-display: swap;
}

/* @font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
    font-display: swap;
}  */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/inter-v20-latin-700.woff2') format('woff2');
    font-display: swap;
}

/* NOTE: You're missing inter-v20-latin-600.woff2
   Either download it from Google Fonts or remove this @font-face block
   and change font-weight: 600 to font-weight: 700 in the CSS below */

/* If you prefer Google Fonts CDN instead, replace all the @font-face rules above with:
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');
And add these preconnect lines to index.php <head>:
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
*/

/* ================================================================================
 * CSS CUSTOM PROPERTIES (COLORS)
 * ================================================================================ */

:root {
    /* Primary Brand Colors - Green/Teal Growth Theme */
    --primary-green-start: #10b981;
    --primary-green-mid: #14b8a6;
    --primary-green-end: #06b6d4;
    
    /* Secondary Colors */
    --secondary-teal-start: #0d9488;
    --secondary-teal-end: #0891b2;
    
    /* Accent Colors */
    --accent-lime: #84cc16;
    --accent-emerald: #059669;
    --accent-cyan: #06b6d4;
    
    /* Grayscale - Dark */
    --gray-darkest: #0a0a0a;
    --gray-darker: #1a1a1a;
    --gray-dark: #2a2a2a;
    --gray-medium-dark: #404040;
    
    /* Grayscale - Light */
    --gray-border: #666;
    --gray-text: #a0aec0;
    --gray-light: #cbd5e0;
    --gray-lighter: #e2e8f0;
    --gray-lightest: #f7fafc;
    
    /* UI Colors */
    --color-error: #ef4444;
    --color-success: #10b981;
    --color-warning: #f59e0b;
    
    /* Shadows */
    --shadow-green: rgba(16, 185, 129, 0.4);
    --shadow-teal: rgba(20, 184, 166, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    
    /* Fonts */
    --font-brand: 'Baloo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --weight-normal: 400;
    --weight-medium: 500;
    --weight-semibold: 600;
    --weight-bold: 700;
}

/* ================================================================================
 * GLOBAL RESET & BASE STYLES
 * ================================================================================ */

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

body {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    color: var(--gray-lightest);
    background: #000;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ================================================================================
 * STARFIELD BACKGROUND
 * ================================================================================ */

.starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

.bg-star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.bg-star.small {
    width: 1px;
    height: 1px;
    opacity: 0.5;
}

.bg-star.medium {
    width: 2px;
    height: 2px;
    opacity: 0.7;
}

.bg-star.large {
    width: 3px;
    height: 3px;
    opacity: 0.9;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0.3; 
    }
    50% { 
        opacity: 1; 
    }
}

/* Shooting star animation - going UP to the RIGHT */
.shooting-star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: linear-gradient(45deg, var(--primary-green-mid), transparent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-green-mid);
    animation: shoot 8s linear infinite;
    opacity: 0;
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(100px);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(calc(100vw + 100px)) translateY(calc(-100vh - 100px));
    }
}

/* ================================================================================
 * TOAST NOTIFICATIONS
 * ================================================================================ */

#message-container {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 90%;
    max-width: 400px;
}

.toast {
    font-family: var(--font-body);
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 4px 12px var(--shadow-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    transform: translateY(-150px);
    opacity: 0;
    transition: all 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid var(--color-success);
}

.toast-error {
    border-left: 4px solid var(--color-error);
}

.toast-warning {
    border-left: 4px solid var(--color-warning);
}

.toast-icon {
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: var(--color-success);
}

.toast-error .toast-icon {
    color: var(--color-error);
}

.toast-warning .toast-icon {
    color: var(--color-warning);
}

.toast-text {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    color: #1a202c;
    font-size: 14px;
    flex: 1;
}

/* ================================================================================
 * LAYOUT
 * ================================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* ================================================================================
 * HERO SECTION
 * ================================================================================ */

.hero {
    text-align: center;
    padding: 60px 0 40px;
}

.logo-container {
    margin-bottom: 40px;
}

.logo-placeholder {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-green);
}

.logo-placeholder span {
    font-family: var(--font-brand);
    font-weight: var(--weight-bold);
    font-size: 36px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-title {
    font-family: var(--font-brand);
    font-weight: var(--weight-bold);
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 20px;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: var(--gray-darker);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px var(--shadow-dark);
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border: 2px dashed var(--primary-green-mid);
}

.video-icon {
    font-size: 64px;
    color: var(--primary-green-mid);
    margin-bottom: 16px;
}

.video-placeholder p {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: 18px;
    color: var(--gray-text);
}

/* ================================================================================
 * BENEFITS SECTION
 * ================================================================================ */

.benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.benefits-column {
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow-dark);
}

.benefits-column.risks {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.05));
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.benefits-column.advantages {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(6, 182, 212, 0.1));
    border: 2px solid var(--primary-green-mid);
}

.benefits-heading {
    font-family: var(--font-brand);
    font-weight: var(--weight-bold);
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--gray-lightest);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 18px;
    padding: 16px 0;
    padding-left: 32px;
    position: relative;
    color: var(--gray-light);
    line-height: 1.5;
}

.benefits-column.risks .benefits-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--color-error);
    font-weight: bold;
    font-size: 20px;
}

.benefits-column.advantages .benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green-mid);
    font-weight: bold;
    font-size: 20px;
}

/* ================================================================================
 * CTA SECTION
 * ================================================================================ */

.cta-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(6, 182, 212, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cta-button-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
}

.arrow-svg {
    animation: bounceArrow 2s ease-in-out infinite;
}

.arrow-svg svg {
    display: block;
    filter: drop-shadow(0 4px 8px rgba(16, 185, 129, 0.3));
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(8px, 8px);
    }
}

.cta-button-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

.urgency-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: transparent;
    border: 3px dashed #fb923c;
    border-radius: 8px;
    transform: rotate(-3deg);
    position: relative;
    min-width: 120px;
}

.urgency-badge::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: rgba(251, 146, 60, 0.05);
    border-radius: 8px;
    z-index: -1;
}

.badge-icon {
    font-size: 24px;
    color: #fb923c;
    line-height: 1;
    margin-bottom: 4px;
    animation: flashIcon 2s ease-in-out infinite;
}

.badge-text {
    font-size: 12px;
    font-weight: 700;
    color: #fb923c;
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes flashIcon {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.cta-heading {
    font-family: var(--font-brand);
    font-weight: var(--weight-bold);
    font-size: 32px;
    background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 32px;
    line-height: 1.3;
}

.cta-heading-small {
    font-family: var(--font-brand);
    font-weight: var(--weight-semibold);
    font-size: 24px;
    color: var(--gray-light);
    margin-bottom: 8px;
    line-height: 1.3;
}

.cta-heading-large {
    font-family: var(--font-brand);
    font-weight: var(--weight-bold);
    font-size: 42px;
    background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    line-height: 1.2;
}

.btn-primary {
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
    color: white;
    padding: 18px 48px;
    font-size: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 24px var(--shadow-green);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--shadow-teal);
}

.btn-primary:disabled {
    background: var(--gray-medium-dark);
    color: var(--gray-text);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-cta {
    /* No margin - spacing handled by container gap */
}

.cta-button-container {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Desktop: Add 50px right margin for better spacing */
@media (min-width: 768px) {
    .cta-button-container {
        margin-right: 50px;
    }
}

.cta-subtext {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 14px;
    color: var(--gray-text);
    margin-top: 16px;
}

.cta-subtext strong {
    font-weight: var(--weight-semibold);
    color: var(--primary-green-mid);
}

/* ================================================================================
 * MODAL
 * ================================================================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--gray-lightest);
    border-radius: 16px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
    box-shadow: 0 16px 48px var(--shadow-dark);
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, var(--primary-green-start), var(--primary-green-end));
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-family: var(--font-brand);
    font-weight: var(--weight-bold);
    font-size: 24px;
    color: white;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    line-height: 1;
    opacity: 0.9;
    transition: opacity 0.2s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 32px;
}

.form-intro {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 15px;
    color: var(--gray-medium-dark);
    margin-bottom: 24px;
    padding: 16px;
    background: rgba(16, 185, 129, 0.05);
    border-left: 4px solid var(--primary-green-mid);
    border-radius: 4px;
}

/* ================================================================================
 * FORM STYLES
 * ================================================================================ */

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-body);
    font-weight: var(--weight-semibold);
    font-size: 14px;
    color: #2d3748;
    margin-bottom: 8px;
}

.form-label.required::after {
    content: '*';
    color: var(--color-error);
    margin-left: 4px;
}

.form-input {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-lighter);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
    color: #1a202c;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-green-mid);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-input.error {
    border-color: var(--color-error);
}

.form-help {
    font-family: var(--font-body);
    font-weight: var(--weight-normal);
    font-size: 12px;
    color: #718096;
    margin-top: 6px;
}

.error-message {
    font-family: var(--font-body);
    font-weight: var(--weight-medium);
    font-size: 12px;
    color: var(--color-error);
    margin-top: 6px;
    display: none;
}

.error-message.show {
    display: block;
}

.searchable-select {
    cursor: pointer;
}

.form-actions {
    margin-top: 32px;
    text-align: center;
}

.btn-submit {
    padding: 16px 48px;
    font-size: 18px;
}

.form-privacy-notice {
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.6;
}

.form-privacy-notice a {
    color: var(--primary-green-mid);
    text-decoration: underline;
}

.form-consent {
    margin-top: 24px;
    padding: 20px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    gap: 12px;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-light);
}

.checkbox-text a {
    color: var(--primary-green-mid);
    text-decoration: underline;
}

.required-asterisk {
    color: var(--color-error);
}

/* ================================================================================
 * RESPONSIVE BREAKPOINTS
 * ================================================================================ */

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

    .hero {
        padding: 40px 0 20px;
    }

    .logo-placeholder span {
        font-size: 28px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .benefits {
        padding: 40px 0;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 40px;
    }

    .benefits-column {
        padding: 24px;
    }

    .benefits-heading {
        font-size: 22px;
    }

    .benefits-list li {
        font-size: 16px;
        padding: 12px 0;
        padding-left: 28px;
    }

    .btn-primary {
        padding: 14px 32px;
        font-size: 16px;
    }

    .arrow-svg svg {
        width: 90px;
        height: 60px;
    }
    
    .cta-button-wrapper {
        gap: 8px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .modal-content {
        max-width: 100%;
    }

    .modal-header {
        padding: 20px 24px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-body {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .benefits-heading {
        font-size: 20px;
    }

    .benefits-list li {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 24px;
        font-size: 15px;
    }

    .cta-subtext {
        font-size: 12px;
    }
}