/* Forex Copy Trading - Professional A4-Optimized CSS */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #00ff88;
    --primary-red: #ff4757;
    --dark-bg: #1a1a2e;
    --light-bg: #16213e;
    --gold: #ffd700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-profit: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-danger: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--gradient-primary);
    overflow-x: hidden;
}

/* Modern container - minimal changes to preserve design */
.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    position: relative;
    border: none;
    margin-bottom: 0;
}

.page-container:last-child {
    margin-bottom: 0;
}

.page-number {
    position: absolute;
    bottom: 5mm;
    right: 10mm;
    font-size: 12px;
    color: #666;
}

/* PDF Download Button */
.pdf-download-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--gradient-danger);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    transition: transform 0.3s ease;
}

.pdf-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

/* Header Styles */
.header {
    background: var(--gradient-primary);
    padding: 1rem 0;
    text-align: center;
    color: white;
    border-bottom: 3px solid var(--primary-green);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
    animation: text-glow 2s ease-in-out infinite alternate;
}

.header h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: slide-shine 3s ease-in-out infinite;
}

.header .subtitle {
    font-size: 1.2rem;
    color: var(--gold);
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: var(--gradient-profit);
    padding: 3rem 1rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,215,0,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,255,136,0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,71,87,0.3) 0%, transparent 50%);
    animation: background-shift 6s ease-in-out infinite;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .highlight {
    color: var(--gold);
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.4);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: var(--gradient-danger);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
}

/* Tutorial Section */
.tutorial-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 3rem 1rem;
    color: white;
}

.tutorial-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-green);
}

/* Tutorial main heading - special styling for web */
.tutorial-main-heading {
    color: #ffd700 !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid #ffd700;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tutorial-step {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-green);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.tutorial-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,136,0.2), transparent);
    animation: slide-shine 3s ease-in-out infinite;
}

.tutorial-step h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.tutorial-step p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: var(--gradient-primary);
    padding: 3rem 1rem;
    text-align: center;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: rgba(255,255,255,0.1);
    padding: 2rem 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.stat-number.counting {
    animation: bounce 0.1s ease-in-out infinite alternate;
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gold);
}

/* Investment Details */
.investment-section {
    background: var(--gradient-danger);
    padding: 3rem 1rem;
    color: white;
    text-align: center;
}

.investment-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--gold);
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.investment-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid var(--gold);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,71,87,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.investment-card:hover::before {
    opacity: 1;
}

