/**
 * Premium Homepage Styles
 * Million-dollar design enhancements
 */

/* ===== Premium Hero Section ===== */
.hero-premium {
    position: relative;
    background: linear-gradient(135deg, #0F1F3D 0%, #2B4C7E 50%, #4169B5 100%);
    padding: 80px 0 100px;
    overflow: hidden;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgb(255,255,255);stop-opacity:0.05" /><stop offset="100%" style="stop-color:rgb(255,255,255);stop-opacity:0" /></linearGradient></defs><circle cx="200" cy="100" r="300" fill="url(%23grad)"/><circle cx="800" cy="400" r="400" fill="url(%23grad)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 140, 66, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

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

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF8C42 0%, #E67C35 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.95);
    margin-bottom: 32px;
}

.hero-subtitle strong {
    color: #FF8C42;
    font-weight: 700;
}

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

.hero-stats-inline .stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stats-inline .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FF8C42;
    line-height: 1;
}

.hero-stats-inline .stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    margin-top: 8px;
}

.hero-cta-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-xxl {
    padding: 22px 44px;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Hero Images */
.hero-images {
    position: relative;
}

.hero-image-primary {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-image-primary img {
    width: 100%;
    height: auto;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    color: #2B4C7E;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-advisor-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.advisor-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advisor-card:hover {
    transform: translateY(-4px);
}

.advisor-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.advisor-info h4 {
    font-size: 1rem;
    margin: 0;
    color: #2B4C7E;
}

.advisor-info p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
}

/* ===== Trust Bar ===== */
.trust-bar {
    background: white;
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 12px;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.trust-item strong {
    display: block;
    color: #2B4C7E;
    margin-bottom: 4px;
}

.trust-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* ===== Explainer Section ===== */
.explainer-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header .lead {
    font-size: 1.25rem;
    color: #666;
}

.explainer-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

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

.explainer-card.reverse {
    direction: rtl;
}

.explainer-card.reverse > * {
    direction: ltr;
}

.explainer-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.explainer-image img {
    width: 100%;
    height: auto;
    display: block;
}

.explainer-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.explainer-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 12px 0;
    font-size: 1.0625rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.stat-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.stat-comp-item {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.stat-comp-item.bad {
    background: #FEE;
    border: 2px solid #DC3545;
}

.stat-comp-item.good {
    background: #E8F5E9;
    border: 2px solid #28A745;
}

.comp-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #666;
}

.comp-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
}

.stat-comp-item.bad .comp-value {
    color: #DC3545;
}

.stat-comp-item.good .comp-value {
    color: #28A745;
}

.tax-comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.tax-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    text-align: center;
}

.tax-item.highlight {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    border-color: #28A745;
}

.tax-item h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: #2B4C7E;
}

.big-red {
    font-size: 2rem;
    font-weight: 800;
    color: #DC3545;
    margin: 12px 0;
}

.big-green {
    font-size: 2rem;
    font-weight: 800;
    color: #28A745;
    margin: 12px 0;
}

.small {
    font-size: 0.9rem;
    color: #666;
}

