:root {
    --primary: #25d366; /* WhatsApp Green */
    --primary-hover: #128c7e; /* Darker WhatsApp Teal */
    --primary-glow: rgba(37, 211, 102, 0.25);
    --bg-gradient: radial-gradient(circle at 50% 50%, #111b21 0%, #0b141a 100%); /* WhatsApp Dark Web theme */
    --card-bg: rgba(32, 44, 53, 0.55);
    --card-border: rgba(255, 255, 255, 0.05);
    --text-main: #f1f5f9;
    --text-muted: #8696a0;
    --success-color: #25d366;
}

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

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Ambient glow highlights */
body::before, body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: 0;
    opacity: 0.06;
    pointer-events: none;
}

body::before {
    background: var(--primary);
    top: -10%;
    right: -10%;
}

body::after {
    background: #e71f19; /* Tunisian Red */
    bottom: -10%;
    left: -10%;
}

.landing-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Glassmorphism Header */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, #128c7e 100%);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-icon svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.brand-title {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tag {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 16px;
}

/* Buttons */
.btn {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    padding: 40px 0 80px 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge-tn {
    align-self: flex-start;
    background: rgba(231, 31, 25, 0.1);
    border: 1px solid rgba(231, 31, 25, 0.2);
    color: #fca5a5;
    padding: 6px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-title {
    font-size: 54px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    color: var(--primary);
    -webkit-text-fill-color: initial;
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

/* Hero Graphic Showcase */
.hero-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-mockup {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    width: 100%;
    padding: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #eab308; }
.mockup-dot:nth-child(3) { background: #22c55e; }

.mockup-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.mockup-stat {
    display: flex;
    justify-content: space-between;
    background: rgba(17, 27, 33, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.mockup-stat-val {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.mockup-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mockup-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px 16px;
    border-radius: 12px;
}

.mockup-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mockup-btn-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #25d366;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

/* Features Grid */
.features-section {
    padding: 80px 0;
}

.section-tag {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 12px;
}

.section-main-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 211, 102, 0.2);
}

.feature-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.1);
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive constraints */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .badge-tn {
        align-self: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-title {
        font-size: 40px;
    }
}
