/* CSS for Supernet */

:root {
    --primary: #0056b3;
    --primary-light: #00aaff;
    --accent: #00d4ff;
    --dark: #0a192f;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--gray);
    font-size: 1.1rem;
}

/* Reusable Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(0, 86, 179, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(0, 86, 179, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
    color: var(--accent);
}

header.scrolled .nav-links a {
    color: var(--dark);
    text-shadow: none;
}

header.scrolled .nav-links a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('assets/hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Services Section */
.services {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(3rem, 8vw, 5rem);
}

.section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--light);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* FAQ Section */
.faq {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--light);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateX(10px);
}

.faq-item h3 {
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Why Choose Us */
.why-us {
    padding: clamp(4rem, 10vw, 8rem) 0;
    background: var(--dark);
    color: var(--white);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.why-us img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    max-height: 500px;
}

.features {
    display: grid;
    gap: 2rem;
}

.feature {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    background: var(--primary);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature h3 {
    margin-bottom: 0.5rem;
}

/* Call to Action Bar */
.cta-bar {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    padding: clamp(3rem, 8vw, 5rem) 0;
    text-align: center;
    color: var(--white);
}

.cta-bar h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--gray);
}

/* Sticky Mobile Button */
.btn-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    align-items: center;
    gap: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr;
    }

    .why-us-image {
        order: 2;
    }

    .why-us-text {
        order: 1;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 0;
    }

    header.scrolled {
        padding: 0.6rem 0;
    }

    .nav-links {
        display: none;
    }

    .logo img {
        height: 38px;
    }

    header.scrolled .logo img {
        height: 50px;
    }

    header .btn-primary {
        padding: 1.5rem 1.8rem;
        font-size: 0.85rem;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
        min-height: 80vh;
    }

    .hero-btns {
        justify-content: center;
    }

    .btn-sticky-mobile {
        display: flex;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .logo img {
        height: 32px;
    }

    header.scrolled .logo img {
        height: 50px;
    }

    header .btn-primary {
        padding: 1.5rem 1.8rem;
        font-size: 0.85rem;
    }

    header .btn-primary span {
        display: none;
    }

    header .btn-primary::after {
        content: ' LLAMAR';
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    header .btn-primary i {
        margin-right: 2px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn:not(header .btn) {
        width: 100%;
        padding: 0.8rem 1.5rem;
    }

    .hero-btns .btn {
        margin-bottom: 0.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }
    
    .legal-page {
        padding: 120px 0 60px;
    }
}

/* General Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Legal Pages Styling */
.legal-page {
    padding: 150px 0 80px;
    background: var(--white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary);
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--dark);
}

.legal-content p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    color: var(--gray);
}