/* ===== Dark Section ===== */
.section-dark {
    background: linear-gradient(135deg, #0F1F3D 0%, #2B4C7E 100%);
    color: white;
    padding: 100px 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-dark .lead {
    color: rgba(255,255,255,0.9);
}

.two-col-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.two-col-visual.reverse {
    direction: rtl;
}

.two-col-visual.reverse > * {
    direction: ltr;
}

.visual-content img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.img-shadow {
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.choice-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
}

.choice-card {
    background: rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.2);
}

.choice-card.highlight-card {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FF8C42;
}

.choice-card h4 {
    margin-bottom: 12px;
}

.danger {
    color: #FF6B6B;
    font-weight: 700;
    margin-top: 12px;
}

.success {
    color: #51CF66;
    font-weight: 700;
    margin-top: 12px;
}

/* ===== Examples Section ===== */
.example-showcase {
    margin-top: 60px;
}

.example-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.example-card.featured {
    border: 3px solid #FF8C42;
}

.example-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.example-content {
    padding: 40px;
}

.example-badge {
    display: inline-block;
    background: #FF8C42;
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.example-content h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.example-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 32px 0;
    padding: 24px;
    background: #F5F7FA;
    border-radius: 12px;
}

.example-stat {
    text-align: center;
}

.example-stat.highlight {
    background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
    padding: 12px;
    border-radius: 8px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #2B4C7E;
}

.example-stat.highlight .stat-value {
    color: #28A745;
}

/* ===== How It Works Steps ===== */
.how-it-works-steps {
    margin: 32px 0;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.step-item:last-child {
    border-bottom: none;
}

.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #FF8C42;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.step-content h4 {
    margin-bottom: 8px;
    color: white;
}

.step-content p {
    color: rgba(255,255,255,0.85);
}

/* ===== Comparison CTA Section ===== */
.comparison-cta-box {
    background: linear-gradient(135deg, #F5F7FA 0%, #E8EFF5 100%);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}

.comparison-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.comparison-link-card {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comparison-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF8C42 0%, #E67C35 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.comparison-link-card:hover::before {
    transform: scaleX(1);
}

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

.comparison-link-card h4 {
    color: #2B4C7E;
    margin-bottom: 12px;
}

.comparison-link-card p {
    color: #666;
    margin-bottom: 16px;
}

.link-arrow {
    color: #FF8C42;
    font-size: 1.5rem;
    font-weight: 800;
}

/* ===== Final CTA Section ===== */
.final-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2B4C7E 0%, #4169B5 100%);
}

.final-cta-box {
    text-align: center;
    color: white;
}

.final-cta-box h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 24px;
}

.final-cta-box .lead {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 48px;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 16px;
    border-radius: 12px;
}

.cta-feature span {
    color: white;
    font-size: 0.95rem;
}

.cta-buttons-final {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.cta-disclaimer {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-grid,
    .explainer-card,
    .two-col-visual,
    .example-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats-inline {
        flex-wrap: wrap;
    }

    .trust-items,
    .comparison-links,
    .cta-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .example-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-cta-buttons {
        flex-direction: column;
    }

    .trust-items,
    .comparison-links,
    .cta-features,
    .example-stats {
        grid-template-columns: 1fr;
    }

    .btn-xl,
    .btn-xxl {
        width: 100%;
        justify-content: center;
    }

    .final-cta-box h2 {
        font-size: 2rem;
    }

    .cta-buttons-final {
        flex-direction: column;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.explainer-card,
.example-card,
.comparison-link-card {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Utility Classes ===== */
.btn-outline {
    background: transparent;
    border: 2px solid #2B4C7E;
    color: #2B4C7E;
}

.btn-outline:hover {
    background: #2B4C7E;
    color: white;
}

.section-alt {
    background: #F5F7FA;
}


/* ==========================================
   ENHANCED VIDEO PLAYER STYLES
   Professional video controls with thumbnail
   ========================================== */

.enhanced-video-container {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: #000;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

/* Video Thumbnail */
.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: opacity 0.4s ease;
}

/* Large Play Button Overlay */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FF8C42 0%, #ff7620 100%);
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(255, 140, 66, 0.7);
}

.video-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

/* Vimeo iframe */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
}

/* Video Controls Bar */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    display: none;
    z-index: 4;
    transition: opacity 0.3s ease;
}

.video-controls-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 500px;
}

/* Control Buttons */
.video-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: white;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.video-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.video-control-btn:active {
    transform: scale(0.95);
}

/* Volume Slider */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF8C42;
    cursor: pointer;
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.8);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FF8C42;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 140, 66, 0.8);
}

/* Badge */
.video-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .video-play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
        border-width: 3px;
    }
    
    .video-controls {
        padding: 15px;
    }
    
    .video-control-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .video-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
