/* Hypno-Oncology Page Specific Styles */

/* Hero Section */
.hypno-hero {
    padding: 120px 0 80px;
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hypno-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hypno-hero .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hypno-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 15, 8, 0.85) 0%, 
        rgba(28, 55, 56, 0.75) 50%, 
        rgba(139, 170, 173, 0.65) 100%);
    z-index: 1;
}

.hypno-hero .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--mint-cream);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--french-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-statement {
    padding: 2rem;
    background: rgba(244, 255, 248, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px); /* Safari/Chrome support */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    animation: fadeInUp 1s ease 0.4s both;
    min-height: auto; /* Ensure content dictates height */
    overflow: visible; /* Prevent text cutoff */
}

.hero-statement p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--snow);
    margin: 0;
    word-wrap: break-word; /* Handle long words */
    overflow-wrap: break-word; /* Modern property for word breaking */
    hyphens: auto; /* Allow hyphenation if needed */
    -webkit-hyphens: auto; /* Safari support */
    display: block; /* Ensure block-level display */
}

/* Notice Section */
.notice-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--mint-cream), var(--snow));
}

.notice-card {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 2px solid var(--cadet-gray);
    box-shadow: 0 10px 30px rgba(139, 170, 173, 0.2);
}

.notice-icon svg {
    width: 48px;
    height: 48px;
    color: var(--denim);
}

.notice-content h3 {
    color: var(--gunmetal);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.notice-content p {
    color: var(--davys-gray);
    line-height: 1.8;
}

.notice-content strong {
    color: var(--denim);
    font-weight: 600;
}

/* Understanding Section */
.understanding-section {
    padding: 4rem 0;
    background: var(--background);
}

.understanding-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.understanding-main {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
}

.understanding-main h3 {
    color: var(--gunmetal);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.understanding-main h4 {
    color: var(--denim);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.understanding-main p {
    color: var(--davys-gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.understanding-main ul {
    list-style: none;
    padding: 0;
}

.understanding-main li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--davys-gray);
}

.understanding-main li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cadet-gray);
    font-weight: bold;
}

.understanding-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon svg {
    width: 36px;
    height: 36px;
    color: var(--denim);
    margin-bottom: 1rem;
}

.stat-card h4 {
    color: var(--gunmetal);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--davys-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--snow), var(--mint-cream));
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(139, 170, 173, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(28, 55, 56, 0.15);
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
    color: var(--cadet-gray);
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: var(--gunmetal);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--davys-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.benefit-card ul {
    list-style: none;
    padding: 0;
}

.benefit-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--paynes-gray);
    font-size: 0.95rem;
}

.benefit-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Process Section */
.process-section {
    padding: 4rem 0;
    background: var(--background);
}

.process-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 40px;
    bottom: 40px;
    width: 2px;
    background: linear-gradient(180deg, var(--cadet-gray), var(--denim));
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-left: 60px;
    animation: slideInRight 0.6s ease both;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

.timeline-number {
    position: absolute;
    left: -60px;
    width: 40px;
    height: 40px;
    background: var(--denim);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(39, 93, 173, 0.3);
}

.timeline-content h3 {
    color: var(--gunmetal);
    margin-bottom: 0.75rem;
}

.timeline-content p {
    color: var(--davys-gray);
    line-height: 1.7;
}

/* Techniques Section */
.techniques-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--mint-cream), var(--snow));
}

.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.technique-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(206, 211, 220, 0.3);
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(77, 72, 71, 0.1);
}

.technique-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.technique-icon svg {
    width: 100%;
    height: 100%;
    color: var(--cadet-gray);
    transition: all 0.3s ease;
}

.technique-card:hover .technique-icon svg {
    color: var(--denim);
    transform: scale(1.1);
}

.technique-card h3 {
    color: var(--denim);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.technique-card p {
    color: var(--davys-gray);
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border-left: 4px solid var(--cadet-gray);
}

.faq-item h3 {
    color: var(--gunmetal);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--davys-gray);
    line-height: 1.7;
}

/* Research Section */
.research-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #e8e8e8, #d5d5d5);  /* Light silver/gray background */
}

.research-section .section-header h2 {
    color: var(--gunmetal);  /* Dark text on light background */
    font-weight: 600;
}

.research-section .section-header p {
    color: var(--davys-gray);  /* Dark gray for subtitle */
    opacity: 1;
}

.research-content {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(139, 170, 173, 0.2);
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.research-content p {
    color: var(--davys-gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.research-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.research-stat {
    text-align: center;
}

.stat-percentage {
    font-size: 3rem;
    font-weight: bold;
    color: var(--denim);
    margin-bottom: 0.5rem;
}

.research-stat p {
    color: var(--davys-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--snow), var(--mint-cream));
}

.cta-content {
    text-align: center;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--gunmetal);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.cta-content > p {
    color: var(--davys-gray);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.cta-note {
    padding: 1.5rem;
    background: rgba(139, 170, 173, 0.1);
    border-radius: 15px;
    margin-top: 2rem;
}

.cta-note p {
    color: var(--davys-gray);
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Download Resources Section */
.download-section {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, 
        rgba(244, 255, 248, 0.02) 0%, 
        rgba(252, 247, 248, 0.04) 100%);
}

.download-card {
    display: flex;
    gap: var(--space-2xl);
    padding: var(--space-2xl);
    background: var(--glass-bg-light);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 
        0 20px 40px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 30px 60px rgba(0, 15, 8, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.download-icon {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--gunmetal), var(--denim));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.download-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}

.download-card:hover .download-icon::before {
    animation: shimmer 2s ease-in-out infinite;
}

.download-icon svg {
    width: 50px;
    height: 50px;
    color: var(--mint-cream);
    z-index: 1;
}

.download-content {
    flex: 1;
}

.download-content h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.download-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.download-features {
    background: rgba(139, 170, 173, 0.08);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    border-left: 3px solid var(--denim);
}

.download-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
}

.download-features li {
    position: relative;
    padding-left: var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.5;
}

.download-features li::before {
    content: '📄';
    position: absolute;
    left: 0;
    font-size: 1rem;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(135deg, var(--denim), var(--rose-quartz));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(39, 93, 173, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition-base);
    transform: translate(-50%, -50%);
}

.btn-download:hover::before {
    width: 300px;
    height: 300px;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(39, 93, 173, 0.4);
}

.btn-download svg {
    width: 20px;
    height: 20px;
    animation: downloadBounce 2s ease-in-out infinite;
}

@keyframes downloadBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

@media (max-width: 968px) {
    .download-features ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-icon {
        margin: 0 auto;
        width: 80px;
        height: 80px;
    }
    
    .download-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .download-content h3 {
        font-size: 1.5rem;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero Section Mobile Fixes */
    .hypno-hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-statement {
        padding: 1.5rem;
        margin: 0 1rem; /* Add horizontal margin on mobile */
    }
    
    .hero-statement p {
        font-size: 1rem;
        line-height: 1.6;
        /* Ensure text doesn't get cut off */
        min-height: auto;
        padding-bottom: 0.5rem; /* Add padding to prevent cutoff */
    }
    
    .understanding-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .research-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .timeline-item {
        margin-left: 40px;
    }
    
    .timeline-number {
        left: -40px;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .process-timeline::before {
        left: 16px;
    }
}