/* SafeCalc Page Styles */
.safecalc-hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.hero-title .gradient-text {
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4d9de0);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-badges .badge {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
}

.badge-ios {
    background: linear-gradient(45deg, #007aff, #5856d6);
    color: white;
}

.badge-swift {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
}

.badge-secret {
    background: linear-gradient(45deg, #6bcf7f, #4d9de0);
    color: white;
}

.badge-calc {
    background: linear-gradient(45deg, #ffd93d, #ff6b6b);
    color: #000;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.app-preview {
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app-preview:hover {
    transform: translateY(-10px);
}

/* Features Section */
.features-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    animation-play-state: paused;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #ffd93d;
}

.feature-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.feature-img {
    max-width: 120px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-card p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    color: #ddd;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6bcf7f;
    font-weight: bold;
}

/* How to Use Section */
.how-to-use-section {
    padding: 5rem 0;
}

.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.how-to-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #3d3d3d 0%, #4d4d4d 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    animation-play-state: paused;
}

.how-to-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.how-to-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.how-to-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.how-to-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Project Structure Section */
.project-structure-section {
    padding: 5rem 0;
}

.structure-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.structure-item {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    animation-play-state: paused;
}

.structure-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.structure-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.structure-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.structure-item p {
    color: #ccc;
    line-height: 1.6;
}

/* System Requirements Section */
.system-requirements-section {
    padding: 5rem 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.requirement-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #3d3d3d 0%, #4d4d4d 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    animation-play-state: paused;
}

.requirement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.requirement-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.requirement-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.requirement-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Future Features Section */
.future-features-section {
    padding: 5rem 0;
}

.future-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.future-feature-item {
    background: linear-gradient(135deg, #2d2d2d 0%, #3d3d3d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    animation-play-state: paused;
}

.future-feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.future-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.future-feature-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.future-feature-item p {
    color: #ccc;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-outline-primary {
    color: #ffd93d;
    border-color: #ffd93d;
    background: transparent;
}

.btn-outline-primary:hover {
    background: #ffd93d;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 217, 61, 0.3);
}

.btn-outline {
    color: #6bcf7f;
    border-color: #6bcf7f;
    background: transparent;
}

.btn-outline:hover {
    background: #6bcf7f;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(107, 207, 127, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .how-to-grid {
        grid-template-columns: 1fr;
    }
    
    .structure-timeline {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .future-features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-badges .badge {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .feature-card,
    .how-to-item,
    .structure-item,
    .requirement-item,
    .future-feature-item {
        padding: 1.5rem;
    }
}
