/* ==========================================
METABYTE360 - Premium Agency Website
Design System & Styles
========================================== */

/* CSS Variables */
:root {
/* Colors */
--bg-primary: hsl(230, 25%, 5%);
--bg-secondary: hsl(230, 25%, 8%);
--bg-card: hsl(230, 25%, 10%);

--text-primary: hsl(210, 40%, 98%);
--text-secondary: hsl(215, 20%, 65%);
--text-muted: hsl(215, 15%, 50%);

--primary: hsl(190, 100%, 50%);
--primary-glow: hsl(190, 100%, 60%);
--secondary: hsl(270, 80%, 60%);
--secondary-glow: hsl(270, 80%, 70%);

--accent: hsl(210, 100%, 60%);
--whatsapp: hsl(142, 76%, 36%);
--instagram: hsl(340, 75%, 54%);
--success: hsl(142, 76%, 36%);

--border: hsl(230, 20%, 18%);
--border-hover: hsl(230, 20%, 25%);

/* Gradients */
--gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
--gradient-hero: linear-gradient(180deg, hsl(230, 25%, 5%) 0%, hsl(250, 30%, 10%) 50%, hsl(230, 25%, 5%) 100%);
--gradient-card: linear-gradient(145deg, hsl(230, 25%, 10%, 0.8) 0%, hsl(230, 25%, 6%, 0.9) 100%);

/* Shadows */
--glow-primary: 0 0 40px hsl(190, 100%, 50%, 0.4);
--glow-secondary: 0 0 40px hsl(270, 80%, 60%, 0.4);
--shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);

/* Spacing */
--container-width: 1200px;
--section-padding: 100px;

/* Border Radius */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 20px;
--radius-xl: 30px;

/* Transitions */
--transition-fast: 0.2s ease;
--transition-normal: 0.3s ease;
--transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
line-height: 1.2;
}

a {
text-decoration: none;
color: inherit;
transition: var(--transition-normal);
}

ul {
list-style: none;
}

img {
max-width: 100%;
height: auto;
}

/* Container */
.container {
max-width: var(--container-width);
margin: 0 auto;
padding: 0 20px;
}

/* Utility Classes */
.gradient-text {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.glass-card {
background: var(--gradient-card);
backdrop-filter: blur(20px);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
transition: var(--transition-normal);
}

.glass-card:hover {
border-color: var(--border-hover);
transform: translateY(-5px);
box-shadow: var(--shadow-card);
}

/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 24px;
border: none;
border-radius: var(--radius-md);
font-family: 'Inter', sans-serif;
font-weight: 600;
font-size: 15px;
cursor: pointer;
transition: var(--transition-normal);
}

.btn-primary {
background: var(--gradient-primary);
color: var(--bg-primary);
}

.btn-secondary {
background: transparent;
color: var(--text-primary);
border: 1px solid var(--border);
}

.btn-secondary:hover {
background: var(--bg-card);
border-color: var(--primary);
}

.btn-glow {
box-shadow: var(--glow-primary);
}

.btn-glow:hover {
box-shadow: 0 0 60px hsl(190, 100%, 50%, 0.6);
transform: translateY(-3px);
}

.btn-large {
padding: 16px 32px;
font-size: 16px;
}

.btn-full {
width: 100%;
}

/* Section Styles */
.section-header {
text-align: center;
margin-bottom: 60px;
}

.section-badge {
display: inline-block;
padding: 8px 20px;
background: hsla(190, 100%, 50%, 0.1);
border: 1px solid hsla(190, 100%, 50%, 0.3);
border-radius: 50px;
color: var(--primary);
font-size: 14px;
font-weight: 600;
margin-bottom: 20px;
}

.section-title {
font-size: clamp(32px, 5vw, 48px);
margin-bottom: 16px;
}

.section-subtitle {
color: var(--text-secondary);
font-size: 18px;
max-width: 600px;
margin: 0 auto;
}

