/* ========================================
   MyCorporateSuperpowers.com Stylesheet
   Clean, Modern, Professional Design
   ======================================== */

/* CSS Variables - Brand Colors from Logo */
:root {
    --primary-green: #2D5F4F;
    --medium-green: #6B9F8E;
    --light-green: #9DBFAF;
    --accent-green: #1A3F35;
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #7F8C8D;
    --background: #F8F9FA;
    --white: #FFFFFF;
    --error: #E74C3C;
    --success: #27AE60;
    --border: #E0E6ED;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 20px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 300px;
    height: auto;
}

.logo-container a {
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.logo-container a:hover .logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.presented-by {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin: -5px 0 15px 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.site-title {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-top: 10px;
}

.site-title a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--medium-green);
}

/* Progress Bar */
.progress-container {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.progress-bar {
    height: 8px;
    background: linear-gradient(to right, var(--light-green), var(--primary-green));
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
    margin-top: 10px;
    font-weight: 500;
}

/* Main Content */
main {
    flex: 1;
}

/* Step Sections */
.step {
    display: none;
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h2 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.step-description {
    color: var(--text-medium);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #f0f7f5 0%, #e8f4f0 100%);
    border-left: 4px solid var(--primary-green);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.info-box h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-box ul {
    list-style: none;
    padding-left: 0;
}

.info-box ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark);
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.privacy-note {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 15px;
}

/* Special Offer Box */
.special-offer-box {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border: 2px solid #f0ad4e;
    border-left: 4px solid #f0ad4e;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(240, 173, 78, 0.15);
}

.special-offer-box p {
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.6;
}

.special-offer-box strong {
    color: #e67e22;
}

.special-offer-box em {
    color: var(--primary-green);
    font-style: normal;
    font-weight: 600;
}

.offer-note {
    font-size: 0.9rem;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 0 !important;
}

/* Form Elements */
.question-group {
    margin-bottom: 30px;
}

label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1rem;
}

textarea,
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: var(--medium-green);
    box-shadow: 0 0 0 3px rgba(109, 159, 142, 0.1);
}

textarea {
    min-height: 120px;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--medium-green) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(45, 95, 79, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(45, 95, 79, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.1rem;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Error Messages */
.error-message {
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 10px;
    display: none;
}

.error-message.visible {
    display: block;
}

input.error,
textarea.error {
    border-color: var(--error);
}

/* Loading State */
.loading-container {
    text-align: center;
    padding: 60px 20px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    margin: 0 auto 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-subtext {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Email Form */
.email-form {
    max-width: 500px;
    margin: 30px auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Confirmation */
.confirmation-container {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--medium-green));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 30px;
    box-shadow: 0 8px 16px rgba(45, 95, 79, 0.2);
}

.confirmation-text {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 30px;
}

.next-steps {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 30px;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: var(--primary-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--medium-green);
    text-decoration: underline;
}

.privacy-footer {
    margin-top: 10px;
    font-size: 0.85rem;
}

/* Disclaimer Notice */
.disclaimer-notice {
    background: linear-gradient(135deg, #f9f9f9 0%, #f4f4f4 100%);
    border-left: 4px solid var(--primary-green);
    padding: 20px 25px;
    margin: 40px 0 0 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.disclaimer-notice p {
    margin: 0;
}

.disclaimer-notice a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.disclaimer-notice a:hover {
    text-decoration: underline;
}

/* Disclaimer Notice */
.disclaimer-notice {
    background: linear-gradient(135deg, #f9f9f9 0%, #f4f4f4 100%);
    border-left: 4px solid var(--primary-green);
    padding: 20px 25px;
    margin: 40px 0 0 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.disclaimer-notice p {
    margin: 0;
}

.disclaimer-notice a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.disclaimer-notice a:hover {
    text-decoration: underline;
}

/* Legal Pages (Privacy, Terms, Disclaimer) */
.legal-page {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 10px;
}

.legal-page h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page section {
    margin-bottom: 30px;
}

.legal-page p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.legal-page ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-page ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.legal-page a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.legal-page a:hover {
    text-decoration: underline;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Contact Page */
.contact-page {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.contact-page h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-intro {
    color: var(--text-medium);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.contact-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

.contact-form .required {
    color: var(--error);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--medium-green);
    box-shadow: 0 0 0 3px rgba(109, 159, 142, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.form-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 500;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-alt {
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.contact-alt h3 {
    color: var(--primary-green);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.contact-alt a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.contact-alt a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .step {
        padding: 30px 20px;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .logo {
        max-width: 240px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    button {
        width: 100%;
    }
    
    .info-box {
        padding: 20px;
    }
    
    /* Legal pages responsive */
    .legal-page {
        padding: 30px 20px;
    }
    
    /* Contact page responsive */
    .contact-page {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Disclaimer responsive */
    .disclaimer-notice {
        padding: 15px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 0;
    }
    
    .progress-container {
        padding: 15px;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .site-title {
        font-size: 1.3rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .step {
        padding: 25px 15px;
    }
    
    textarea,
    input[type="text"],
    input[type="email"] {
        padding: 12px;
    }
    
    button {
        padding: 12px 24px;
    }
}

/* Print Styles */
@media print {
    .progress-container,
    .button-group,
    footer {
        display: none;
    }
    
    .step {
        box-shadow: none;
        border: 1px solid var(--border);
    }
}