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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 25%, #FF6B35 50%, #F7931E 75%, #FFD700 100%);
    background-size: 400% 400%;
    animation: gleefulGradient 8s ease infinite;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow-x: hidden;
}

@keyframes gleefulGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 136, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Center all sections and content */
section {
    text-align: center;
}

section h2 {
    text-align: center;
}

section h3 {
    text-align: center;
}

section h4 {
    text-align: center;
}

section p {
    text-align: center;
}

section ul {
    text-align: center;
    list-style-position: inside;
}

section li {
    text-align: center;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 2rem; /* Reduced from 6rem to match original code */
    text-align: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
    background: none;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gleefulText 3s ease-in-out infinite;
    position: relative;
}

@keyframes gleefulText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4), 0 0 30px rgba(255, 165, 0, 0.3);
    border: 2px solid rgba(255, 215, 0, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6), 0 0 40px rgba(255, 165, 0, 0.5);
    background: linear-gradient(135deg, #FFE55C 0%, #FFB84D 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #00FF88 0%, #32CD32 100%);
    color: white;
    border: 2px solid rgba(0, 255, 136, 0.5);
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4), 0 0 30px rgba(50, 205, 50, 0.3);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary::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.6s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.6), 0 0 40px rgba(50, 205, 50, 0.5);
    background: linear-gradient(135deg, #33FF99 0%, #66FF66 100%);
}

.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Content Sections */
section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.3), 0 10px 25px rgba(0, 0, 0, 0.15);
}

section h2 {
    color: #FFD700;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gleefulText 4s ease-in-out infinite;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

section p:last-child {
    margin-bottom: 0;
}

/* Feature Details */
.feature-detail {
    text-align: center;
}

.feature-detail h3 {
    color: #667eea;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.feature-detail h4 {
    color: #333;
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    text-align: center;
}

.feature-detail ul {
    margin: 1rem 0;
    text-align: center;
    list-style-position: inside;
}

.feature-detail li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
    text-align: center;
}

.feature-detail strong {
    color: #667eea;
}

/* Advantage Grid */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    text-align: center;
}

.advantage-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.advantage-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: center;
}

.step {
    background: #f0f4ff;
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #e0e8ff;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: center;
}

.step p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

footer p {
    font-size: 1.2rem; /* Base size increased by 20% */
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        white-space: nowrap;
    }

    section {
        padding: 2rem 1.5rem;
        margin: 1rem 0;
    }

    section h2 {
        font-size: 1.8rem;
        white-space: normal;
    }
    
    section p {
        text-align: center;
    }
    
    .feature-detail {
        text-align: center;
    }
    
    .feature-detail h3 {
        text-align: center;
    }
    
    .feature-detail h4 {
        text-align: center;
    }
    
    .feature-detail p {
        text-align: center;
    }
    
    .feature-detail strong {
        text-align: center;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .advantage-card {
        padding: 1.5rem;
        text-align: center;
        border-left: none;
        border-top: 4px solid #667eea;
    }
    
    .advantage-card h3 {
        text-align: center;
    }
    
    .advantage-card p {
        text-align: center;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .step {
        padding: 1.5rem;
        text-align: center;
    }
    
    .step h4 {
        text-align: center;
    }
    
    .step p {
        text-align: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .feature-detail ul {
        margin: 1rem 0;
        text-align: center;
        list-style-position: inside;
    }
    
    /* Make all h3 and h4 headings centered in mobile */
    section h3, section h4 {
        text-align: center;
    }
    
    footer p {
        white-space: nowrap;
        font-size: 1.08rem; /* 0.9rem increased by 20% */
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

    .hero h1 {
        font-size: 1.8rem; /* Updated to match download page */
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    section {
        padding: 1.5rem 1rem;
    }

    .advantage-card,
    .step {
        padding: 1rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .feature-detail h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .feature-detail h4 {
        font-size: 1.1rem;
        text-align: center;
    }
    
    footer p {
        white-space: nowrap;
        font-size: 0.96rem; /* 0.8rem increased by 20% */
    }
}

/* Small Phones: 360px and below */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.6rem; /* Match download page */
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    section {
        padding: 1.5rem 0.8rem;
    }
    
    footer p {
        white-space: nowrap;
        font-size: 0.9rem; /* 0.75rem increased by 20% */
    }
}
