:root {
    --primary-dark: #0f172a;
    --accent-orange: #f97316;
    --text-dark: #1e293b;
    --text-light: #ffffff;
    --text-dim: #475569;
    /* Darkened for better accessibility contrast */
    --radius-sm: 6px;
    --radius-lg: 12px;
    --font-main: 'Outfit', sans-serif;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

/* Premium Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism & Cards */
.glass-panel {
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
}

.feature-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-orange);
    box-shadow: 0 20px 40px -10px var(--accent-orange-glow);
}

/* Hero & Layout */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

nav .logo {
    color: #1e293b;
}

nav .nav-links a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    margin-left: 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #1e293b;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        /* Header height */
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 2rem;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        clip-path: circle(0px at 100% 0px);
        /* Start hidden */
        transition: clip-path 0.5s ease-in-out;
        pointer-events: none;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0px);
        /* Reveal */
        pointer-events: all;
    }

    .nav-links a {
        display: block;
        margin: 1.5rem 0;
        font-size: 1.2rem;
        margin-left: 0;
        /* Reset desktop margin */
        text-align: center;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    color: var(--accent-orange);
}

.hero {
    min-height: 80vh;
    padding-top: 140px;
    padding-bottom: 80px;
    background: #0f172a;
    position: relative;
    display: flex;
    align-items: center;
}

/* Clean layouts */
.hero-content h1 {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-orange);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.btn:hover {
    background: #ea580c;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1.5rem;
    background: rgba(249, 115, 22, 0.1);
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    margin-top: 1rem;
}

.btn-phone:hover {
    background: var(--accent-orange);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(249, 115, 22, 0.4);
}

.btn-phone i,
.btn-phone span.icon {
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 6rem 0;
}

.seo-content {
    color: #334155;
    line-height: 1.8;
}

.seo-content h3 {
    color: #0f172a;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.seo-content p {
    margin-bottom: 1.5rem;
}

.seo-content p:last-child {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
        margin-top: 3rem;
    }

    .hero-image {
        order: 1;
    }
}

/* Swiper Customization */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-dark) !important;
    background: white;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: 900;
}

.swiper-pagination-bullet-active {
    background: var(--accent-orange) !important;
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* WhatsApp Floating Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: white;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 4px solid #ffffff;
}

.whatsapp-btn:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    background: #22c35e;
}

.whatsapp-btn svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

/* Pulsing effect */
.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 60px;
        height: 60px;
    }

    .whatsapp-btn svg {
        width: 32px;
        height: 32px;
    }
}