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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #ffffff;
}

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

/* Header */
.header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo-img {
    height: 80px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #3498db;
}

/* Buttons */
.btn-primary {
    background: #3498db;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #3498db;
}

.btn-primary:hover {
    background: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-primary.large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-outline {
    background: transparent;
    color: #3498db;
    padding: 12px 24px;
    border: 2px solid #3498db;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
}

.btn-outline.large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
    padding: 120px 0 80px;
    margin-top: 70px;
}

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

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #5a6c7d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

/* Image Placeholders */
.placeholder-img,
.placeholder-img-small {
    display: none;
}

.image-placeholder {
    background: #e9ecef;
    border: 2px dashed #adb5bd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
    min-height: 400px;
}

.hero-image-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.affiliate-image-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-placeholder {
    background: #e9ecef;
    border: 2px dashed #adb5bd;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 12px;
    margin: 0 auto 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #ffffff;
}

.services h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%);
}

.pricing h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
}

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

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.pricing-card.popular {
    border: 3px solid #3498db;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #3498db;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.price {
    margin-bottom: 15px;
}

.currency {
    font-size: 20px;
    color: #3498db;
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 700;
    color: #3498db;
}

.period {
    font-size: 16px;
    color: #5a6c7d;
}

.plan-savings {
    color: #27ae60;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    color: #2c3e50;
    font-weight: 500;
    font-size: 15px;
}

.features-list li:before {
    color: #27ae60;
    margin-right: 12px;
    font-weight: bold;
}

.trial-note {
    margin-top: 15px;
    color: #5a6c7d;
    font-size: 13px;
}

.pricing-footer {
    text-align: center;
    margin-top: 40px;
    color: #5a6c7d;
    font-size: 16px;
}

/* Affiliate Section */
.affiliate {
    padding: 80px 0;
    background: #ffffff;
}

.affiliate h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
}

.affiliate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.affiliate-info h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.affiliate-info p {
    font-size: 18px;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 40px;
}

.affiliate-benefits {
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    font-size: 32px;
    min-width: 40px;
}

.benefit-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.benefit-item p {
    color: #5a6c7d;
    font-size: 16px;
    margin-bottom: 0;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 60px;
}

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

.faq-item {
    background: #f8fafc;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.faq-item p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    font-size: 24px;
}

.contact-form .image-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .affiliate-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .amount {
        font-size: 48px;
    }
}

/* Payment Form Styles */
.payment-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.payment-summary h3 {
    margin-bottom: 1rem;
    color: #2d3748;
}

.plan-details h4 {
    color: #3498db;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.plan-billing {
    color: #6c757d;
    font-size: 0.9rem;
}

.payment-form {
    margin-bottom: 2rem;
}

#card-element {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 1rem;
}

#card-errors {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Discount Code Styles */
.discount-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

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

.discount-input-group input {
    flex: 1;
}

.discount-input-group .btn-outline.small {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.discount-message {
    min-height: 1.5rem;
    font-size: 0.9rem;
}

.discount-message .success {
    color: #28a745;
    font-weight: 500;
}

.discount-message .error {
    color: #e74c3c;
    font-weight: 500;
}

.discount-message .loading {
    color: #6c757d;
    font-style: italic;
}

.discount-applied {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.discount-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.discount-label {
    font-weight: 600;
    color: #155724;
    font-size: 0.9rem;
}

.discount-details {
    color: #155724;
    font-size: 0.9rem;
}

.remove-discount {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.remove-discount:hover {
    background: #c82333;
}

/* Plan Selection Layout - Override portal.css */
.plan-selection {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto 30px auto !important;
}

.plan-card {
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    padding: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    background: white !important;
}

.plan-card:hover {
    border-color: #3498db !important;
    background: #f8fafc !important;
}

.plan-card.selected {
    border-color: #3498db !important;
    background: #f8fafc !important;
}

.plan-card.popular {
    border-color: #3498db !important;
    background: #f8fafc !important;
}

.plan-card .popular-badge {
    position: absolute !important;
    top: -10px !important;
    right: 20px !important;
    background: #3498db !important;
    color: white !important;
    padding: 5px 15px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}