.investment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.investment-card h3 {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Proof Section */
.proof-section {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 3rem 1rem;
    color: white;
    text-align: center;
}

.proof-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.proof-item {
    background: rgba(255,255,255,0.9);
    padding: 2rem;
    border-radius: 15px;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.proof-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.profit-amount {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.profit-amount::after {
    content: '💰';
    position: absolute;
    right: -30px;
    top: 0;
    animation: bounce-money 1s ease-in-out infinite;
}

@keyframes bounce-money {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Footer */
.footer {
    background: var(--dark-bg);
    padding: 2rem 1rem;
    text-align: center;
    color: white;
    border-top: 3px solid var(--primary-green);
}

.contact-info {
    margin-bottom: 1rem;
}

.contact-info h3 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-item {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Enhanced Aggressive Design Elements */

/* Glowing effect for important elements */
.glow {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
    to {
        box-shadow: 0 0 20px #00ff88, 0 0 30px #00ff88, 0 0 40px #00ff88;
    }
}

/* Money rain animation */
.money-rain {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    color: #ffd700;
    animation: fall 3s linear infinite;
    pointer-events: none;
}

@keyframes fall {
    from {
        transform: translateY(-100vh);
        opacity: 1;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Floating profits animation */
.floating-profit {
    position: absolute;
    color: #00ff88;
    font-weight: bold;
    font-size: 1.2rem;
    animation: float-up 2s ease-out forwards;
    pointer-events: none;
}

@keyframes float-up {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Enhanced button effects */
.cta-button {
    position: relative;
    overflow: hidden;
}

/* Investment card hover effects */
.investment-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.investment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,71,87,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.investment-card:hover::before {
    opacity: 1;
}

.investment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Proof section enhanced effects */
.proof-item {
    transition: all 0.3s ease;
    position: relative;
}

.proof-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.profit-amount {
    position: relative;
    display: inline-block;
}

.profit-amount::after {
    content: '💰';
    position: absolute;
    right: -30px;
    top: 0;
    animation: bounce-money 1s ease-in-out infinite;
}

@keyframes bounce-money {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Enhanced page containers - restore original */
.page-container {
    position: relative;
    border: none;
    background: transparent;
}

.page-container::before {
    display: none;
}

@keyframes border-rotate {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* Tutorial step enhanced effects */
.tutorial-step {
    position: relative;
    overflow: hidden;
}

.tutorial-step::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,255,136,0.2), transparent);
    animation: slide-shine 3s ease-in-out infinite;
}

@keyframes slide-shine {
    0%, 100% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
}

/* Header enhanced glow effect */
.header h1 {
    position: relative;
    animation: text-glow 2s ease-in-out infinite alternate;
}

@keyframes text-glow {
    from {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 10px #00ff88;
    }
    to {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3), 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
}

/* Hero section enhanced background */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,215,0,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,255,136,0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255,71,87,0.3) 0%, transparent 50%);
    animation: background-shift 6s ease-in-out infinite;
}

@keyframes background-shift {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* New Aggressive Zero Fee Section Animations */

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glow-green {
    from {
        text-shadow: 0 0 5px #00ff88, 0 0 10px #00ff88;
        transform: scale(1);
    }
    to {
        text-shadow: 0 0 10px #00ff88, 0 0 20px #00ff88, 0 0 30px #00ff88;
        transform: scale(1.05);
    }
}

@keyframes emotional-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes float-up-sad {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) rotate(15deg);
    }
}

@keyframes job-sad {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(0.7);
    }
}

@keyframes bot-success {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

@keyframes popup-show {
    0% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

/* PDF-specific styles */
.pdf-download-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00ff88, #38ef7d);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
    transition: all 0.3s ease;
}

.pdf-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.pdf-download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* PDF-specific styles - Hide page numbers and fix backgrounds */
.pdf-mode .page-number {
    display: none !important;
}

.pdf-mode .page-container {
    background: transparent !important;
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 20px !important;
}

.pdf-mode .page-container::before {
    display: none !important;
}

/* Ensure content is visible in PDF */
.pdf-mode * {
    visibility: visible !important;
}

.pdf-mode .hero-section,
.pdf-mode .tutorial-section,
.pdf-mode .cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.pdf-mode h1, .pdf-mode h2, .pdf-mode h3, .pdf-mode h4, .pdf-mode h5, .pdf-mode h6 {
    color: inherit !important;
}

.pdf-mode p, .pdf-mode div, .pdf-mode span {
    color: inherit !important;
}

/* Print Styles for A4 PDF */
@media print {
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
    
    body {
        background: white !important;
        color: black !important;
        margin: 0 !important;
        padding: 5mm !important;
        font-family: Arial, sans-serif !important;
        width: 100% !important;
        max-width: none !important;
        position: static !important;
        left: 0 !important;
        top: 0 !important;
    }
    
    /* Override all inline styles for PDF */
    body * {
        background: white !important;
        color: black !important;
    }
    
    /* Remove page containers for print - let content flow naturally */
    .page-container {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 5mm !important;
        box-shadow: none !important;
        border: none !important;
        page-break-after: auto !important;
        background: white !important;
        position: static !important;
        left: 0 !important;
        right: 0 !important;
    }
    
    .page-container:last-child {
        page-break-after: auto !important;
    }
    
    /* Hide page numbers in print */
    .page-number {
        display: none !important;
    }
    
    .pdf-download-btn {
        display: none !important;
    }
    
    /* Force clean backgrounds for all elements - with better contrast */
    div, section, header, footer, p, h1, h2, h3, h4, h5, h6, span, button {
        background: white !important;
        color: black !important;
        border: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Special styling for headings to make them stand out */
    h1 {
        background: #333333 !important;
        color: white !important;
        padding: 5mm !important;
        font-size: 18pt !important;
        font-weight: bold !important;
        text-align: center !important;
        margin: 3mm 0 !important;
    }
    
    h2 {
        background: #666666 !important;
        color: white !important;
        padding: 3mm !important;
        font-size: 16pt !important;
        font-weight: bold !important;
        margin: 3mm 0 !important;
    }
    
    h3 {
        background: #f0f0f0 !important;
        color: black !important;
        padding: 2mm !important;
        font-size: 14pt !important;
        font-weight: bold !important;
        margin: 2mm 0 !important;
        border-left: 4px solid #333 !important;
    }
    
    /* Ensure sections flow naturally */
    .hero,
    .tutorial-section,
    .stats-section,
    .investment-section,
    .proof-section {
        background: white !important;
        color: black !important;
        margin: 5mm 0 !important;
        padding: 5mm 0 !important;
        page-break-inside: auto !important;
    }
    
    /* Force page breaks where needed */
    .tutorial-section {
        page-break-before: always !important;
    }
    
    .stats-section {
        page-break-before: auto !important;
    }
    
    .investment-section {
        page-break-before: auto !important;
    }
    
    .proof-section {
        page-break-before: auto !important;
    }
    
    /* Header styling for PDF */
    .header {
        background: white !important;
        color: black !important;
        text-align: center !important;
        border-bottom: 2px solid #000 !important;
        margin: 0 !important;
        padding: 5mm 0 !important;
    }
    
    .header h1 {
        font-size: 24pt !important;
        font-weight: bold !important;
        margin: 0 !important;
        color: black !important;
        background: white !important;
    }
    
    .header .subtitle {
        font-size: 14pt !important;
        color: #666 !important;
        margin: 2mm 0 0 0 !important;
    }
    
    /* Hero section for PDF */
    .hero {
        text-align: center !important;
        padding: 5mm 0 !important;
        margin: 3mm 0 !important;
    }
    
    .hero-content h2 {
        font-size: 20pt !important;
        font-weight: bold !important;
        margin: 3mm 0 !important;
        color: black !important;
        background: white !important;
        text-align: center !important;
    }
    
    /* Force all headings to be black on white */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        background: white !important;
        font-weight: bold !important;
        margin: 3mm 0 2mm 0 !important;
        padding: 0 !important;
        text-shadow: none !important;
        border: none !important;
    }
    
    h1 { font-size: 24pt !important; }
    h2 { font-size: 18pt !important; }
    h3 { font-size: 14pt !important; }
    h4 { font-size: 12pt !important; }
    
    /* Paragraph and content styling for better readability */
    p {
        font-size: 12pt !important;
        line-height: 1.5 !important;
        margin: 3mm 0 !important;
        color: black !important;
        background: white !important;
    }
    
    /* Important text highlighting */
    strong, b {
        font-weight: bold !important;
        color: black !important;
    }
    
    /* Emojis and special characters */
    span[style*="color"] {
        background: #ffffcc !important;
        color: black !important;
        font-weight: bold !important;
        padding: 1mm !important;
    }
    
    /* Button styling for PDF */
    button, .cta-button {
        background: #e0e0e0 !important;
        color: black !important;
        border: 2px solid #333 !important;
        padding: 3mm 5mm !important;
        font-size: 12pt !important;
        font-weight: bold !important;
        margin: 3mm 0 !important;
        display: block !important;
        text-align: center !important;
        width: auto !important;
        max-width: 200mm !important;
    }
    
    /* Grid layouts for PDF */
    .tutorial-grid,
    .stats-grid,
    .investment-grid,
    .proof-grid,
    div[style*="grid"] {
        display: block !important;
        margin: 3mm 0 !important;
    }
    
    .tutorial-grid > *,
    .stats-grid > *,
    .investment-grid > *,
    .proof-grid > *,
    div[style*="grid"] > * {
        display: block !important;
        margin: 2mm 0 !important;
        padding: 3mm !important;
        border: 1px solid #ccc !important;
        background: white !important;
        color: black !important;
        page-break-inside: avoid !important;
    }
    
    /* Footer styling */
    .footer {
        background: white !important;
        color: black !important;
        border-top: 2px solid #000 !important;
        margin: 5mm 0 0 0 !important;
        padding: 3mm 0 !important;
        text-align: center !important;
    }
    
    /* Contact info styling */
    .contact-item {
        font-size: 10pt !important;
        margin: 1mm 0 !important;
        color: black !important;
    }
    
    /* Ensure office address stays on one line */
    .contact-item[style*="white-space"] {
        white-space: nowrap !important;
        font-size: 10pt !important;
    }
    
    /* Remove all animations and transitions */
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    /* Remove all positioning */
    * {
        position: static !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure proper page breaks */
    .tutorial-section {
        page-break-before: auto !important;
    }
    
    /* Force all special styled divs to be clean */
    div[style] {
        background: white !important;
        color: black !important;
        border: 1px solid #ddd !important;
        padding: 3mm !important;
        margin: 2mm 0 !important;
        border-radius: 2mm !important;
    }
    
    /* Override any gradient or colored backgrounds */
    div[style*="background"],
    div[style*="linear-gradient"],
    section[style*="background"] {
        background: white !important;
        color: black !important;
        border: 1px solid #ccc !important;
        padding: 3mm !important;
        margin: 2mm 0 !important;
    }
    
    /* Special handling for breaking news and offer boxes */
    div[style*="rgba"] {
        background: #f5f5f5 !important;
        border: 3px solid #333 !important;
        padding: 5mm !important;
        margin: 5mm 0 !important;
    }
    
    /* Highlighted content boxes */
    div[style*="rgba(0,0,0"] {
        background: #e8e8e8 !important;
        border: 2px solid #000 !important;
        padding: 4mm !important;
        margin: 3mm 0 !important;
    }
    
    div[style*="rgba(255,255,255"] {
        background: #f9f9f9 !important;
        border: 2px solid #666 !important;
        padding: 4mm !important;
        margin: 3mm 0 !important;
    }
    
    /* Ensure content takes up proper space */
    .hero-content {
        min-height: 100mm !important;
        page-break-after: auto !important;
    }
    
    .tutorial-grid {
        min-height: 150mm !important;
    }
    
    /* Force natural page breaks */
    .page-container {
        page-break-after: auto !important;
        min-height: 200mm !important;
    }
}

/* Immediate White Text Color for Trading Reality Check Section */
div[style*="TRADING REALITY CHECK"] * {
    color: #ffffff !important;
    transition: none !important;
}

div[style*="TRADING REALITY CHECK"] h3,
div[style*="TRADING REALITY CHECK"] h4 {
    color: #ffffff !important;
}

div[style*="TRADING REALITY CHECK"] span[style*="color: #ffeb3b"] {
    color: #ffeb3b !important;
}

div[style*="TRADING REALITY CHECK"] p,
div[style*="TRADING REALITY CHECK"] li {
    color: #ffffff !important;
    transition: none !important;
}

/* Ensure highlights stay yellow */
div[style*="TRADING REALITY CHECK"] span[style*="font-weight: bold"] {
    color: #ffeb3b !important;
}

/* Force white text in all trading cards */
.trading-card, .trading-card * {
    color: #ffffff !important;
    transition: none !important;
}

/* Override any delayed CSS loading */
body * {
    transition: none !important;
}

body.loaded * {
    transition: all 0.3s ease !important;
}
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.counter {
    display: inline-block;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Ultra-Aggressive Emergency Section Animations */

/* Flashing alert background */
@keyframes flash-alert {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

/* Urgent glow effect */
@keyframes urgent-glow {
    0% {
        text-shadow: 0 0 20px #ff4757, 0 0 40px #ff4757;
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 30px #ff4757, 0 0 60px #ff4757, 0 0 80px #ff4757;
        transform: scale(1.02);
    }
}

/* Urgent pulse for CTA button */
@keyframes urgent-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(255, 71, 87, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

/* Countdown timer animations */
@keyframes countdown-blink {
    0%, 50% {
        background: #000;
        color: #00ff88;
    }
    51%, 100% {
        background: #ff4757;
        color: #fff;
    }
}

/* Emergency border glow */
@keyframes emergency-border {
    0% {
        border-color: #ffd700;
        box-shadow: 0 0 10px #ffd700;
    }
    50% {
        border-color: #ff4757;
        box-shadow: 0 0 20px #ff4757;
    }
    100% {
        border-color: #ffd700;
        box-shadow: 0 0 10px #ffd700;
    }
}

/* Shake animation for urgent elements */
@keyframes shake-urgent {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Success story fade in */
@keyframes success-fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Live feed animation */
@keyframes live-feed-scroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

/* Emergency warning blink */
@keyframes warning-blink {
    0%, 50% {
        background: rgba(255, 71, 87, 0.2);
        color: #ff4757;
    }
    51%, 100% {
        background: rgba(255, 215, 0, 0.2);
        color: #ffd700;
    }
}

/* Aggressive CTA hover effects */
.cta-button:hover {
    animation: shake-urgent 0.5s ease-in-out, urgent-pulse 1s ease-in-out infinite;
}

/* Emergency section responsive styles */
@media (max-width: 768px) {
    .emergency-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .countdown-timer {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .urgent-text {
        font-size: 1.5rem !important;
    }
}

/* Responsive design for modern layout */
@media (max-width: 1200px) {
    .page-container {
        max-width: 1000px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-container {
        max-width: 100%;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 0 5px;
    }
}

/* Print-specific emergency styles */
@media print {
    .flash-alert,
    .urgent-glow,
    .urgent-pulse {
        animation: none !important;
    }
    
    .emergency-section {
        background: #ff4757 !important;
        color: white !important;
    }
}

/* Missing animations for JavaScript effects */
@keyframes fall {
    from {
        transform: translateY(-100vh);
        opacity: 1;
    }
    to {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes float-up {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100px);
        opacity: 0;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px #00ff88;
    }
    to {
        box-shadow: 0 0 20px #00ff88, 0 0 30px #00ff88;
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

@keyframes emotional-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes job-sad {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(0.7);
    }
}

@keyframes bot-success {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

@keyframes popup-show {
    0% {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    80% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-100px);
        opacity: 0;
    }
}

/* Hero section specific styling */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 40px 20px;
}

.hero-section h1, .hero-section h2, .hero-section p, .hero-section div, .hero-section span {
    color: white !important;
}
