/* Lapiffy Premium Stylesheet */

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --primary-rgb: 79, 70, 229;
    --secondary-color: #06b6d4;
    --secondary-hover: #0891b2;
    --secondary-rgb: 6, 182, 212;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --light-bg: #f8fafc;
    --gray-text: #64748b;
    --dark-text: #0f172a;
    --light-text: #f8fafc;
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: #334155;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark-text);
    fontWeight: 700;
}

/* Header & Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}
.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}
.nav-link {
    font-weight: 500;
    color: #475569;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn-premium-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.4);
    transition: var(--transition);
}
.btn-premium-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.6);
    color: white;
}
.btn-premium-secondary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0d9488 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 14px 0 rgba(6, 182, 212, 0.4);
    transition: var(--transition);
}
.btn-premium-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(6, 182, 212, 0.6);
    color: white;
}
.btn-premium-outline {
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    padding: 0.7rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
}
.btn-premium-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 50%;
    top: -10%;
    right: -5%;
    filter: blur(80px);
}
.hero-section::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 50%;
    bottom: -5%;
    left: -5%;
    filter: blur(60px);
}
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--dark-text) 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray-text);
}
.hero-image-wrapper {
    position: relative;
    z-index: 1;
}
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 2px solid rgba(79, 70, 229, 0.1);
    border-radius: 24px;
    z-index: -1;
    transform: rotate(3deg);
}

/* Cards & Glassmorphism */
.premium-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    overflow: hidden;
}
.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(79, 70, 229, 0.2);
}
.premium-card .card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}
.premium-card:hover .card-icon-box {
    background: var(--primary-color);
    color: white;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #0f172a;
    color: var(--light-text);
    padding: 6rem 0;
    position: relative;
}
.why-choose-us h2, .why-choose-us h3, .why-choose-us h4, .why-choose-us h5 {
    color: white;
}
.why-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
}
.why-card:hover {
    transform: translateY(-5px);
    background: #273549;
    border-color: var(--secondary-color);
}
.why-icon {
    font-size: 2.25rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Testimonial Slider / Grid */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--card-shadow);
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}
.testimonial-card::after {
    content: '“';
    position: absolute;
    font-size: 7rem;
    color: rgba(79, 70, 229, 0.08);
    top: -10px;
    right: 20px;
    font-family: serif;
    line-height: 1;
}
.testimonial-rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}
.testimonial-user {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--primary-color);
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    margin-bottom: 1rem;
    overflow: hidden;
    background: white;
    box-shadow: var(--card-shadow);
}
.accordion-button {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    color: var(--dark-text);
    background-color: white !important;
    box-shadow: none !important;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
}
.accordion-body {
    padding: 1.5rem;
    color: #475569;
    background-color: #fafafa;
}

/* CTA Callout */
.cta-banner {
    background: linear-gradient(135deg, #312e81 0%, var(--dark-bg) 100%);
    border-radius: 30px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.3);
}
.cta-banner::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    filter: blur(50px);
}

/* Page Header & Breadcrumbs */
.page-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 5rem 0 4rem;
    text-align: center;
    position: relative;
}
.page-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.page-hero-subtitle {
    color: #cbd5e1;
    font-size: 1.1rem;
}
.breadcrumb-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}
.breadcrumb-item a:hover {
    color: white;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #94a3b8;
}

/* Footer styling */
.main-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
    border-top: 1px solid #1e293b;
}
.footer-title {
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 0.75rem;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: white;
    padding-left: 5px;
}
.social-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1e293b;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: var(--transition);
    text-decoration: none;
}
.social-icon-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

/* Blog styles */
.blog-card-image-box {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.blog-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.premium-card:hover .blog-card-image-box img {
    transform: scale(1.05);
}
.blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

/* Sidebar widget */
.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

/* Forms styling */
.form-premium-control {
    border-radius: 12px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    background-color: #f8fafc;
}
.form-premium-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    outline: none;
}
.form-label-premium {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Image fallback styling */
.image-placeholder {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    height: 100%;
    min-height: 200px;
    width: 100%;
}
