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

:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Breakpoints */
    --container-max-width: 1200px;
    --border-radius: 0.5rem;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Header */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
}

.logo h1 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-1);
}

.tagline {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: var(--font-size-xl);
    cursor: pointer;
    color: var(--gray-700);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-6);
}

.nav-menu a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--space-20) 0;
    text-align: center;
}

.hero-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    line-height: 1.2;
}

.hero-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
    max-width: 800px;
    margin: 0 auto;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

/* Latest Posts Section */
.latest-posts {
    padding: var(--space-20) 0;
    background: white;
}

.latest-posts h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-8);
    color: var(--gray-900);
}

.content-filters {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-12);
}

.filter-btn {
    padding: var(--space-2) var(--space-6);
    border: 2px solid var(--gray-300);
    background: white;
    color: var(--gray-700);
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.posts-scroll-container {
    position: relative;
    overflow: hidden;
}

.posts-scroll {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--space-4) 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.posts-scroll::-webkit-scrollbar {
    display: none;
}

.post-day {
    flex: 0 0 350px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: var(--space-6);
    border: 1px solid var(--gray-200);
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary-color);
}

.day-number {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.day-date {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.post-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: var(--shadow-md);
}

.post-media {
    height: 120px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

.video-placeholder {
    background: var(--primary-color);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius);
}

.audio-placeholder {
    background: var(--accent-color);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius);
}

.post-content {
    padding: var(--space-4);
}

.post-content h3 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
    line-height: 1.4;
}

.post-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--font-size-sm);
}

.post-type {
    background: var(--secondary-color);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius);
    font-weight: 500;
}

.post-duration {
    color: var(--gray-500);
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: var(--font-size-xl);
    color: var(--gray-700);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.scroll-left {
    left: var(--space-4);
}

.scroll-right {
    right: var(--space-4);
}

/* Financial Tools Section */
.financial-tools {
    padding: var(--space-20) 0;
    background: var(--gray-100);
}

.financial-tools h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--gray-900);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.tool-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.tool-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-6);
    color: var(--gray-900);
    text-align: center;
}

.calculator {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.calculator input {
    padding: var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
}

.calculator input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.calculator button {
    padding: var(--space-3) var(--space-6);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.calculator button:hover {
    background: var(--primary-dark);
}

.result {
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    margin-top: var(--space-4);
    font-weight: 500;
}

/* Skills Section */
.skills-section {
    padding: var(--space-20) 0;
    background: white;
}

.skills-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--gray-900);
}

.exercises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: var(--space-8);
}

.exercise-card {
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.exercise-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.exercise-card > p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.skill-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.category h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-800);
}

.skill-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2);
}

.skill-checkboxes label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.skill-checkboxes label:hover {
    background: var(--gray-100);
}

.analyze-btn {
    width: 100%;
    padding: var(--space-4);
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.analyze-btn:hover {
    background: #059669;
}

.skill-result {
    margin-top: var(--space-6);
    padding: var(--space-4);
    background: white;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
}

/* Framework Steps */
.framework-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.step {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--gray-900);
}

.step-content p {
    color: var(--gray-600);
    margin-bottom: var(--space-3);
}

.step-content input,
.step-content textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-family: inherit;
}

.step-content textarea {
    height: 80px;
    resize: vertical;
}

.time-blocks {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.time-block {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 500;
    color: var(--gray-700);
}

.time-block input {
    flex: 1;
    margin: 0;
}

/* Networking Section */
.networking-section {
    padding: var(--space-20) 0;
    background: var(--gray-100);
}

.networking-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--gray-900);
}

.networking-principle {
    text-align: center;
    margin-bottom: var(--space-12);
}

.networking-principle h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.networking-principle p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.networking-exercises {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-8);
}

.network-card {
    background: white;
    padding: var(--space-8);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.network-card h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.network-card p {
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.connection-tracker {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.connection-tracker input {
    padding: var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
}

.connection-tracker button {
    padding: var(--space-3);
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
}

.connection-log {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: var(--space-3);
    background: var(--gray-50);
}

.value-prop-builder {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.prop-field {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.prop-field label {
    font-weight: 500;
    min-width: 80px;
    color: var(--gray-700);
}

.prop-field input {
    flex: 1;
    padding: var(--space-3);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
}

.value-prop-result {
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    font-weight: 500;
    margin-top: var(--space-4);
}

/* Resources Section */
.resources-section {
    padding: var(--space-20) 0;
    background: white;
}

.resources-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-12);
    color: var(--gray-900);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-8);
}

.resource-category {
    background: var(--gray-50);
    padding: var(--space-8);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

.resource-category h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--space-6);
    color: var(--gray-900);
    text-align: center;
}

.resource-category ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.resource-category a {
    display: block;
    padding: var(--space-3) var(--space-4);
    background: white;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.resource-category a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

.footer-section h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-4);
    color: white;
}

.footer-section p {
    color: var(--gray-300);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-section ul li {
    color: var(--gray-300);
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-8);
    text-align: center;
    color: var(--gray-400);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-content p {
        font-size: var(--font-size-lg);
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-4);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .post-day {
        flex: 0 0 280px;
    }
    
    .exercises-grid {
        grid-template-columns: 1fr;
    }
    
    .networking-exercises {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .skill-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .prop-field {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .prop-field label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-3);
    }
    
    .hero {
        padding: var(--space-12) 0;
    }
    
    .latest-posts,
    .financial-tools,
    .skills-section,
    .networking-section,
    .resources-section {
        padding: var(--space-12) 0;
    }
    
    .scroll-btn {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-lg);
    }
    
    .scroll-left {
        left: var(--space-2);
    }
    
    .scroll-right {
        right: var(--space-2);
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.text-primary {
    color: var(--primary-color);
}

.text-success {
    color: var(--success-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-danger {
    color: var(--danger-color);
}

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

.bg-success {
    background-color: var(--success-color);
}

.bg-warning {
    background-color: var(--warning-color);
}

.bg-danger {
    background-color: var(--danger-color);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

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