/* ===== style.css ===== */

/* ===== CSS Variables ===== */
:root {
    --mobile-breakpoint: 768px;
    --link-padding: 1rem;
    --primary-glow: #00ff88;
    --secondary-glow: #ff00aa;
    --premium-gold: #ffd700;
    --starter-dark: #1a1a2e;
    --starter-blue: #0f3460;
    --starter-green: #00ff88;
    --business-purple: #390665;
    --business-orange: #ef8d07;
    --premium-bg: #000000;
    --premium-gold-light: #ffd700;
}

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

html, body {
    height: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: rgb(0, 0, 0);
    color: rgb(250, 249, 249);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 30px 20px;
    position: relative;
    z-index: 0;
    overflow-x: hidden;
}

/* ===== Animated Background Bubbles ===== */
.bgPrimary, .bgTeal, .bgPurp, .bgCyan {
    opacity: 0.5;
    filter: blur(90px);
    border-radius: 9999px;
    position: fixed;
    z-index: -1;
    outline: 1px solid transparent;
    will-change: transform;
}

.bgPrimary {
    background-color: rgb(47, 68, 255);
    width: 400px;
    height: 400px;
    top: 10%;
    left: 10%;
    animation: one 8s infinite alternate;
}

.bgTeal {
    background-color: rgb(255, 48, 162);
    width: 300px;
    height: 300px;
    bottom: 10%;
    right: 10%;
    animation: two 7s infinite alternate;
}

.bgPurp {
    background-color: rgb(140, 40, 255);
    width: 400px;
    height: 400px;
    top: 50%;
    right: 20%;
    animation: one 9s infinite alternate;
}

.bgCyan {
    background-color: rgba(0, 255, 200, 0.7);
    width: 350px;
    height: 350px;
    bottom: 30%;
    left: 15%;
    animation: two 6s infinite alternate-reverse;
    box-shadow: 0 0 0 1px rgba(0, 255, 200, 0.3);
}

/* ===== Animations ===== */
@keyframes one {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -30px) scale(1.03); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes two {
    0% { transform: translate(0, 0); }
    33% { transform: translate(15px, -10px); }
    66% { transform: translate(-10px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== Page Header ===== */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 1200px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.page-header h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff, #00ff88, #ff00aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

@media (min-width: 769px) {
    .page-header h1 {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        white-space: normal;
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .page-header h1 .line-break {
        display: block;
    }
}

.page-header .sub-sentence {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

@media (min-width: 769px) {
    .page-header .sub-sentence {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .page-header .sub-sentence {
        font-size: 1.1rem;
        line-height: 1.5;
        white-space: normal;
    }
    
    .page-header .sub-sentence .line-break {
        display: block;
    }
}

.page-header .small-sentence {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-header .small-sentence span {
    color: #00ff88;
    font-weight: 500;
}

/* ===== Models Container ===== */
.models-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

/* ===== Model Card ===== */
.model-card {
    flex: 1 1 300px;
    max-width: 350px;
    min-width: 280px;
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.model-card:nth-child(1) { animation-delay: 0.1s; }
.model-card:nth-child(2) { animation-delay: 0.2s; }
.model-card:nth-child(3) { animation-delay: 0.3s; }

.model-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
}

/* ===== Card Header ===== */
.card-header {
    padding: 25px 25px 15px;
    position: relative;
    overflow: hidden;
}

.card-header.starter {
    background: linear-gradient(135deg, #1a1a2e, #0f3460, #00ff88);
    background-size: 300% 300%;
    animation: starterGradient 8s ease infinite;
}

.card-header.business {
    background: linear-gradient(135deg, #390665, #5a2a8a, #ef8d07);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
}

.card-header.premium {
    background: linear-gradient(135deg, #000000, #1a1a2e, #ffd700);
    background-size: 300% 300%;
    animation: premiumGradient 8s ease infinite;
    position: relative;
    overflow: hidden;
}

.card-header.premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffd700, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 80px 40px, #ffd700, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 120px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(4px 4px at 160px 20px, #ffd700, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 200px 60px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 250px 90px, #ffd700, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 280px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 320px 70px, #ffd700, rgba(0,0,0,0));
    background-repeat: no-repeat;
    opacity: 0.6;
    animation: twinkle 3s infinite alternate;
    pointer-events: none;
    z-index: 2;
}

.model-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 3;
    color: rgba(255, 255, 255, 0.9);
}

.model-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.1;
    position: relative;
    z-index: 3;
}

.model-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 300;
    position: relative;
    z-index: 3;
}

/* ===== Feature List ===== */
.feature-list {
    padding: 20px 25px;
    background: rgba(0, 0, 0, 0.2);
    flex: 1;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(8px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon.starter {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
    color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.feature-icon.business {
    background: linear-gradient(135deg, #390665, #5a2a8a);
    color: #ef8d07;
    box-shadow: 0 0 10px rgba(239, 141, 7, 0.2);
}

.feature-icon.premium {
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 3px;
    color: #fff;
    font-weight: 600;
}

.feature-text small {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    line-height: 1.3;
    display: block;
}

/* ===== Preview Button ===== */
.preview-section {
    padding: 0 25px 25px;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.preview-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.preview-btn i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.preview-btn:hover i {
    transform: translateX(5px);
    opacity: 1;
}

.starter-card .preview-btn:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: #00ff88;
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.2);
}

.business-card .preview-btn:hover {
    background: rgba(239, 141, 7, 0.1);
    border-color: #ef8d07;
    box-shadow: 0 5px 15px rgba(239, 141, 7, 0.2);
}

.premium-card .preview-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.preview-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* ===== Footer ===== */
.footer {
    margin-top: 40px;
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-message-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 40px;
    padding: 12px 35px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-message-card:hover {
    border-color: rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.1);
}

.footer-message {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
}

.footer-copyright a:hover {
    color: #00ff88;
    border-bottom-color: #00ff88;
}

@media (max-width: 768px) {
    .footer-message-card {
        padding: 10px 25px;
        border-radius: 30px;
    }
    
    .footer-message {
        font-size: 0.85rem;
        white-space: normal;
    }
    
    .footer-copyright {
        font-size: 0.7rem;
    }
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
    body { 
        padding: 20px 15px; 
    }
    
    .page-header {
        margin-bottom: 30px;
    }
    
    .models-container {
        gap: 20px;
    }
    
    .model-card {
        max-width: 100%;
        width: 100%;
    }
    
    .card-header {
        padding: 20px 20px 10px;
    }
    
    .model-title {
        font-size: 1.8rem;
    }
    
    .feature-list {
        padding: 15px 20px;
    }
    
    .feature-item {
        margin-bottom: 10px;
        padding: 6px;
    }
    
    .preview-section {
        padding: 0 20px 20px;
    }
    
    .preview-btn {
        padding: 14px;
    }
    
    .bgPrimary, .bgPurp {
        width: 250px;
        height: 250px;
    }
    
    .bgTeal, .bgCyan {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .model-title {
        font-size: 1.6rem;
    }
    
    .feature-text strong {
        font-size: 0.9rem;
    }
}

/* ===== Custom Scrollbar - بدون ألوان ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}