﻿/* Custom CSS for Instagram Secrets Website */

/* === ROOT VARIABLES === */
:root {
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f7931e 25%, #e91e63 75%, #9c27b0 100%);
    --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --color-primary: #ff6b35;
    --color-secondary: #e91e63;
    --color-accent: #9c27b0;
    --color-dark: #2c3e50;
    --color-light: #f8f9fa;
    --color-muted: #6c757d;
    --font-primary: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* === GLOBAL STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 800;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* === GRADIENT TEXT === */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* === BUTTONS === */
.btn-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    display: inline-block;
}

    .btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
        color: white;
    }

    .btn-gradient:nav-link {
        transform: translateY(0);
    }

.btn-outline-secondary {
    border: 2px solid var(--color-muted);
    color: var(--color-muted);
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 10px 30px;
    transition: var(--transition);
}

    .btn-outline-secondary:hover {
        background: var(--gradient-primary);
        border-color: transparent;
        color: white;
        transform: translateY(-2px);
    }

/* === NAVIGATION === */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    transition: var(--transition);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: var(--color-dark) !important;
    transition: var(--transition);
    position: relative;
}

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: -5px;
        left: 50%;
        background: var(--gradient-primary);
        transition: var(--transition);
        transform: translateX(-50%);
    }

    .nav-link:hover::after {
        width: 80%;
    }

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

    .hero-section::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ff6b35" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23e91e63" opacity="0.1"/><circle cx="75" cy="25" r="1" fill="%239c27b0" opacity="0.1"/><circle cx="25" cy="75" r="1" fill="%23f7931e" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
        z-index: 0;
    }

    .hero-section .container {
        position: relative;
        z-index: 1;
    }

.min-vh-75 {
    min-height: 75vh;
}

/* === FEATURE CARDS === */
.feature-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
}

.gradient-bg {
    background: var(--gradient-primary);
}

/* === CONTENT SECTIONS === */
.content-section {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.secrets-list ul {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

    .secrets-list ul::-webkit-scrollbar {
        width: 6px;
    }

    .secrets-list ul::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }

    .secrets-list ul::-webkit-scrollbar-thumb {
        background: var(--gradient-primary);
        border-radius: 3px;
    }

/* === TABS === */
.nav-pills .nav-link {
    background: #e9ecef;
    color: var(--color-dark);
    border-radius: 25px;
    margin: 0 5px;
    font-weight: 500;
    transition: var(--transition);
}

    .nav-pills .nav-link.active {
        background: var(--gradient-primary);
        color: white;
    }

    .nav-pills .nav-link:hover:not(.active) {
        background: #dee2e6;
        color: var(--color-dark);
    }

/* === AUTHOR SECTION === */
.author-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: #f8f9fa;
    border: 4px solid transparent;
}

.gradient-border {
    background: var(--gradient-primary);
    padding: 4px;
    border-radius: 50%;
}

    .gradient-border .fas {
        background: white;
        border-radius: 50%;
        width: 142px;
        height: 142px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.author-badges .badge {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.contact-links .btn {
    border-radius: 25px;
    font-weight: 500;
}

/* === TESTIMONIALS === */
.testimonial- {
    padding: 20px 0 60px 0;
    overflow: visible;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 107, 53, 0.1);
    position: relative;
    overflow: hidden;
}

    .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-primary);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

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

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

.testimonial-avatar .avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

    .testimonial-avatar .avatar-circle::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: var(--gradient-primary);
        border-radius: 50%;
        z-index: -1;
    }

.stars {
    display: flex;
    gap: 2px;
}

    .stars i {
        font-size: 1.1rem;
        transition: transform 0.2s ease;
    }

.testimonial-card:hover .stars i {
    transform: scale(1.1);
}

/* === Swiper Navigation Buttons === */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
    top: 50%;
    margin-top: -25px;
}

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        font-size: 16px;
        color: var(--color-primary);
        transition: all 0.3s ease;
    }

    .swiper-button-next::after {
        content: "\f104"; /* Left arrow for RTL */
    }

    .swiper-button-prev::after {
        content: "\f105"; /* Right arrow for RTL */
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--gradient-primary);
        border-color: transparent;
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    }

        .swiper-button-next:hover::after,
        .swiper-button-prev:hover::after {
            color: white;
        }

.swiper-button-next {
    left: -25px;
}