/* ==========================================
NAVBAR
========================================== */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
padding: 16px 0;
background: hsla(230, 25%, 5%, 0.8);
backdrop-filter: blur(20px);
border-bottom: 1px solid transparent;
transition: var(--transition-normal);
}

.navbar.scrolled {
background: hsla(230, 25%, 5%, 0.95);
border-bottom-color: var(--border);
}

.navbar-content {
display: flex;
align-items: center;
justify-content: space-between;
}

.logo {
display: flex;
align-items: center;
gap: 10px;
}

.logo-icon {
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
background: var(--gradient-primary);
border-radius: var(--radius-sm);
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
font-size: 20px;
color: var(--bg-primary);
}

.logo-text {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
font-size: 22px;
}

.nav-links {
display: flex;
align-items: center;
gap: 32px;
}

.nav-links a {
color: var(--text-secondary);
font-weight: 500;
font-size: 15px;
position: relative;
}

.nav-links a::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 0;
height: 2px;
background: var(--gradient-primary);
transition: var(--transition-normal);
}

.nav-links a:hover {
color: var(--text-primary);
}

.nav-links a:hover::after {
width: 100%;
}

.nav-cta {
padding: 10px 20px;
}

.mobile-menu-btn {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 5px;
}

.mobile-menu-btn span {
width: 25px;
height: 2px;
background: var(--text-primary);
transition: var(--transition-normal);
}

/* ==========================================
HERO SECTION
========================================== */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
padding: 120px 0 80px;
position: relative;
overflow: hidden;
}

.hero-bg {
position: absolute;
inset: 0;
pointer-events: none;
}

.orb {
position: absolute;
border-radius: 50%;
filter: blur(100px);
opacity: 0.3;
}

.orb-1 {
width: 600px;
height: 600px;
background: var(--primary);
top: -200px;
right: -200px;
animation: float 8s ease-in-out infinite;
}

.orb-2 {
width: 400px;
height: 400px;
background: var(--secondary);
bottom: -100px;
left: -100px;
animation: float 10s ease-in-out infinite reverse;
}

.grid-pattern {
position: absolute;
inset: 0;
background-image:
linear-gradient(hsla(190, 100%, 50%, 0.03) 1px, transparent 1px),
linear-gradient(90deg, hsla(190, 100%, 50%, 0.03) 1px, transparent 1px);
background-size: 50px 50px;
}

@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-content {
position: relative;
z-index: 1;
text-align: center;
}

.hero-badge {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 24px;
background: hsla(190, 100%, 50%, 0.1);
border: 1px solid hsla(190, 100%, 50%, 0.3);
border-radius: 50px;
margin-bottom: 30px;
animation: fadeInUp 0.8s ease;
}

.badge-dot {
width: 8px;
height: 8px;
background: var(--primary);
border-radius: 50%;
animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
font-size: clamp(36px, 6vw, 72px);
margin-bottom: 24px;
animation: fadeInUp 0.8s ease 0.2s both;
}

.price-highlight {
display: inline-block;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
from { filter: drop-shadow(0 0 20px hsla(190, 100%, 50%, 0.5)); }
to { filter: drop-shadow(0 0 40px hsla(190, 100%, 50%, 0.8)); }
}

.hero-subtitle {
font-size: 18px;
color: var(--text-secondary);
max-width: 700px;
margin: 0 auto 40px;
animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 16px;
margin-bottom: 60px;
animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 30px;
max-width: 800px;
margin: 0 auto;
animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
text-align: center;
}

