/* ============================================
   Smart Solutions & Store - Laravel CSS
   Exact match of original static site design
   ============================================ */

:root {
    --navy: #0A1931;
    --electric: #00AEEF;
    --primary: var(--electric);
    --primary-glow: rgba(0, 174, 239, 0.3);
    --secondary: var(--navy);
    --bg-light: #F9FBFD;
    --text-dark: #0F172A;
    --text-muted: #475569;
    --text-main: var(--text-dark);
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(10, 25, 49, 0.08);
    --shadow-soft: 0 20px 40px -16px rgba(10, 25, 49, 0.18);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --border: rgba(10, 25, 49, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; padding: 0; margin: 0; }

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}
.shadow-soft { box-shadow: var(--shadow-soft); }

/* Typography */
.gradient-text {
    background: linear-gradient(90deg, var(--navy) 0%, var(--electric) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
h1, h2, h3 { color: var(--navy); font-weight: 800; }

.page-animation { animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   NAVIGATION (matching original components.js)
   ============================================ */
#main-nav {
    height: 90px;
    transition: var(--transition);
    background: transparent;
    border-bottom: none;
}
#main-nav.scrolled {
    background: rgba(249, 251, 253, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    height: 75px;
    box-shadow: var(--shadow-soft);
}
.logo-brand {
    display: flex; align-items: center; gap: 1rem; text-decoration: none !important;
}
.logo-circle {
    width: 50px; height: 50px; border-radius: 50%; overflow: hidden;
    border: 2px solid var(--electric); background: white;
    box-shadow: var(--shadow-soft); flex-shrink: 0;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; justify-content: center; }
.logo-top { color: var(--navy); font-weight: 800; font-size: 1.2rem; line-height: 1; letter-spacing: 1px; }
.logo-bottom { color: var(--electric); font-weight: 600; font-size: 0.85rem; line-height: 1; margin-top: 2px; letter-spacing: 2px; }

.navbar-nav .nav-link {
    font-size: 1rem; font-weight: 500; color: var(--text-muted) !important;
    padding: 0.5rem 0.8rem !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--electric) !important; }

.nav-auth { display: flex; align-items: center; gap: 0.8rem; }
.nav-user-name { font-size: 0.85rem; color: var(--text-muted); }
.btn-primary-custom {
    background: var(--electric); color: white !important;
    padding: 0.5rem 1.2rem; border-radius: 10px; font-weight: 600; font-size: 0.85rem;
    box-shadow: 0 10px 20px -5px var(--primary-glow); border: none;
}
.btn-primary-custom:hover { background: #009ad9; color: white !important; transform: translateY(-2px); }
.btn-logout {
    background: rgba(239, 68, 68, 0.2); color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.2); padding: 0.5rem 1rem; font-size: 0.8rem; border-radius: 8px;
}

.navbar-toggler { border: 1px solid var(--glass-border); }
.navbar-toggler-icon { filter: none; }

/* ============================================
   BUTTONS (matching original)
   ============================================ */
.btn-ss-primary {
    padding: 0.8rem 2rem; border-radius: 12px; font-weight: 600; font-size: 1rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--electric); color: white;
    box-shadow: 0 10px 20px -5px var(--primary-glow);
    border: none; transition: var(--transition);
}
.btn-ss-primary:hover {
    transform: translateY(-2px); box-shadow: 0 15px 30px -5px var(--primary-glow);
    color: white;
}
.btn-ss-outline {
    padding: 0.8rem 2rem; border-radius: 12px; font-weight: 600; font-size: 1rem;
    display: inline-flex; align-items: center; gap: 0.5rem;
    border: 1px solid rgba(0,0,0,0.1); background: white; color: var(--navy);
    transition: var(--transition);
}
.btn-ss-outline:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); color: var(--navy); }

/* ============================================
   HERO SECTION (exact match)
   ============================================ */
.hero-section {
    padding: 100px 0 60px;
    background: radial-gradient(circle at top right, rgba(0, 174, 239, 0.05), transparent 40%),
                radial-gradient(circle at top left, rgba(10, 25, 49, 0.03), transparent 40%);
}

/* ============================================
   SERVICE CARDS (exact match)
   ============================================ */
