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

html {
    scroll-behavior: smooth;
}

:root {
    --section-padding-y: 5rem;
    --hero-padding-top: 10rem;
    --footer-padding-y: 3rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #083359;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

/* Typography System */
h1, h2 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.1;
    color: #083359;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: #083359;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin-bottom: 1rem;
    color: #083359;
    line-height: 1.7;
    font-weight: 400;
}

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

/* Layout & Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Button Components */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.01em;
}

.btn-primary {
    background-color: #083359;
    color: #ffffff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #062840;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(8, 51, 89, 0.2);
}

.btn-outline {
    background-color: #ffffff;
    color: #083359;
    border: 1px solid #083359;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #083359;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(8, 51, 89, 0.2);
}

.btn-link {
    background-color: transparent;
    color: #083359;
    border: none;
    padding: 0.75rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 450;
}

.btn-link:hover {
    color: #0077b5;
    transform: translateY(-1px);
}

.btn-link svg {
    flex-shrink: 0;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(8, 51, 89, 0.2);
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(8, 51, 89, 0.3);
}

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.btn-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(8, 51, 89, 0.25);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    gap: 1rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #083359;
    text-decoration: none;
    letter-spacing: -0.01em;
    position: relative;
}

.logo-text {
    display: inline;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-photo {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #083359;
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo.scrolled .logo-text {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
}

.logo.scrolled .logo-photo {
    display: block;
    opacity: 1;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #083359;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: #FF5E5B;
}

.header-mobile-actions {
    display: none;
    align-items: center;
}

.btn-mobile-cta {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: #083359;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: var(--hero-padding-top) 0 var(--section-padding-y);
    background-color: #FFFAF0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
    align-items: start;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #083359;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.375rem;
    font-weight: 500;
    color: #083359;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.125rem;
    font-weight: 400;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-container {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #083359;
    box-shadow: 0 20px 40px rgba(8, 51, 89, 0.25), 0 0 0 10px rgba(255, 94, 91, 0.1);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Profile Photo */
.mobile-profile-photo {
    display: none;
    margin-bottom: 2rem;
    text-align: center;
}

.mobile-profile-photo img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #083359;
    box-shadow: 0 15px 30px rgba(8, 51, 89, 0.2);
}

/* Experience Section */
.experience-section {
    background-color: #ffffff;
}

.experience-content {
    max-width: 1000px;
    margin: 0 auto;
}

.company-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2.5rem;
    align-items: center;
    justify-items: center;
}

.company-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 200px;
    height: 80px;
    transition: transform 0.3s ease;
}

.company-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.company-logo-item:hover {
    transform: translateY(-4px);
}

/* Product Grind HQ Section */
.productgrind-section {
    background-color: #FFFAF0;
    position: relative;
}

.productgrind-header {
    margin-bottom: 4rem;
}

.productgrind-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.25rem;
}

.productgrind-logo {
    max-width: 120px;
    height: auto;
    object-fit: contain;
}

.productgrind-description {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.productgrind-description p {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
}

.productgrind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Larger gap on bigger screens */
@media (min-width: 1400px) {
    .productgrind-grid {
        gap: 2.5rem;
    }
}

.productgrind-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(8, 51, 89, 0.08);
    border: 1px solid rgba(8, 51, 89, 0.05);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    text-align: left;
}

.productgrind-card-link {
    cursor: pointer;
}

.productgrind-card-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 51, 89, 0.15);
}

.productgrind-card:not(.productgrind-card-link):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 51, 89, 0.15);
}

.productgrind-icon-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.productgrind-icon-coaching {
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
}

.productgrind-icon-newsletter {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
}

