/* ============================================
   Components & Reusable Styles
   ============================================ */

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-heading);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(230, 57, 70, 0.1);
    border-color: var(--accent-1);
    color: var(--accent-1);
}

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
}

.btn-text:hover {
    color: var(--accent-1);
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* ---- CARDS ---- */
.service-card,
.feature-box,
.value-card,
.team-member,
.reason-box,
.setting-card,
.stat-card,
.contact-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 57, 70, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.feature-box::before,
.value-card::before,
.team-member::before,
.reason-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover,
.feature-box:hover,
.value-card:hover,
.team-member:hover,
.reason-box:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 57, 70, 0.3);
    box-shadow: 0 20px 40px rgba(230, 57, 70, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.service-card:hover::before,
.feature-box:hover::before,
.value-card:hover::before,
.team-member:hover::before,
.reason-box:hover::before {
    opacity: 1;
}

.service-card h3,
.feature-box h3,
.value-card h3,
.team-member h3 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.service-card p,
.feature-box p,
.value-card p,
.team-member .bio {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Card Icons */
.service-icon,
.feature-icon,
.value-icon,
.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.2) 0%, rgba(114, 9, 183, 0.2) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ---- FORMS ---- */
.contact-form,
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.3);
}

.form-input.error {
    border-color: #ff6b6b;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

/* Form Submit Button */
.form-submit {
    margin-top: 1rem;
}

/* Checkbox/Toggle Styles */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(230, 57, 70, 0.3);
    transition: var(--transition-fast);
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--primary);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* ---- PRICING CARDS ---- */
.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 57, 70, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(230, 57, 70, 0.25);
}

.pricing-card h3 {
    color: var(--text-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.price .currency {
    font-size: 1.5rem;
    color: var(--primary);
}

.price .period {
    font-size: 1rem;
    color: var(--text-muted);
}

.plan-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list i {
    color: var(--primary);
}

.pricing-btn {
    width: 100%;
    margin-top: auto;
}

/* Badge */
.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ---- FOOTER ---- */
.footer {
    background: rgba(11, 11, 15, 0.8);
    border-top: 1px solid rgba(230, 57, 70, 0.1);
    padding: 3rem 0 1rem;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.tagline {
    color: var(--primary);
    font-style: italic;
}

.social-icons,
.social-icons-contact {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    padding-top: 2rem;
    border-top: 1px solid rgba(230, 57, 70, 0.1);
}

/* ---- PRICING TOGGLE ---- */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.toggle-label {
    color: var(--text-muted);
    font-weight: 500;
}

.toggle-discount {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ---- PLATFORMS & TECH BADGES ---- */
.platform-badge,
.tech-badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.15);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.platform-badge:hover,
.tech-badge:hover {
    background: rgba(230, 57, 70, 0.3);
    border-color: var(--primary);
}

/* ---- MISSION/VISION BOXES ---- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.mv-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition);
}

.mv-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow-md);
}

.mv-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.mv-box h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.mv-box p {
    color: var(--text-muted);
}

/* ---- TOAST NOTIFICATIONS ---- */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transform: translateX(400px);
    transition: var(--transition);
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.toast-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-notification.success {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%);
}

.toast-notification.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}
