/* SKILLGROX DESIGN SYSTEM — WARM ORANGE */

:root {
    /* Colors */
    --primary: #ff7a00;           /* Warm Orange */
    --primary-hover: #e66e00;
    --secondary: #fff5eb;         /* Soft Orange Tint */
    --background: #ffffff;
    --background-alt: #f9fafb;    /* Very light neutral */
    --text-main: #111827;         /* Near black */
    --text-secondary: #4b5563;    /* Dark gray */
    --border: #e5e7eb;
    
    /* Typography */
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --container-width: 1100px;
    --section-padding: 80px 0;
    
    /* Utils */
    --radius: 6px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--background);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.section {
    padding: var(--section-padding);
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Header */
/* Header Animations */
@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes logoShine {
    0% { color: var(--text-main); }
    50% { color: var(--primary); }
    100% { color: var(--text-main); }
}

/* Header */
header {
    height: 70px;
    background: rgba(255, 255, 255, 0.85); /* More transparency for glass effect */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5); /* Softer border */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03); /* Subtle glass shadow */
    animation: slideDown 0.6s ease-out forwards;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.05em;
    color: var(--text-main);
    transition: color 0.3s ease;
    cursor: default;
}

.logo:hover {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0px;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 1. Hero Refined */
.hero-section {
    padding: 120px 0 100px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8)), url('../assets/images/hero-real.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.badge {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

.hero-subtext {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.purpose-line {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-main);
    max-width: 600px; /* Reduced to prevent text sprawling */
    margin: 15px auto 30px; /* Added spacing */
    line-height: 1.5;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.hero-visual {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    height: auto;
    width: 800px; /* Slightly wider for realistic image to show detail */
    border-radius: var(--radius); /* Rounded corners for photo */
    box-shadow: var(--shadow-lg); /* Nice lift */
}

.intent-note {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* 2. Why & 3. Inside Shared Card Styles */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
}

.why-section, .inside-section {
    background-color: var(--background-alt);
}

.card-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--secondary);
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    margin-bottom: 20px;
    line-height: 1 !important; /* Fix potential inheritance issues */
}

.plain-card {
    border: 1px solid transparent; /* default state */
    transition: 0.3s ease;
    padding: 20px; /* Keep some padding for hover state */
    border-radius: var(--radius);
    height: 100%;
}

.plain-card:hover {
    background: var(--background);
    border-color: var(--border);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.plain-card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.plain-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 3. Inside Features */
.feature-block {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: 0.3s;
}

.feature-block:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 1.25rem;
    color: var(--primary);
    background: var(--secondary);
    min-width: 50px;
    height: 50px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px; /* softer square for features distinction */
    line-height: 1 !important;
}

.feature-block h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.feature-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 4. Work */
.work-section {
    border-top: 1px solid var(--border);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    gap: 15px;
}

.section-header .section-title {
    margin-bottom: 0px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: 0.2s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--secondary);
    color: var(--primary);
    border-color: var(--primary);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.work-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--background);
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.work-link {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.work-link:hover {
    text-decoration: underline;
}

/* 5. Contributions */
.contrib-card {
    background: var(--background); /* Changed from alt */
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.contrib-card:hover {
    border-color: var(--primary);
}

/* 6. Audience */
.audience-section {
    background-color: var(--text-main);
    color: white;
}

.audience-section .section-title {
    color: white;
}

.audience-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.audience-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
}

.audience-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.audience-note {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 7. Participation */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px; /* Space for the big numbers sticking up */
}

.step-card {
    text-align: center;
    position: relative;
    padding-top: 20px;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--secondary); /* The light orange color */
    opacity: 0.8; /* Make it subtle */
    line-height: 1;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
}

.step-content {
    position: relative;
    z-index: 1;
    padding-top: 40px; /* Push text down to overlap bottom of number */
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-main);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 8. Signals */
.signals-section {
    background-color: var(--background-alt);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.signals-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-weight: 600;
    color: var(--text-main);
}

.signal-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signal-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981; /* Active Green */
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

/* 9. Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.testimonial-card {
    text-align: center;
}

.quote {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-main);
}

.author {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* 10. Join */
.join-section {
    padding: 100px 0;
    text-align: center;
}

.join-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.join-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

.join-box {
    background: var(--background-alt);
    display: inline-block;
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.join-box p {
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--text-main);
}

.entry-note {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* 11. Explore */
.explore-section {
    background-color: #111827;
    color: white;
    padding: 60px 0;
}

.explore-section h3 {
    color: white;
    margin-bottom: 10px;
}

.explore-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.explore-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: -20px;
    margin-bottom: 30px;
}

.explore-links {
    display: flex;
    gap: 30px;
}

.explore-links a {
    color: var(--primary);
    font-weight: 600;
}

.explore-links a:hover {
    color: white;
}

/* 12. Footer */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Enforce equal columns for alignment */
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--text-main);
    font-size: 0.95rem;
}
.footer-col a:hover { color: var(--primary); }

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.socials {
    display: flex;
    gap: 15px;
    font-size: 1.25rem;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

/* New Content Styling */
.purpose-line {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-main);
    max-width: 750px;
    margin: 20px auto 30px; /* Explicit auto margins */
    line-height: 1.6;
    display: block; /* Ensure block level */
}

.trust-line {
    margin-top: 50px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: block;
    width: 100%;
    text-align: center;
}

.premium-teaser-section {
    background-color: #fff8f1; /* lighter version of secondary if needed, or just secondary */
    background-color: var(--secondary);
    padding: 30px 0;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--border);
}

.premium-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.email-capture-section {
    background-color: var(--background);
    padding: 100px 0;
}

.email-capture-section h2 {
    font-size: 2.25rem;
    margin-bottom: 15px;
}

.email-capture-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.email-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

.email-form input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-body);
    min-width: 0; /* Prevents overflow */
    transition: 0.2s ease;
}

.email-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .email-form {
        flex-direction: column;
        width: 100%;
    }
    .email-form button {
        width: 100%;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    
    .mobile-menu-toggle { display: block; }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .grid-3, .grid-2, .activity-grid, .work-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filters {
        flex-wrap: wrap;
    }
    
    .explore-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .signals-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}
