/*
Theme Name: O'Security Premium
Theme URI: https://osecurity.bj
Description: Thème WordPress ultra-premium pour la domotique et la sécurité connectée au Bénin.
Version: 1.1.2
Author: Antigravity
Author URI: https://osecurity.bj
Text Domain: osecurity-theme
*/

:root {
    --primary: #020617;
    --accent: #FF8C42;
    /* O'Security Orange */
    --accent-glow: #FFA500;
    --electric-blue: #00F2FF;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #F8FAFC;
    --text-dim: #94A3B8;
    --gradient-premium: linear-gradient(135deg, #020617 0%, #0F172A 100%);
    --font-main: 'Outfit', sans-serif;
    --font-title: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.premium-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-premium);
}

.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 140, 66, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 59, 77, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glass Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
    padding: 0.8rem 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    filter: drop-shadow(0 0 10px rgba(255, 140, 66, 0.3));
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 140, 66, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    background: #ff9d5c;
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.5);
}

.btn-glass {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: var(--glass-border);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    mask-image: linear-gradient(to left, black 60%, transparent);
    opacity: 0.6;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 650px;
}

h1 {
    font-family: var(--font-title);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #FF8C42);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.35rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    max-width: 550px;
}

.trust-bar {
    display: flex;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-dim);
}

.trust-item i {
    color: var(--accent);
    width: 22px;
}

/* Floating Cards */
.floating-icons {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 450px;
}

.icon-card {
    position: absolute;
    padding: 1.75rem;
    background: var(--glass);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    font-size: 2.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sections */
section {
    padding: 10rem 0;
    position: relative;
}

.section-tag {
    color: var(--accent);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: block;
}

h2 {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 4rem;
    line-height: 1.1;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    padding: 4rem;
    backdrop-filter: blur(15px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 140, 66, 0.05), transparent);
    pointer-events: none;
}

.glass-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    background: rgba(255, 140, 66, 0.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.pas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.pas-card .emoji {
    font-size: 4rem;
    margin-bottom: 2rem;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 140, 66, 0.2));
}

.pas-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
}

.pas-card p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.pricing-card.featured {
    background: linear-gradient(135deg, rgba(255, 140, 66, 0.1) 0%, rgba(2, 6, 23, 0.4) 100%);
    border: 2px solid var(--accent);
    transform: scale(1.08);
    z-index: 5;
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.price {
    font-size: 4rem;
    font-weight: 800;
    margin: 1.5rem 0;
    font-family: var(--font-title);
    color: white;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price span {
    font-size: 1.25rem;
    color: var(--text-dim);
    font-weight: 400;
    text-transform: uppercase;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 3.5rem;
}

.pricing-card li {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-main);
    font-size: 1.05rem;
}

.pricing-card li i {
    color: var(--accent);
    width: 20px;
}

/* Methodo refined */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-item {
    text-align: center;
    perspective: 1000px;
}

.process-step {
    width: 100px;
    height: 100px;
    border-radius: 30px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    position: relative;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.process-item:hover .process-step {
    transform: rotateY(180deg) scale(1.1);
    border-color: var(--accent);
    background: rgba(255, 140, 66, 0.1);
}

.process-item h4 {
    font-family: var(--font-title);
    font-size: 1.25rem;
}

.process-item::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--accent), transparent);
    z-index: 1;
    opacity: 0.3;
}

.process-item:last-child::after {
    display: none;
}

/* Testimonials */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.quote-icon {
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.15;
    position: absolute;
    top: 2rem;
    right: 3rem;
}

/* Footer refine */
footer {
    padding: 6rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

/* Mobile */
@media (max-width: 1024px) {

    .pas-grid,
    .pricing-grid,
    .process-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-image {
        width: 100%;
        opacity: 0.3;
    }

    .hero-content {
        width: 100%;
    }

    .floating-icons {
        display: none;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .process-item::after {
        display: none;
    }
}

.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1) rotate(10deg);
}