/* ============================================================================
   HEAVYCLICK COMPLETE STYLESHEET - FULLY FIXED VERSION
   ============================================================================ */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 400;
    line-height: 1.7;
    color: #e9eef6;
    background-color: #0b0b0d;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(11, 11, 13, 0.98);
    border-top: 1px solid rgba(138, 226, 255, 0.3);
    padding: 1.5rem;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.cookie-accept {
    background-color: #8ae2ff;
    color: #0b0b0d;
}

.cookie-accept:hover {
    background-color: #b4f0ff;
}

.cookie-decline {
    background-color: transparent;
    color: #8ae2ff;
    border: 2px solid #8ae2ff;
}

.cookie-decline:hover {
    background-color: rgba(138, 226, 255, 0.1);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', 'Courier New', monospace;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #f5f7fa;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

p.lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: #f5f7fa;
}

p.large {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

p.emphasis {
    font-weight: 600;
    color: #f5f7fa;
}

a {
    color: #8ae2ff;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #b4f0ff;
}

a:focus {
    outline: 2px solid #8ae2ff;
    outline-offset: 2px;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
    color: #f5f7fa;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 5rem 0;
}

.section-subhead {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    color: #c8d1df;
    max-width: 800px;
}

/* === NAVIGATION === */
#main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(11, 11, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(138, 226, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.25rem;
    color: #f5f7fa;
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background-color: #e9eef6;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    position: relative;
}

.nav-links a {
    color: #e9eef6;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #8ae2ff;
}

.nav-links .nav-cta {
    background-color: #8ae2ff;
    color: #0b0b0d;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
}

.nav-links .nav-cta:hover {
    background-color: #b4f0ff;
    color: #0b0b0d;
}

/* Dropdown Menu - FIXED */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    cursor: pointer;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(11, 11, 13, 0.98);
    border: 1px solid rgba(138, 226, 255, 0.2);
    border-radius: 4px;
    padding: 0.5rem 0;
    min-width: 220px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    z-index: 9999;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #e9eef6;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background-color: rgba(138, 226, 255, 0.1);
    color: #8ae2ff;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background-color: #8ae2ff;
    color: #0b0b0d;
    border-color: #8ae2ff;
}

.btn-primary:hover {
    background-color: #b4f0ff;
    border-color: #b4f0ff;
    color: #0b0b0d;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #8ae2ff;
    border-color: #8ae2ff;
}

.btn-secondary:hover {
    background-color: rgba(138, 226, 255, 0.1);
    border-color: #b4f0ff;
    color: #b4f0ff;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.btn:focus {
    outline: 2px solid #8ae2ff;
    outline-offset: 4px;
}

/* === HERO SECTION === */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    width: 100%;
}

.hero-subhead {
    max-width: 900px;
    margin: 0 auto 3rem;
}

.hero-subhead p {
    margin-bottom: 1.5rem;
}

.hero-subhead .large {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

/* === PROBLEM SECTION === */
.problem {
    background-color: rgba(138, 226, 255, 0.02);
}

.problem-content {
    max-width: 800px;
    margin: 0 auto;
}

.barrier-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.barrier-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(138, 226, 255, 0.1);
}

.barrier-list li:last-child {
    border-bottom: none;
}

/* === TRANSFORMATION SECTION - NEW === */
.transformation {
    background-color: rgba(138, 226, 255, 0.02);
}

.transformation-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.transformation-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background-color: rgba(138, 226, 255, 0.03);
    border: 1px solid rgba(138, 226, 255, 0.1);
    border-radius: 8px;
}

.transform-before,
.transform-after {
    text-align: center;
}

.transform-before h3 {
    color: #c8d1df;
    font-size: 1.125rem;
}

.transform-after h3 {
    color: #8ae2ff;
    font-size: 1.25rem;
}

.transform-arrow {
    font-size: 2rem;
    color: #8ae2ff;
    font-weight: 700;
}

/* === APPROACH SECTION === */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.approach-card {
    background-color: rgba(138, 226, 255, 0.03);
    border: 1px solid rgba(138, 226, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
}

.approach-card h3 {
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: #8ae2ff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.card-result {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(138, 226, 255, 0.1);
    font-size: 0.95rem;
}

/* === FIT SECTION === */
.fit-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.fit-column {
    background-color: rgba(138, 226, 255, 0.03);
    border-radius: 8px;
    padding: 2rem;
}

.fit-yes {
    border: 2px solid rgba(138, 226, 255, 0.3);
}

.fit-no {
    border: 2px solid rgba(233, 238, 246, 0.1);
}

.fit-column h3 {
    margin-bottom: 1.5rem;
}

.fit-column ul {
    list-style: none;
    padding-left: 0;
}

.fit-column li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(138, 226, 255, 0.05);
}

.fit-column li:last-child {
    border-bottom: none;
}

.fit-examples {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: rgba(138, 226, 255, 0.03);
    border-radius: 8px;
}

.fit-examples ul {
    list-style: none;
    padding-left: 0;
    columns: 2;
    column-gap: 2rem;
}

.fit-examples li {
    break-inside: avoid;
    margin-bottom: 0.5rem;
}

.fit-examples li::before {
    content: "→ ";
    color: #8ae2ff;
}

.fit-cta {
    text-align: center;
    margin-top: 3rem;
}

