/**
 * Coming Soon Page Styles
 * Kontent Keeper - WordPress Coming Soon Template
 * Brand Colors: Dark Blue (#1B365D) & Gold (#F4B942)
 * Font: Glacial Indifference
 */

/* Import Glacial Indifference font from CDN */
@import url('https://fonts.cdnfonts.com/css/glacial-indifference-2');

/* Override header positioning for these pages - CRITICAL FIX */
.feedback-page header,
.bug-report-page header,
.guide-page header,
.tutorials-page header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    margin-bottom: 0 !important;
}

/* Ensure hero sections work with sticky header */
.feedback-page .ck-hero-section,
.bug-report-page .ck-hero-section,
.guide-page .ck-hero-section,
.tutorials-page .ck-hero-section {
    margin-top: 0 !important;
    padding-top: 120px !important;
}

/* Adjust form and content sections */
.feedback-page .ck-form-section,
.bug-report-page .ck-form-section {
    margin-top: -80px !important;
}

.guide-page .guide-container {
    margin-top: -80px !important;
}

/* Adjust body to account for header */
.feedback-page,
.bug-report-page,
.guide-page,
.tutorials-page {
    padding-top: 0 !important;
    margin: 0 !important;
}

/* Reset and Base Styles */
.coming-soon-page,
.beta-testing-page,
.feedback-page,
.bug-report-page,
.guide-page,
.tutorials-page {
    margin: 0;
    padding: 0;
    font-family: 'Glacial Indifference', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.ck-hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1B365D 0%, #254166 50%, #2D4A73 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ck-hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

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

.ck-logo {
    width: 180px;
    height: auto;
    margin-bottom: 40px;
    border-radius: 20px;
    animation: fadeIn 1s ease-out;
    filter: drop-shadow(0 4px 20px rgba(244, 185, 66, 0.3));
}

.ck-hero-title {
    color: #F4B942;
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
    letter-spacing: -0.02em;
}

.ck-hero-subtitle {
    color: #E2E8F0;
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 40px;
}

/* Ensure h2 subtitle maintains same styling */
h2.ck-hero-subtitle {
    color: #E2E8F0;
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 40px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-hero-subtitle strong {
    font-weight: 600;
    color: #F4B942;
    text-shadow: 0 2px 10px rgba(244, 185, 66, 0.3);
}

.ck-hero-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    line-height: 1.7;
    margin: 0 auto 50px;
    max-width: 700px;
}

/* Form Section */
.ck-form-section {
    max-width: 700px;
    width: 100%;
    margin: -80px auto 80px;
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 10;
}

/* Override any theme container width restrictions */
.feedback-page .ck-form-section,
.bug-report-page .ck-form-section,
.guide-page .guide-container {
    width: 90% !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ck-form-heading {
    color: #1B365D;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 15px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

/* Ensure h3 form heading maintains same styling */
h3.ck-form-heading {
    color: #1B365D;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 15px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-form-description {
    color: #718096;
    font-size: 16px;
    text-align: center;
    margin: 0 0 35px;
}

.ck-signup-form {
    width: 100%;
}

.ck-form-group {
    margin-bottom: 25px;
}

.ck-form-label {
    display: block;
    color: #1B365D;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #E2E8F0;
    border-radius: 25px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.ck-form-input:focus {
    outline: none;
    border-color: #F4B942;
    box-shadow: 0 0 0 3px rgba(244, 185, 66, 0.15);
}

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

/* Beta Testing Page Styling */
.beta-testing-page .ck-hero-title {
    color: #F4B942;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    line-height: 1.2;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-form-section-header {
    margin: 40px 0 25px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #E2E8F0;
}

.ck-form-section-header h3 {
    color: #1B365D;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-form-section-header:first-of-type {
    margin-top: 20px;
}

/* Form field styling for beta page */
.beta-testing-page .ck-form-input {
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #E2E8F0;
    font-size: 15px;
}

.beta-testing-page .ck-form-input:focus {
    border-color: #1B365D;
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1);
}

.beta-testing-page textarea.ck-form-input {
    resize: vertical;
    min-height: 100px;
}

.beta-testing-page select.ck-form-input {
    cursor: pointer;
}

/* Checkbox styling for beta page */
.ck-checkbox-group {
    margin-bottom: 30px !important;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 2px solid #E2E8F0;
}

.ck-checkbox-label {
    display: flex !important;
    align-items: flex-start !important;
    cursor: pointer !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.ck-checkbox-input {
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    accent-color: #1B365D !important;
    cursor: pointer !important;
}

.ck-checkbox-text {
    flex: 1 !important;
    color: #1B365D !important;
}

.ck-checkbox-text strong {
    display: block !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
}

.ck-checkbox-subtext {
    font-size: 14px !important;
    color: #718096 !important;
    font-weight: 400 !important;
}

/* Back link styling */
.ck-back-link {
    color: #1B365D;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border: 2px solid #1B365D;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ck-back-link:hover {
    background: #1B365D;
    color: white;
    text-decoration: none;
}

.ck-submit-button {
    display: block !important;
    margin: 0 auto !important;
    max-width: 300px !important;
    width: 100% !important;
    background: linear-gradient(135deg, #F4B942 0%, #FFD700 100%) !important;
    color: #1B365D !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 14px 30px !important;
    border: none !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(244, 185, 66, 0.4) !important;
    font-family: 'Glacial Indifference', -apple-system, sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ck-submit-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(244, 185, 66, 0.4) !important;
}

.ck-submit-button:active {
    transform: translateY(0) !important;
}

/* Additional targeting for form buttons */
.ck-signup-form button[type="submit"],
.ck-signup-form .ck-submit-button,
form .ck-submit-button {
    background: linear-gradient(135deg, #F4B942 0%, #FFD700 100%) !important;
    color: #1B365D !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 30px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: block !important;
    margin: 0 auto !important;
    max-width: 300px !important;
    width: 100% !important;
}

.ck-form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    display: none;
}

.ck-form-message.success {
    background-color: #48BB78;
    color: white;
    display: block;
}

.ck-form-message.error {
    background-color: #F56565;
    color: white;
    display: block;
}

/* Features Section */
.ck-features-section {
    background: #F7FAFC;
    padding: 100px 20px;
}

.ck-features-heading {
    color: #1B365D;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 60px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1140px;
    margin: 0 auto;
}

.ck-feature-item {
    text-align: center;
    padding: 30px 20px;
    transition: transform 0.3s ease;
}

.ck-feature-item:hover {
    transform: translateY(-5px);
}

.ck-feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
    color: #F4B942;
    filter: drop-shadow(0 2px 8px rgba(244, 185, 66, 0.2));
}

.ck-feature-item:hover .ck-feature-icon {
    transform: scale(1.1);
}

.ck-feature-title {
    color: #1B365D;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 15px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-feature-description {
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Platforms Section */
.ck-platforms-section {
    background: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
}

.ck-platforms-heading {
    color: #1B365D;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 50px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

.ck-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 40px;
    padding: 30px;
    background: #F8F9FA;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(27, 54, 93, 0.1);
}

.ck-platform-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(0.2) opacity(0.8);
}

.ck-platform-icon:hover {
    transform: scale(1.15);
    filter: grayscale(0) opacity(1);
}

.ck-platform-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.ck-platforms-footer {
    color: #F4B942;
    font-size: 18px;
    font-weight: 500;
    margin-top: 30px;
    font-family: 'Glacial Indifference', -apple-system, sans-serif;
}

/* Footer Section */
.ck-footer-section {
    background: #0F1F3D;
    padding: 60px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.ck-footer-text {
    font-size: 16px;
    margin: 0;
}

.ck-footer-text a {
    color: #FFFFFF;
    text-decoration: underline;
}

.ck-footer-text a:hover {
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ck-hero-title {
        font-size: 32px;
    }
    
    .ck-hero-subtitle {
        font-size: 18px;
    }
    
    .ck-hero-description {
        font-size: 16px;
    }
    
    .ck-form-section {
        padding: 40px 20px;
        margin: -50px 20px 0;
    }
    
    .ck-form-heading {
        font-size: 26px;
    }
    
    .ck-features-heading {
        font-size: 28px;
    }
    
    .ck-features-grid {
        gap: 30px;
    }
    
    .ck-feature-item {
        padding: 20px 10px;
    }
    
    .ck-platforms-grid {
        gap: 20px;
        padding: 25px 20px;
    }
    
    .ck-platform-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .ck-hero-title {
        font-size: 28px;
    }
    
    .ck-hero-subtitle {
        font-size: 16px;
    }
    
    .ck-hero-description {
        font-size: 14px;
    }
    
    .ck-form-section {
        padding: 30px 15px;
    }
    
    .ck-submit-button {
        font-size: 16px;
        padding: 15px 30px;
    }
    
    .ck-platforms-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding: 20px 15px;
    }
    
    .ck-platform-icon {
        width: 30px;
        height: 30px;
    }
}

/* Instagram Follow Section */
.ck-instagram-follow {
    text-align: center;
    margin: 20px 0 0 0;
    padding: 15px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    animation: fadeIn 1s ease-out 0.8s both;
}

.ck-instagram-text {
    color: #1B365D;
    font-size: 13px;
    margin: 0 0 8px 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ck-instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #F4B942;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 4px;
    margin: 0;
}

.ck-instagram-link:hover {
    color: #1B365D;
    background: rgba(244, 185, 66, 0.15);
    transform: translateY(-1px);
}
