:root {
    --bg-dark: #ffffff;
    --bg-darker: #f7f9fc;
    --primary-orange: #ff6600;
    --primary-orange-light: #ff8533;
    --primary-orange-dark: #cc5200;
    --text-light: #333333;
    --text-muted: #666666;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 18, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: #fff; /* Always white when over the dark hero */
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Better visibility over hero */
}

.navbar.scrolled .nav-links a {
    color: var(--text-light); /* Dark when scrolled and background is white */
    text-shadow: none;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-orange);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-light));
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.5);
    background: linear-gradient(135deg, var(--primary-orange-light), var(--primary-orange));
}

.glass-btn {
    background: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--primary-orange);
    color: var(--primary-orange);
    box-shadow: none;
    backdrop-filter: blur(5px);
}

.glass-btn:hover {
    background: var(--primary-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-img.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(8, 10, 14, 0.9) 0%, rgba(8, 10, 14, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    color: #fff;
}

.hero h1 strong {
    color: var(--primary-orange);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: #f0f0f0;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

/* Plans Section */
.plans-section {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.plans-section::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 300px;
    height: 300px;
    background: var(--primary-orange);
    filter: blur(150px);
    opacity: 0.1;
    border-radius: 50%;
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 102, 0, 0.3);
}

.glass-card.popular {
    border-color: var(--primary-orange);
    background: linear-gradient(180deg, rgba(255,102,0,0.05) 0%, rgba(255,255,255,0.02) 100%);
    transform: scale(1.05);
}

.glass-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-orange);
    color: #fff;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom-left-radius: 20px;
    letter-spacing: 1px;
}

.plan-header h3 {
    font-size: 4rem;
    line-height: 1;
    background: linear-gradient(135deg, #111, #555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.plan-header span {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-orange);
    display: block;
    margin-top: 5px;
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 30px 0;
}

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 5px;
}

.plan-price .amount {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 0.8;
    margin: 0 5px;
}

.cents-period {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cents-period .cents {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.cents-period .period {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.plan-features {
    text-align: left;
    margin-bottom: 40px;
}

.plan-features li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.plan-features li i {
    color: var(--primary-orange);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Autoatendimento Section */
.autoatendimento-section {
    padding: 80px 0;
    background: var(--bg-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -40px;
    margin-bottom: 50px;
    font-size: 1.2rem;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem;
}

/* App Section */
.app-section {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
    overflow: hidden;
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.app-text {
    flex: 1;
}

.section-title.left-align {
    text-align: left;
    left: 0;
    transform: none;
    margin-bottom: 40px;
}

.section-title.left-align::after {
    left: 0;
    transform: none;
}

.app-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.app-features {
    margin-bottom: 30px;
}

.app-features li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.app-features li i {
    color: #25d366;
    margin-right: 15px;
    font-size: 1.2rem;
}

.app-benefits {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.playstore-btn img {
    height: 60px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.playstore-btn img:hover {
    transform: scale(1.05);
}

.app-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
    animation: float 6s ease-in-out infinite;
}

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

.buy-btn {
    width: 100%;
}

/* Region Section */
.region-section {
    padding: 100px 0;
    background: #fff;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.region-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.region-text {
    flex: 1;
}

.cta-vivo {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 133, 51, 0.05));
    border-left: 5px solid var(--primary-orange);
    padding: 20px;
    border-radius: 0 15px 15px 0;
    margin: 30px 0;
}

.cta-vivo p {
    font-size: 1rem;
    margin-bottom: 5px;
}

.cta-vivo h3 {
    font-size: 1.5rem;
    color: var(--primary-orange);
    font-weight: 800;
}

.region-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.region-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.region-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 80px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 40px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.working-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.working-hours p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.footer-contact i {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* WhatsApp Floating */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .glass-card.popular { transform: scale(1); }
    .glass-card.popular:hover { transform: translateY(-15px); }
}

@media (max-width: 768px) {
    .nav-links, .navbar .btn-primary {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.2rem; }
    .footer-content { flex-direction: column; }
    .app-content { flex-direction: column; text-align: center; }
    .region-content { flex-direction: column; text-align: center; }
    .section-title.left-align { text-align: center; left: 50%; transform: translateX(-50%); }
    .section-title.left-align::after { left: 50%; transform: translateX(-50%); }
    .app-features li { justify-content: center; }
    .cta-vivo { border-left: none; border-top: 5px solid var(--primary-orange); border-radius: 0 0 15px 15px; }
}
