/**
 * Homepage Styles
 * Isolated module - all classes prefixed with .trojan-
 * No conflicts with other styles
 */

.trojan-homepage {
    min-height: 100vh;
}

/* Hero Section */
.trojan-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 4rem 2rem;
    margin-top: -72px; /* Account for fixed header */
    padding-top: calc(72px + 4rem);
}

.trojan-hero-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

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

.trojan-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
}

.trojan-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
    text-align: center;
}

.trojan-hero-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trojan-hero-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.trojan-hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.trojan-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.trojan-hero-button:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

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

/* Section Title */
.trojan-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center !important;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.trojan-section-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    text-align: center;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.trojan-services {
    padding: 5rem 0;
    background: #f9fafb;
}

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

.trojan-service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trojan-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.trojan-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.trojan-service-card p {
    color: #4a5568;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.trojan-service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.trojan-service-link {
    display: inline-block;
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.trojan-service-link:hover {
    color: #1d4ed8;
}

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

/* Subscriptions Section */
.trojan-subscriptions {
    padding: 5rem 0;
    background: #ffffff;
}

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

.trojan-plan-card {
    background: #f9fafb;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.trojan-plan-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.trojan-plan-card.trojan-plan-featured {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
}

.trojan-plan-card.trojan-plan-featured h3,
.trojan-plan-card.trojan-plan-featured .trojan-plan-price {
    color: #ffffff;
}

.trojan-plan-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.trojan-plan-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.trojan-plan-currency {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.trojan-plan-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #2563eb;
    color: #ffffff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.trojan-plan-button:hover {
    background: #1d4ed8;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.trojan-plan-card.trojan-plan-featured .trojan-plan-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.trojan-plan-card.trojan-plan-featured .trojan-plan-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.trojan-plan-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    padding: 0.375rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Plan-specific badge colors */
.trojan-plan-badge-bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #cd7f32;
    border: 1px solid rgba(205, 127, 50, 0.3);
}

.trojan-plan-badge-silver {
    background: rgba(192, 192, 192, 0.15);
    color: #c0c0c0;
    border: 1px solid rgba(192, 192, 192, 0.3);
}

.trojan-plan-badge-gold {
    background: rgba(255, 215, 0, 0.15);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.trojan-plan-badge-featured {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #fbbf24;
    color: #1a1a1a;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.trojan-plan-card {
    position: relative;
}

.trojan-plan-features-mini {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
    text-align: right;
}

.trojan-plan-features-mini li {
    padding: 0.5rem 0;
    font-weight: 600;
    color: #4a5568;
    font-size: 0.9375rem;
    position: relative;
    padding-right: 1.5rem;
}

.trojan-plan-features-mini li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #059669;
    font-weight: 700;
}

.trojan-plan-card.trojan-plan-featured .trojan-plan-features-mini li {
    color: rgba(255, 255, 255, 0.9);
}

.trojan-plan-card.trojan-plan-featured .trojan-plan-features-mini li::before {
    color: #ffffff;
}

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

/* CTA Section */
.trojan-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
}

.trojan-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-align: center;
}

.trojan-cta-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-align: center;
}

.trojan-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.trojan-cta-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.trojan-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trojan-cta-button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.trojan-cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Why Choose Us Section */
.trojan-why-us {
    padding: 5rem 0;
    background: #ffffff;
}

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

.trojan-feature-item {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trojan-feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.trojan-feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    background: #d1fae5;
    color: #065f46;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.trojan-feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.trojan-feature-item p {
    color: #4a5568;
    font-weight: 600;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .trojan-hero {
        min-height: 60vh;
        padding: 2rem 1rem;
        margin-top: -64px;
        padding-top: calc(64px + 2rem);
    }
    
    .trojan-hero-title {
        font-size: 2.25rem;
    }
    
    .trojan-hero-subtitle {
        font-size: 1.125rem;
    }
    
    .trojan-section-title {
        font-size: 2rem;
    }
    
    .trojan-services-grid,
    .trojan-plans-grid {
        grid-template-columns: 1fr;
    }
    
    .trojan-container {
        padding: 0 1rem;
    }
    
    .trojan-services,
    .trojan-subscriptions,
    .trojan-cta {
        padding: 3rem 0;
    }
}