.stat-number {
font-family: 'Space Grotesk', sans-serif;
font-size: 42px;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.stat-suffix {
font-family: 'Space Grotesk', sans-serif;
font-size: 42px;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.stat-label {
display: block;
color: var(--text-secondary);
font-size: 14px;
margin-top: 8px;
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

/* ==========================================
SERVICES SECTION
========================================== */
.services {
padding: var(--section-padding) 0;
background: var(--bg-secondary);
}

.services-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 60px;
}

.service-card {
padding: 40px 30px;
text-align: center;
}

.service-icon {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 24px;
background: hsla(190, 100%, 50%, 0.1);
border-radius: var(--radius-md);
color: var(--primary);
}

.service-card h3 {
font-size: 20px;
margin-bottom: 12px;
}

.service-card p {
color: var(--text-secondary);
font-size: 15px;
}

/* Pricing Card */
.pricing-card {
max-width: 500px;
margin: 0 auto;
padding: 50px 40px;
text-align: center;
position: relative;
border: 2px solid hsla(190, 100%, 50%, 0.3);
}

.pricing-badge {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
padding: 8px 24px;
background: var(--gradient-primary);
border-radius: 50px;
font-size: 14px;
font-weight: 600;
color: var(--bg-primary);
}

.pricing-header h3 {
font-size: 24px;
margin-bottom: 20px;
}

.price {
display: flex;
align-items: baseline;
justify-content: center;
gap: 4px;
margin-bottom: 8px;
}

.currency {
font-size: 32px;
font-weight: 600;
color: var(--primary);
}

.amount {
font-family: 'Space Grotesk', sans-serif;
font-size: 72px;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.period {
color: var(--text-secondary);
font-size: 16px;
}

.price-note {
color: var(--text-muted);
font-size: 14px;
margin-bottom: 30px;
}

.pricing-features {
text-align: left;
margin-bottom: 30px;
}

.pricing-features li {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid var(--border);
color: var(--text-secondary);
}

.pricing-features li:last-child {
border-bottom: none;
}

.pricing-features svg {
color: var(--success);
flex-shrink: 0;
}

/* ==========================================
WHY US SECTION
========================================== */
.why-us {
padding: var(--section-padding) 0;
}

.why-us-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
margin-bottom: 40px;
}

.why-card {
padding: 40px 30px;
text-align: center;
}

.why-icon {
width: 70px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 24px;
background: hsla(270, 80%, 60%, 0.1);
border-radius: var(--radius-md);
color: var(--secondary);
}

.why-card h3 {
font-size: 20px;
margin-bottom: 12px;
}

.why-card p {
color: var(--text-secondary);
font-size: 15px;
}

.why-stats {
display: flex;
justify-content: center;
gap: 30px;
margin-top: 60px;
}

.why-stat-item {
padding: 30px 50px;
text-align: center;
}

.why-stat-number {
display: block;
font-family: 'Space Grotesk', sans-serif;
font-size: 48px;
font-weight: 700;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.why-stat-label {
color: var(--text-secondary);
font-size: 14px;
}

/* ==========================================
HOW IT WORKS SECTION
========================================== */
.how-it-works {
padding: var(--section-padding) 0;
background: var(--bg-secondary);
}

.timeline {
position: relative;
max-width: 600px;
margin: 0 auto;
}

.timeline::before {
content: '';
position: absolute;
left: 30px;
top: 0;
bottom: 0;
width: 3px;
background: var(--gradient-primary);
}

.timeline-item {
display: flex;
align-items: flex-start;
gap: 30px;
margin-bottom: 40px;
position: relative;
}

.timeline-item:last-child {
margin-bottom: 0;
}

.timeline-number {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
background: var(--gradient-primary);
border-radius: 50%;
font-family: 'Space Grotesk', sans-serif;
font-size: 24px;
font-weight: 700;
color: var(--bg-primary);
flex-shrink: 0;
position: relative;
z-index: 1;
}

.timeline-content {
flex: 1;
padding: 25px 30px;
}

.timeline-content h3 {
font-size: 20px;
margin-bottom: 10px;
}

.timeline-content p {
color: var(--text-secondary);
font-size: 15px;
}

/* ==========================================
TESTIMONIALS SECTION
========================================== */
.testimonials {
padding: var(--section-padding) 0;
}

.testimonials-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}

.testimonial-card {
padding: 30px;
}

.testimonial-stars {
color: #fbbf24;
font-size: 18px;
letter-spacing: 2px;
margin-bottom: 16px;
}

.testimonial-text {
color: var(--text-secondary);
font-size: 15px;
font-style: italic;
margin-bottom: 20px;
line-height: 1.7;
}

.testimonial-author {
display: flex;
align-items: center;
gap: 12px;
}

.author-avatar {
width: 48px;
height: 48px;
display: flex;
align-items: center;
justify-content: center;
background: var(--gradient-primary);
border-radius: 50%;
font-weight: 600;
color: var(--bg-primary);
}

.author-name {
display: block;
font-weight: 600;
font-size: 15px;
}

.author-role {
color: var(--text-muted);
font-size: 13px;
}

/* ==========================================
CONTACT SECTION
========================================== */
.contact {
padding: var(--section-padding) 0;
background: var(--bg-secondary);
}

.contact-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: start;
}

.contact-info .section-title {
text-align: left;
}

.contact-description {
color: var(--text-secondary);
font-size: 16px;
margin-bottom: 30px;
}

.contact-methods {
display: flex;
flex-direction: column;
gap: 16px;
}

.contact-method {
display: flex;
align-items: center;
gap: 16px;
padding: 20px;
}

.contact-method:hover {
transform: translateX(10px);
}

.contact-method-icon {
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: hsla(190, 100%, 50%, 0.1);
border-radius: var(--radius-sm);
color: var(--primary);
}

.whatsapp-method .contact-method-icon,
.whatsapp-icon {
background: hsla(142, 76%, 36%, 0.1);
color: var(--whatsapp);
}

.instagram-method .contact-method-icon,
.instagram-icon {
background: hsla(340, 75%, 54%, 0.1);
color: var(--instagram);
}

.contact-method-label {
display: block;
font-weight: 600;
font-size: 14px;
}

.contact-method-value {
color: var(--text-secondary);
font-size: 14px;
}

/* Contact Form */
.contact-form-wrapper {
padding: 40px;
}

.contact-form-wrapper h3 {
font-size: 24px;
margin-bottom: 30px;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
font-weight: 500;
font-size: 14px;
margin-bottom: 8px;
color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
width: 100%;
padding: 14px 18px;
background: var(--bg-primary);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-primary);
font-family: 'Inter', sans-serif;
font-size: 15px;
transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px hsla(190, 100%, 50%, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: var(--text-muted);
}

.form-group textarea {
resize: vertical;
min-height: 120px;
}

/* ==========================================
FOOTER
========================================== */
.footer {
padding: 80px 0 30px;
border-top: 1px solid var(--border);
}

.footer-content {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
gap: 60px;
margin-bottom: 60px;
}

.footer-brand .logo {
margin-bottom: 20px;
}

.footer-description {
color: var(--text-secondary);
font-size: 15px;
margin-bottom: 24px;
max-width: 300px;
}

.footer-social {
display: flex;
gap: 12px;
}

.social-link {
width: 44px;
height: 44px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
color: var(--text-secondary);
transition: var(--transition-normal);
}

.social-link:hover {
transform: translateY(-3px);
}

.social-link.instagram:hover {
background: var(--instagram);
border-color: var(--instagram);
color: white;
}

.social-link.whatsapp:hover {
background: var(--whatsapp);
border-color: var(--whatsapp);
color: white;
}

.social-link.email:hover {
background: var(--primary);
border-color: var(--primary);
color: var(--bg-primary);
}

.footer-links h4,
.footer-contact h4 {
font-size: 16px;
margin-bottom: 24px;
color: var(--text-primary);
}

.footer-links ul li,
.footer-contact ul li {
margin-bottom: 12px;
}

.footer-links a {
color: var(--text-secondary);
font-size: 15px;
}

.footer-links a:hover {
color: var(--primary);
}

.footer-contact li {
display: flex;
align-items: center;
gap: 10px;
color: var(--text-secondary);
font-size: 14px;
}

.footer-contact svg {
color: var(--primary);
}

.footer-bottom {
display: flex;
justify-content: space-between;
padding-top: 30px;
border-top: 1px solid var(--border);
color: var(--text-muted);
font-size: 14px;
}

/* ==========================================
STICKY ELEMENTS
========================================== */
.sticky-whatsapp {
position: fixed;
bottom: 100px;
right: 20px;
z-index: 999;
}

.whatsapp-btn {
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
background: var(--whatsapp);
border-radius: 50%;
color: white;
box-shadow: 0 4px 20px hsla(142, 76%, 36%, 0.4);
animation: pulse-shadow 2s ease-in-out infinite;
transition: var(--transition-normal);
}

.whatsapp-btn:hover {
transform: scale(1.1);
}

@keyframes pulse-shadow {
0%, 100% { box-shadow: 0 4px 20px hsla(142, 76%, 36%, 0.4); }
50% { box-shadow: 0 4px 40px hsla(142, 76%, 36%, 0.6); }
}

.sticky-buy-mobile {
display: none;
position: fixed;
bottom: 0;
left: 0;
right: 0;
padding: 16px 20px;
background: hsla(230, 25%, 5%, 0.95);
backdrop-filter: blur(20px);
border-top: 1px solid var(--border);
z-index: 998;
}

.buy-now-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 16px;
background: var(--gradient-primary);
border-radius: var(--radius-md);
color: var(--bg-primary);
font-weight: 700;
font-size: 16px;
box-shadow: var(--glow-primary);
}

