/* ================================
   Layout - Header, Hero, Sections, Footer
   ================================ */

/* Header */
header {
    padding: 30px 0;
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.3px;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-sub {
    font-size: 12px;
    font-weight: 600;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}

/* Navigation Menu */
.header-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

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

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-green));
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav a {
    display: block;
    padding: 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
}

.mobile-nav a:hover {
    background: var(--light-bg);
}

/* Hero Section */
.hero {
    padding: 140px 0 48px;
    background: var(--white);
}

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

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--dark-text) 0%, var(--secondary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 8px 25px rgba(139,92,246,0.4));
}

.hero .subheadline {
    font-size: 20px;
    color: var(--light-text);
    margin-bottom: 50px;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

/* Trust Section */
.trust-section {
    padding: 30px 0 15px 0;
    background: var(--white);
    position: relative;
    margin-top: -30px;
    border-bottom: 1px solid var(--border);
}

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

.trust-label {
    font-size: 14px;
    color: var(--light-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.logos-grid {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 35px;
    -webkit-mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
    mask-image: linear-gradient(to right, 
        transparent 0%, 
        black 10%, 
        black 90%, 
        transparent 100%);
}

.logos-wrapper {
    display: flex;
    transform: translateX(0);
}

.logos-wrapper-bio {
    display: flex;
    transform: translateX(0);
}

.logos-track {
    display: flex;
    gap: 40px;
    padding-right: 40px;
    margin-right: -1px;
}

.logo-item {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    flex-shrink: 0;
}

.logo-text-fallback {
    display: none;
    font-size: 20px;
    font-weight: 600;
    color: #999;
}

/* Pain Points Section */
.pain-points {
    padding: 60px 0 80px 0;
    background: #FFF9E6;
    border-top: none;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 5px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    justify-items: center;
    justify-content: center;
}

.pain-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
}

.pain-item.visible {
    opacity: 1 !important;
    pointer-events: auto;
}

.pain-item.active {
    opacity: 1;
    transition: opacity 0.6s ease;
}

.pain-item.animate {
    animation: popIn 0.4s ease-out forwards;
}

.pain-quote {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    color: var(--dark-text);
    font-style: italic;
    text-align: center;
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    position: relative;
    z-index: 1;
    padding: 10px 15px;
}

/* What is ICP Section */
.what-is-icp {
    padding: 60px 0 48px 0;
    margin-top: 0px;
    background: var(--white);
}

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

.icp-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0D9488;
    line-height: 1.45;
}

.icp-explanation {
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-text);
    max-width: 750px;
    margin: 0 auto;
}

/* Pricing Section */
.pricing {
    padding: 30px 0 24px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-bg) 20%, var(--light-bg) 100%);
    margin-top: 12px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tier-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.tier-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.tier-duration {
    font-size: 16px;
    color: var(--light-text);
    margin-bottom: 30px;
}

.tier-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
    padding: 0;
}

.tier-features li {
    padding: 8px 0 8px 45px;
    color: var(--dark-text);
    position: relative;
    line-height: 1.4;
    margin: 0;
}

.tier-features li:before {
    content: "✓";
    position: absolute;
    left: 20px;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 16px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
    line-height: 1.45;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-subtitle {
    font-size: 20px;
    color: var(--light-text);
    text-align: center;
}

/* Bio Section */
.bio-section {
    padding: 24px 0;
    background: #F0F9FF;
}

.bio-content {
    max-width: 900px;
    margin: 0 auto;
}

.bio-image {
    flex-shrink: 0;
}

.bio-image img {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 3px solid var(--white);
    outline: 1px solid var(--border);
}

.bio-text-container {
    flex: 1;
}

.bio-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #0D9488;
    line-height: 1.45;
}

.bio-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-text);
}

/* Testimonials Section */
.testimonials {
    padding: 18px 0 36px 0;
    background: var(--white);
}

.testimonials-placeholder {
    text-align: center;
    padding: 60px;
    border: 2px dashed var(--border);
    border-radius: 20px;
    color: var(--light-text);
}

/* Footer */
footer {
    padding: 60px 0;
    background: var(--dark-text);
    color: var(--white);
    text-align: center;
}

.footer-cta {
    margin-bottom: 40px;
}

.footer-cta h2 {
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.45;
}

.footer-info {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* Logo Hover Effects */
.logo:hover .arrow-group {
    animation: arrow-fly-diagonal 1.5s ease-out !important;
}

.logo:hover .arrow-group g {
    animation: arrow-position 1.5s ease-out !important;
}

.logo:hover .arrow-group clipPath rect:last-child {
    animation: clip-shaft 1.5s ease-out !important;
}

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