.productgrind-icon-podcast {
    background: linear-gradient(135deg, #FF1A1A 0%, #FF3333 100%);
}

.productgrind-icon-advisory {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
}

.productgrind-icon {
    font-size: 4.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.productgrind-card-link:hover .productgrind-icon {
    transform: scale(1.1) rotate(5deg);
}

.productgrind-card-link:hover .productgrind-icon-placeholder {
    transform: scale(1.02);
}

.productgrind-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #083359;
    margin: 1.5rem 1.5rem 0.75rem;
    transition: color 0.3s ease;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.productgrind-card p {
    color: #666;
    line-height: 1.6;
    margin: 0 1.5rem 1rem;
    font-size: 1rem;
    flex-grow: 1;
}

.productgrind-card .card-link {
    display: inline-block;
    color: #FF5E5B;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 1.5rem 1.5rem;
    transition: all 0.3s ease;
}

.productgrind-card-link:hover .card-link {
    color: #083359;
    transform: translateX(5px);
}

.productgrind-card .card-link-disabled {
    color: #999;
    cursor: default;
    opacity: 0.6;
    transform: none;
}

.productgrind-card .card-link-disabled:hover {
    color: #999;
    transform: none;
}

/* Past Projects Section */
.projects-section {
    background-color: #ffffff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.project-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(8, 51, 89, 0.08);
    border: 1px solid rgba(8, 51, 89, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(8, 51, 89, 0.15);
}

.project-image-placeholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image-placeholder.project-image-purple {
    background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
}

.project-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: 50%;
    background: white;
    padding: 12px;
}

.project-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: #083359;
    margin: 1.25rem 1.25rem 0.5rem;
}

.project-card p {
    color: #666;
    line-height: 1.6;
    margin: 0 1.25rem 1rem;
    font-size: 0.95rem;
}

.project-card .card-link {
    display: inline-block;
    color: #FF5E5B;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 1.25rem 1.25rem;
    transition: all 0.3s ease;
}

.project-card:hover .card-link {
    color: #083359;
    transform: translateX(5px);
}


/* Footer */
.footer {
    background-color: #f8f8f8;
    padding: var(--footer-padding-y) 0;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    text-align: center;
    margin-bottom: 0;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.footer-copyright {
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0;
}

/* Responsive Design */
/* Tablet: 2 columns */
@media (max-width: 1024px) {
    .company-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
    
    .productgrind-icon-placeholder {
        height: 170px;
    }
    
    .productgrind-icon {
        font-size: 4.25rem;
    }
    
    .productgrind-card h3 {
        font-size: 1.375rem;
    }
    
    .productgrind-card p {
        font-size: 0.95rem;
    }
    
    .productgrind-logo {
        max-width: 110px;
    }
}

@media (max-width: 968px) {
    h1 {
        font-size: 2.75rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
        letter-spacing: -0.02em;
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    :root {
        --section-padding-y: 4rem;
    }
    
    /* Header */
    .header-content {
        position: relative;
        padding: 0.75rem 1.5rem !important;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .logo {
        display: flex;
        order: 2;
        flex: 1;
        justify-content: flex-start;
        margin-left: 0.5rem;
    }
    
    .logo .logo-text {
        font-size: 1.1rem;
    }
    
    .header-mobile-actions {
        display: flex;
        order: 3;
        flex-shrink: 0;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-top: none;
        padding: 1rem 0;
        display: none;
        z-index: 999;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .nav-link {
        padding: 0.5rem 2rem;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .nav-menu .btn-nav {
        display: none;
    }
    
    /* Mobile Profile Photo */
    .mobile-profile-photo {
        display: block;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    /* Product Grind Grid - Stack on mobile */
    .productgrind-logo {
        max-width: 100px;
    }
    
    .productgrind-icon-placeholder {
        height: 160px;
    }
    
    .productgrind-icon {
        font-size: 4rem;
    }
    
    .productgrind-card h3 {
        font-size: 1.375rem;
    }
    
    .productgrind-card p {
        font-size: 0.95rem;
    }
    
    .productgrind-card .card-link {
        font-size: 0.95rem;
    }
    
    /* Projects Grid */
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    /* Company Logos Grid */
    .company-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .company-logo-item {
        max-width: 150px;
        height: 60px;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        letter-spacing: -0.015em;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    :root {
        --section-padding-y: 3rem;
        --hero-padding-top: 6rem;
    }
    
    /* Company Logos Grid - Mobile */
    .company-logos-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .company-logo-item {
        max-width: 120px;
        height: 50px;
    }
}