.swiper-button-prev {
    right: -25px;
}

/* === Swiper Pagination === */
.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    background: rgba(255, 107, 53, 0.3);
    opacity: 1;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.swiper-pagination-bullet:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}


/* === CTA SECTION === */
.cta-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
        animation: float 20s ease-in-out infinite;
    }

@keyframes float {

    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* === PRICING CARDS === */
.pricing-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

    .pricing-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .pricing-card.featured {
        border: 2px solid var(--color-primary);
        transform: scale(1.05);
    }

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

.featured-badge {
    position: absolute;
    top: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 5px 40px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}
 /* badge على اليمين */
    .featured-badge.right {
        right: -30px;
        transform: rotate(45deg);
    }

 /* badge على اليسار */
    .featured-badge.left {
        left: -40px;
        transform: rotate(-45deg);
    }
.pricing-icon i {
    font-size: 3rem;
}

.price {
    font-size: 3rem;
    line-height: 1;
}

.special-offer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed var(--color-primary);
}

/* === ACCORDION === */
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    font-weight: 600;
    color: var(--color-dark);
    padding: 1.25rem;
}

    .accordion-button:not(.collapsed) {
        background: var(--gradient-primary);
        color: white;
        box-shadow: none;
    }

    .accordion-button:focus {
        box-shadow: none;
        border: none;
    }

.accordion-body {
    padding: 1.25rem;
    background: #f8f9fa;
}

/* === FOOTER === */
footer {
    background: #1a1a1a !important;
}

    footer h5 {
        color: white;
        margin-bottom: 1rem;
    }

    footer .text-muted {
        color: #adb5bd !important;
    }

    footer a.text-muted:hover {
        color: var(--color-primary) !important;
    }

.social-links a {
    transition: var(--transition);
}

    .social-links a:hover {
        color: var(--color-primary) !important;
        transform: translateY(-2px);
    }

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
        margin-top: 1rem;
    }

    .nav-pills .nav-link {
        margin: 5px 2px;
        font-size: 0.9rem;
    }

    .author-avatar {
        width: 120px;
        height: 120px;
    }

    .gradient-border .fas {
        width: 112px;
        height: 112px;
        font-size: 2.5rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    /* Testimonials Responsive */
    .testimonial-swiper {
        padding: 15px 0 50px 0;
    }

    .testimonial-avatar .avatar-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }

        .swiper-button-next::after,
        .swiper-button-prev::after {
            font-size: 14px;
        }

    .swiper-button-next {
        left: -20px;
    }

    .swiper-button-prev {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2rem;
    }

    .btn-gradient,
    .btn-outline-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .feature-card,
    .testimonial-card,
    .pricing-card {
        margin-bottom: 1rem;
    }

    .nav-pills {
        flex-wrap: wrap;
        justify-content: center;
    }

        .nav-pills .nav-link {
            font-size: 0.8rem;
            padding: 8px 12px;
        }

    /* Hide navigation buttons on small screens */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .testimonial-swiper {
        padding: 10px 0 40px 0;
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* === SCROLL ANIMATIONS === */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

    .scroll-animate.animate {
        opacity: 1;
        transform: translateY(0);
    }

/* === LOADING STATES === */
.btn-gradient.loading {
    position: relative;
    color: transparent;
}

    .btn-gradient.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 2px solid transparent;
        border-top-color: white;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* === UTILITY CLASSES === */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

.rounded-custom {
    border-radius: var(--border-radius);
}

.transition-custom {
    transition: var(--transition);
}

/* === PRINT STYLES === */
@media print {

    .navbar,
    .cta-section,
    footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }


    .modal-content {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}

.countdown-container {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 20px;
    color: white;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .countdown-container::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
        transform: rotate(45deg);
    }

.countdown-clock {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 20px 0;
}

    .countdown-clock::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 5px;
        background: var(--gradient-primary);
    }

.clock-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-text-fill-color: transparent;
}

.countdown-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--color-dark);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    direction: ltr;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    background: var(--gradient-primary);
    border-radius: 12px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--color-dark);
    font-weight: 600;
}

.countdown-message {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 10px;
}

.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 10px;
}

@media (max-width: 576px) {
    .countdown-clock {
        padding: 20px 15px;
    }

    .countdown-value {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-title {
        font-size: 1.1rem;
    }
}