.fit-cta p {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

/* === HOW WE WORK SECTION === */
.phase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.phase-card {
    background-color: rgba(138, 226, 255, 0.03);
    border: 1px solid rgba(138, 226, 255, 0.1);
    border-radius: 8px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.phase-featured {
    border: 2px solid rgba(138, 226, 255, 0.3);
}

.phase-header {
    margin-bottom: 1.5rem;
}

.phase-header h3 {
    margin-bottom: 0.5rem;
}

.phase-meta {
    color: #8ae2ff;
    font-weight: 600;
    font-size: 0.95rem;
}

.phase-intro {
    margin-bottom: 1.5rem;
}

.phase-deliverables {
    margin-bottom: 1.5rem;
}

.phase-deliverables ul {
    margin-top: 0.75rem;
}

.phase-outcome {
    margin-top: auto;
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(138, 226, 255, 0.1);
    font-style: italic;
    color: #c8d1df;
}

.phase-card .btn {
    margin-top: auto;
}

/* === CASE STUDY SECTION === */
.case-study {
    background-color: rgba(138, 226, 255, 0.02);
}

.case-study-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(138, 226, 255, 0.05);
    border: 2px solid rgba(138, 226, 255, 0.2);
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
}

.case-study-card h3 {
    color: #8ae2ff;
    margin-bottom: 1.5rem;
}

.early-client-benefits,
.looking-for {
    text-align: left;
    margin: 2rem 0;
}

.early-client-benefits ul,
.looking-for ul {
    margin-top: 0.75rem;
}

.case-study-cta-text {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* === RESOURCES SECTION === */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background-color: rgba(138, 226, 255, 0.03);
    border: 1px solid rgba(138, 226, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(138, 226, 255, 0.3);
}

.resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.resource-card p {
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #c8d1df;
}

/* === NEWSLETTER SECTION - FIXED === */
.newsletter {
    background-color: rgba(138, 226, 255, 0.02);
}

.newsletter-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
}

.substack-embed-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.substack-embed-wrapper iframe {
    max-width: 100%;
    border-radius: 8px !important;
}

/* === CONTACT FORM SECTION === */
.contact-form-section {
    background-color: rgba(138, 226, 255, 0.02);
}

.contact-form-section h2 {
    text-align: center;
}

.contact-form-section .section-subhead {
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #f5f7fa;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: rgba(138, 226, 255, 0.05);
    border: 2px solid rgba(138, 226, 255, 0.2);
    border-radius: 6px;
    color: #e9eef6;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(233, 238, 246, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8ae2ff;
    background-color: rgba(138, 226, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.contact-form .btn {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 2rem auto 0;
}

/* === MODAL - FIXED === */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.modal-content {
    background-color: #0b0b0d;
    border: 2px solid rgba(138, 226, 255, 0.3);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    color: #8ae2ff;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #b4f0ff;
}

.modal-content h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

/* === ABOUT SECTION === */
.about {
    background-color: rgba(138, 226, 255, 0.02);
}

.about-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.founder-profile {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2.5rem;
    background-color: rgba(138, 226, 255, 0.03);
    border: 1px solid rgba(138, 226, 255, 0.1);
    border-radius: 8px;
}

.founder-image {
    width: 200px;
    height: 200px;
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.founder-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 226, 255, 0.2), rgba(138, 226, 255, 0.05));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-bio h3 {
    margin-bottom: 0.25rem;
}

.founder-title {
    color: #8ae2ff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.founder-links {
    margin-top: 1rem;
    font-size: 0.95rem;
}

.founder-links span {
    margin: 0 0.5rem;
    color: #c8d1df;
}

/* === FOOTER CTA === */
.footer-cta {
    background: linear-gradient(135deg, rgba(138, 226, 255, 0.05), rgba(138, 226, 255, 0.02));
    text-align: center;
}

.footer-cta h2 {
    margin-bottom: 1rem;
}

.footer-cta-subhead {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    color: #c8d1df;
}

.footer-cta-buttons {
    margin-bottom: 2rem;
}

.footer-cta-alt {
    font-size: 0.95rem;
    color: #c8d1df;
}

.text-link {
    color: #8ae2ff;
    font-weight: 600;
}

/* === FOOTER === */
#main-footer {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(138, 226, 255, 0.1);
    padding: 3rem 0 2rem;
}

.footer-brand {
    margin-bottom: 2rem;
    text-align: center;
}

.footer-logo {
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: #f5f7fa;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 0.95rem;
    color: #c8d1df;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: #e9eef6;
    font-weight: 500;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(138, 226, 255, 0.1);
}

.footer-copyright p {
    font-size: 0.875rem;
    color: #c8d1df;
    margin: 0;
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(11, 11, 13, 0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid rgba(138, 226, 255, 0.1);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 0.75rem 0;
    }
    
    .nav-links .nav-cta {
        margin: 0.5rem 1.5rem;
    }
    
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        background: transparent;
        display: none;
        margin-top: 0;
    }
    
    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }
    
    .nav-dropdown-menu li {
        padding: 0;
    }
    
    .nav-dropdown-menu a {
        padding: 0.75rem 2rem;
    }
    
    .section-padding {
        padding: 3rem 0;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .transformation-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .transform-arrow {
        transform: rotate(90deg);
    }
    
    .approach-grid,
    .fit-comparison,
    .phase-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .fit-examples ul {
        columns: 1;
    }
    
    .founder-profile {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .founder-image {
        margin: 0 auto;
    }
    
    .substack-embed-wrapper iframe {
        width: 100% !important;
        height: 400px !important;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 5% auto;
        width: 95%;
    }
    
    .contact-form textarea {
        min-height: 150px;
    }
}

/* Mobile */
@media (max-width: 375px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-padding {
        padding: 2.5rem 0;
    }
    
    .approach-card,
    .phase-card,
    .case-study-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 20% auto;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}
