/* Blastine Font */
@font-face {
    font-family: 'Blastine';
    src: url('fonts/Blastine-Regular.woff2') format('woff2'),
         url('fonts/Blastine-Regular.woff') format('woff'),
         url('fonts/Blastine-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Bolkit Rayek Font (Coming soon heading) */
@font-face {
    font-family: 'Bolkit Rayek';
    src: url('fonts/Bolkit Rayek.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables - Customize these for your brand */
:root {
    --bg-color: #00674f;
    --text-color: #f0eee9;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --accent-color: #000000;
    --input-bg: #f5f5f5;
    --input-border: #e0e0e0;
    --button-bg: #000000;
    --button-text: #ffffff;
    --button-hover: #333333;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.content {
    animation: fadeIn 0.8s ease-in;
}

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

.heading {
    font-family: 'Bolkit Rayek', 'Blastine', cursive;
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-transform: uppercase;
}

.subheading {
    font-size: clamp(1rem, 4vw, 1.25rem);
    margin-bottom: 1.5rem;
    color: var(--text-color);
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.seo-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
    /* Hidden visually but accessible to search engines */
}

.form-container {
    margin-top: 2rem;
}

.social {
    margin-top: 1.25rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(240, 238, 233, 0.35);
    border-radius: 999px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.social-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.social-link:hover {
    transform: translateY(-1px);
    background-color: rgba(240, 238, 233, 0.08);
    border-color: rgba(240, 238, 233, 0.55);
}

.form-loading {
    max-width: 400px;
    margin: 0 auto 12px auto;
    text-align: left;
}

.form-loading__skeleton {
    height: 54px;
    border-radius: 8px;
    background: rgba(240, 238, 233, 0.18);
    border: 1px solid rgba(240, 238, 233, 0.18);
    animation: shimmer 1.2s ease-in-out infinite;
}

.form-loading__text {
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.85;
    color: var(--text-color);
}

[data-form-state="ready"] .form-loading,
[data-form-state="error"] .form-loading {
    display: none;
}

.form-error {
    max-width: 400px;
    margin: 12px auto 0 auto;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(240, 238, 233, 0.35);
    background: rgba(240, 238, 233, 0.08);
    font-size: 14px;
    line-height: 1.4;
}

@keyframes shimmer {
    0% { opacity: 0.65; }
    50% { opacity: 0.95; }
    100% { opacity: 0.65; }
}

.kit-form {
    width: 100%;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    font-family: var(--font-family);
    background-color: var(--input-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    color: var(--text-color);
    transition: all 0.3s ease;
    outline: none;
}

.email-input:focus {
    border-color: var(--accent-color);
    background-color: var(--bg-color);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .input-group {
        flex-direction: row;
        gap: 0;
    }
    
    .email-input {
        flex: 1;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: none;
    }
    
    .submit-btn {
        width: auto;
        padding: 16px 32px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        white-space: nowrap;
    }
    
    .subheading {
        margin-bottom: 3rem;
    }
}

/* Success/Error Messages */
.form-message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

