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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

/* Hebrew Text Styling */
.hebrew-text, .hebrew-text-large, .hebrew-sample {
    font-family: 'Times New Roman Hebrew', 'David', 'Frank Ruehl', serif;
    direction: rtl;
    unicode-bidi: embed;
}

.hebrew-text-large {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgb(154, 102, 1);
    margin-bottom: 0.5rem;
}

.hebrew-sample {
    font-size: 1.5rem;
    color: rgb(154, 102, 1);
    font-weight: 500;
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.logo-image {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

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

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: rgb(154, 102, 1);
}

.nav-link.active {
    color: rgb(154, 102, 1);
    font-weight: 600;
}

/* Override any language toggle styles for uniform header */
.language-toggle {
    display: none !important;
}

.lang-button {
    display: none !important;
}

.lang-content {
    display: block !important;
}

.lang-content:not(.active) {
    display: none !important;
}

.cta-button {
    background: rgb(154, 102, 1);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgb(134, 82, 1);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    padding: 100px 0 60px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 1.25rem;
}

.highlight {
    color: rgb(154, 102, 1);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgb(174, 122, 21);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.primary-cta {
    background: rgb(154, 102, 1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: inline-block;
    max-width: 100%;
    white-space: normal;
}

.primary-cta:hover {
    background: rgb(134, 82, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.primary-cta.large {
    padding: 1.25rem 2.5rem;
    font-size: 1.2rem;
}

.secondary-cta {
    background: transparent;
    color: rgb(154, 102, 1);
    padding: 1rem 2rem;
    border: 2px solid rgb(154, 102, 1);
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.secondary-cta:hover {
    background: rgb(154, 102, 1);
    color: white;
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.proof-text {
    color: #6b7280;
    font-weight: 500;
}

.proof-avatars {
    display: flex;
    align-items: center;
    gap: -0.5rem;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(154, 102, 1), rgb(174, 122, 21));
    border: 2px solid white;
    margin-left: -0.5rem;
}

.avatar-more {
    background: rgb(174, 122, 21);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    border: 2px solid white;
    margin-left: -0.5rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hebrew-showcase {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    text-align: center;
}

.transliteration {
    font-style: italic;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.translation {
    color: #374151;
    font-weight: 500;
    font-size: 1.1rem;
}

.floating-letters {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.letter {
    position: absolute;
    font-size: 2rem;
    color: rgb(154, 102, 1);
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.letter-1 { top: 10%; left: 10%; animation-delay: 0s; }
.letter-2 { top: 20%; right: 15%; animation-delay: 1.5s; }
.letter-3 { bottom: 20%; left: 15%; animation-delay: 3s; }
.letter-4 { bottom: 10%; right: 10%; animation-delay: 4.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: white;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(154, 102, 1, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgb(154, 102, 1);
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.feature-description {
    color: #6b7280;
    line-height: 1.6;
}

/* Demo Section */
.demo {
    background: #f8fafc;
    padding: 100px 0;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.demo-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
}

.demo-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
}

.progress-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgb(154, 102, 1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #6b7280;
}

.learning-progression {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.progression-stage {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.progression-stage h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-weight: 600;
    color: #1f2937;
}

.author-info span {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, rgb(154, 102, 1) 0%, rgb(174, 122, 21) 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-buttons {
    margin-bottom: 3rem;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.checkmark {
    color: rgb(174, 122, 21);
    font-weight: bold;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f9fafb;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f9fafb;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hebrew-showcase {
        padding: 2rem;
    }
    
    .hebrew-text-large {
        font-size: 2rem;
    }
    
    .email-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .subscribe-button {
        width: 100%;
        padding: 0.875rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .demo-title {
        font-size: 2rem;
    }
    
    .hero-cta .primary-cta,
    .hero-cta .secondary-cta {
        width: 100%;
        text-align: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus states for accessibility */
.nav-link:focus,
.cta-button:focus,
.primary-cta:focus,
.secondary-cta:focus {
    outline: 2px solid rgb(174, 122, 21);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero {
        background: white;
    }
    
    .feature-card {
        border-color: #000;
    }
    
    .testimonial-card {
        background: white;
        border: 2px solid #000;
    }
}

/* Hero Subscribe Card Styles */
.hero-visual .subscribe-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    padding: 1.75rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hebrew-showcase {
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fef7e0 0%, #fdf2d9 100%);
    border-radius: 0.75rem;
    position: relative;
    overflow: hidden;
}

.subscribe-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.subscribe-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    text-align: center;
}

.subscribe-description {
    color: #6b7280;
    text-align: center;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.subscribe-features {
    margin-bottom: 1.5rem;
}

.subscribe-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.95rem;
}

.subscribe-features .checkmark {
    color: rgb(154, 102, 1);
    font-weight: bold;
    font-size: 1.1rem;
}

.subscribe-form {
    width: 100%;
}

.email-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.email-input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    color: #374151;
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: rgb(154, 102, 1);
    box-shadow: 0 0 0 3px rgba(154, 102, 1, 0.1);
}

.email-input::placeholder {
    color: #9ca3af;
}

.subscribe-button {
    background: rgb(154, 102, 1);
    color: white;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.subscribe-button:hover {
    background: rgb(134, 82, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.subscribe-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(154, 102, 1, 0.3);
}

.subscribe-note {
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive adjustments for hero subscribe */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-visual .subscribe-card {
        padding: 1.5rem;
    }
    
    .subscribe-title {
        font-size: 1.25rem;
    }
    
    .hebrew-showcase {
        padding: 1rem;
    }
    
    .hebrew-text-large {
        font-size: 2rem;
    }
}

/* Pastor's Corner Section */
.pastors-corner {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 5rem 0;
}

.pastors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pastor-resource-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
}

.pastor-resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pastor-resource-card .resource-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pastor-resource-card .resource-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    font-family: 'Crimson Text', serif;
}

.pastor-resource-card .resource-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.95rem;
}

.pastor-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pastor-cta-text {
    font-size: 1.125rem;
    color: #374151;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.pastor-cta-button {
    display: inline-block;
    background: rgb(154, 102, 1);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.pastor-cta-button:hover {
    background: rgb(134, 82, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Enhanced Testimonials */
.featured-testimonial {
    border: 2px solid rgb(154, 102, 1);
    background: linear-gradient(135deg, #fef7e0 0%, #fef3c7 100%);
    position: relative;
}

.featured-testimonial::before {
    content: "★ Featured";
    position: absolute;
    top: -12px;
    left: 20px;
    background: rgb(154, 102, 1);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.author-credential {
    font-size: 0.875rem;
    color: rgb(154, 102, 1);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Responsive adjustments for Pastor's Corner */
@media (max-width: 768px) {
    .pastors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pastor-resource-card {
        padding: 1.5rem;
    }
    
    .pastor-cta {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .pastor-cta-text {
        font-size: 1rem;
    }
} 