.service-card {
    background: white; border-radius: 24px; padding: 2rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.service-icon {
    width: 55px; height: 55px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.service-icon i { font-size: 1.8rem; }

/* ============================================
   PRICING (exact match of original CSS)
   ============================================ */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; margin-bottom: 5rem;
}
.plan-card {
    background: white; padding: 3rem 2rem; border-radius: 30px; position: relative;
    transition: transform 0.3s ease; border: 1px solid rgba(0,0,0,0.05);
    display: flex; flex-direction: column; justify-content: space-between;
}
.plan-card:hover { transform: translateY(-10px); }
.badge-popular {
    position: absolute; top: -15px; right: 30px;
    background: var(--electric); color: white;
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-size: 0.8rem; font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}
.badge-value {
    position: absolute; top: -15px; right: 30px;
    background: #00c853; color: white;
    padding: 0.5rem 1.2rem; border-radius: 50px;
    font-size: 0.8rem; font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}
.save-badge {
    display: inline-block; background: rgba(0, 200, 83, 0.1);
    color: #00c853; padding: 0.3rem 0.8rem; border-radius: 8px;
    font-size: 0.85rem; font-weight: 700; margin-top: 1rem; width: fit-content;
}
.old-price { text-decoration: line-through; color: #94a3b8; font-size: 1.1rem; margin-right: 0.5rem; }
.price-tag {
    font-size: 2.5rem; font-weight: 800; color: var(--navy);
    margin: 1rem 0; display: flex; align-items: baseline; gap: 0.3rem; flex-wrap: wrap;
}
.price-symbol { font-size: 1.5rem; font-weight: 700; }
.price-suffix { font-size: 1rem; color: #64748b; font-weight: 500; }
.service-list { list-style: none; padding: 0; margin: 2rem 0; display: flex; flex-direction: column; gap: 1rem; }
.service-list li { display: flex; align-items: center; gap: 0.8rem; color: #475569; font-size: 0.95rem; }
.service-list i { color: var(--electric); }

.individual-pricing-card {
    background: white; border-radius: 30px; padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex; flex-direction: column; justify-content: space-between;
}
.tier-header { text-align: center; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
.one-time-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.one-time-card {
    background: white; padding: 2rem; border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex; flex-direction: column; gap: 1rem;
}
.one-time-card .price { color: var(--electric); font-weight: 800; font-size: 1.2rem; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-item {
    position: relative; overflow: hidden; border-radius: 20px;
    height: 250px; background: white; transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-5px); }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.1); }

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
    border-radius: 30px; overflow: hidden;
    display: flex; flex-direction: column;
    transition: var(--transition);
}
.blog-card:hover { transform: translateY(-8px); }
.blog-card-thumb {
    height: 200px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.blog-card-thumb i { font-size: 4rem; opacity: 0.3; }

/* ============================================
   COURSE CARDS
   ============================================ */
.course-card {
    display: flex; flex-direction: column; height: 100%;
    overflow: hidden; transition: var(--transition);
    border-radius: 20px; background: white;
}
.course-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.course-thumb { width: 100%; height: 200px; object-fit: cover; }
.course-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.course-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--electric); margin-bottom: 0.5rem; }
.course-price { font-weight: 800; color: var(--electric); font-size: 1.2rem; }

/* ============================================
   FOOTER (exact match)
   ============================================ */
.site-footer {
    background: #0a1931; color: white; padding: 4rem 0 2rem; margin-top: 4rem;
}
.footer-logo {
    display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.5rem; text-decoration: none !important;
}
.logo-circle-sm {
    width: 45px; height: 45px; border-radius: 50%; overflow: hidden;
    border: 2px solid var(--electric); background: white; flex-shrink: 0;
}
.logo-circle-sm img { width: 100%; height: 100%; object-fit: cover; }
.footer-logo span { font-weight: 800; color: var(--navy); letter-spacing: 1px; color: white; }
.footer-desc { color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-founder { font-weight: 700; color: #00aeef; }
.footer-heading { color: white; font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.footer-links li { margin-bottom: 0.8rem; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--electric); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
    text-align: center; color: rgba(255,255,255,0.5); font-size: 0.9rem;
}
.footer-bottom span { font-size: 0.8rem; opacity: 0.8; }

/* ============================================
   FLOATING WHATSAPP (exact match)
   ============================================ */
.floating-wa {
    position: fixed; bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background-color: #25D366; color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 35px; z-index: 10000; text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: pulse-wa 2s infinite;
}
.floating-wa:hover { transform: scale(1.1); filter: brightness(1.1); color: white; }
@keyframes pulse-wa {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ============================================
   FORMS
   ============================================ */
.form-control:focus, .form-select:focus {
    border-color: var(--electric);
    box-shadow: 0 0 0 0.2rem var(--primary-glow);
}

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-card {
    max-width: 450px; margin: 120px auto 60px;
    background: white; border-radius: 30px; padding: 3rem;
    box-shadow: var(--shadow-soft);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5rem !important; }
    h1 br { display: none; }
    .pricing-grid { grid-template-columns: 1fr; }
    .navbar-nav { padding: 1rem 0; }
    .nav-auth { padding: 1rem 0; }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