.scroll-to-top {
position: fixed;
bottom: 30px;
right: 90px;
width: 50px;
height: 50px;
display: flex;
align-items: center;
justify-content: center;
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: 50%;
color: var(--text-primary);
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: var(--transition-normal);
z-index: 997;
}

.scroll-to-top.visible {
opacity: 1;
visibility: visible;
}

.scroll-to-top:hover {
background: var(--primary);
color: var(--bg-primary);
transform: translateY(-3px);
}

/* ==========================================
RESPONSIVE DESIGN
========================================== */
@media (max-width: 1024px) {
.services-grid,
.why-us-grid,
.testimonials-grid {
grid-template-columns: repeat(2, 1fr);
}

.footer-content {
grid-template-columns: 1fr 1fr;
gap: 40px;
}

.footer-brand {
grid-column: span 2;
}
}

@media (max-width: 768px) {
:root {
--section-padding: 60px;
}

.nav-links,
.nav-cta {
display: none;
}

.mobile-menu-btn {
display: flex;
}

.nav-links.active {
display: flex;
flex-direction: column;
position: absolute;
top: 100%;
left: 0;
right: 0;
background: var(--bg-primary);
padding: 20px;
border-bottom: 1px solid var(--border);
}

.hero-stats {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}

.stat-number,
.stat-suffix {
font-size: 32px;
}

.services-grid,
.why-us-grid,
.testimonials-grid {
grid-template-columns: 1fr;
}

.contact-wrapper {
grid-template-columns: 1fr;
}

.why-stats {
flex-direction: column;
align-items: center;
}

.timeline::before {
left: 25px;
}

.timeline-number {
width: 50px;
height: 50px;
font-size: 20px;
}

.footer-content {
grid-template-columns: 1fr;
gap: 30px;
}

.footer-brand {
grid-column: auto;
}

.footer-bottom {
flex-direction: column;
gap: 10px;
text-align: center;
}

.sticky-buy-mobile {
display: block;
}

.sticky-whatsapp {
bottom: 100px;
}

.scroll-to-top {
right: 20px;
bottom: 170px;
}
}

@media (max-width: 480px) {
.hero-title {
font-size: 28px;
}

.hero-cta {
flex-direction: column;
}

.btn-large {
width: 100%;
}

.pricing-card {
padding: 40px 25px;
}

.amount {
font-size: 56px;
}

.contact-form-wrapper {
padding: 30px 20px;
}
}
