/* Variables */
:root {
    --primary: #0071e3;
    --primary-dark: #0051a2;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --background: #fbfbfd;
    --surface: #ffffff;
    --border: #d2d2d7;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
}

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

/* Base */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.apple-loader {
    width: 40px;
    height: 40px;
    position: relative;
}

.apple-loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Garantir que o body não tenha overflow horizontal */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(251, 251, 253, 0.95);
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 18px;
}

.logo-img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    position: relative;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-cta::after {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.gradient-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-1);
    top: -200px;
    right: -200px;
}

.gradient-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-2);
    bottom: -100px;
    left: -100px;
    animation-delay: -5s;
}

.gradient-3 {
    width: 500px;
    height: 500px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: slideIn 0.8s ease-out backwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.1s;
}

.title-line:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.macbook-container {
    position: relative;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.macbook-container:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.macbook-img {
    width: 100%;
    height: auto;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s ease-in-out infinite;
}

.card-1 {
    top: 20%;
    right: -40px;
}

.card-2 {
    bottom: 30%;
    left: -40px;
    animation-delay: -1s;
}

.card-3 {
    bottom: 10%;
    right: 20px;
    animation-delay: -2s;
}

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

.card-icon {
    font-size: 24px;
}

.card-text {
    font-size: 14px;
    font-weight: 600;
}

/* Features Grid */
.features-grid {
    padding: 80px 0;
    background: white;
}

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

.feature-card {
    padding: 40px;
    background: var(--background);
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Products Section */
.products {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

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

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 113, 227, 0.3);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: 24px;
}

.product-card:hover::after {
    opacity: 1;
}

.product-card.featured {
    box-shadow: 0 0 0 2px var(--primary);
    background: rgba(255, 255, 255, 0.98);
}

.product-card.featured:hover {
    box-shadow: 0 0 0 2px var(--primary), 0 20px 40px rgba(0, 113, 227, 0.15);
}

.product-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 113, 227, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card:hover .product-badge {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.product-badge.new {
    background: rgba(255, 59, 48, 0.95);
}

.product-card:hover .product-badge.new {
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.3);
}

.product-image {
    height: 300px;
    overflow: hidden;
    background: var(--background);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
}

.product-card:hover .product-image img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.product-content {
    padding: 32px;
}

.product-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.product-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-1);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.product-card:hover .product-chip::before {
    left: 100%;
}

.chip-icon {
    width: 16px;
    height: 16px;
}

.chip-name {
    font-size: 0.875rem;
    font-weight: 700;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--background);
    border-radius: 16px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.product-card:hover .feature-item svg {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(0, 113, 227, 0.3));
}

.feature-item span {
    font-weight: 500;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.spec {
    text-align: center;
}

.spec-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.spec-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.product-price {
    margin-bottom: 24px;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-right: 4px;
}

.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    transition: all 0.3s ease;
}

.product-card:hover .price-value {
    transform: scale(1.05);
    color: var(--primary);
}

.product-btn {
    width: 100%;
    padding: 16px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.product-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.product-btn:hover::before {
    left: 100%;
}

.product-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.product-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.3);
}

.product-btn:hover svg {
    transform: translateX(2px);
}

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

.product-btn.primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
}

.product-btn.primary:hover {
    background: var(--primary-dark);
}

/* Apple Products Section */
.apple-products {
    padding: 80px 0 100px 0;
    background: white;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.apple-products .container {
    padding: 0 24px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Carousel */
.releases-carousel {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Bordas ajustadas - Sem gradientes */
.releases-carousel::before,
.releases-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    z-index: 20;
    pointer-events: none;
    opacity: 1;
}

.carousel-container {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 24px 20px 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Desktop - 3 cards */
@media (min-width: 1025px) {
    .carousel-container {
        width: calc(3 * 320px + 2 * 24px); /* 3 cards + 2 gaps */
        max-width: calc(3 * 320px + 2 * 24px);
    }
}

/* Tablet - 2 cards */
@media (max-width: 1024px) and (min-width: 769px) {
    .carousel-container {
        width: calc(2 * 320px + 24px); /* 2 cards + 1 gap */
        max-width: calc(2 * 320px + 24px);
    }
    
    .releases-carousel::before,
    .releases-carousel::after {
        width: 32px;
    }
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.release-card {
    flex: 0 0 320px;
    position: relative;
    background: var(--background);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
    width: 320px;
    max-width: 320px;
}

.release-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.release-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.release-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: 16px;
}

.release-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.release-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


.apple-cta {
    text-align: center;
    margin-top: 32px;
}

.custom-config-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.macbook-cta {
    text-align: center;
    margin-top: 48px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--background);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-title span {
    display: block;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
}

.about-feature span {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.feature-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    background: var(--gradient-1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    flex-grow: 0;
}

.image-wrapper {
    position: relative;
}

.image-wrapper img {
    width: 80%;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
}

.image-decoration {
    display: none;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    overflow: hidden;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 100%;
}

.contact-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    gap: 24px;
    width: 100%;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-method:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.contact-address {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.method-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.method-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.method-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.method-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Map Container */
.map-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
    width: 100%;
    max-width: 100%;
}

.map-container iframe {
    border-radius: 24px;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    border: none;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 24px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--background);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-button {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.form-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3);
}

.form-button svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer {
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 113, 227, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(103, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 25%, #16213e 50%, #0f1419 75%, #0a0a1a 100%);
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    padding: 80px 0 0 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 113, 227, 0.02) 2px,
            rgba(0, 113, 227, 0.02) 4px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(103, 126, 234, 0.02) 2px,
            rgba(103, 126, 234, 0.02) 4px
        );
    background-size: 40px 40px;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.footer-logo {
    max-height: 48px;
    max-width: 200px;
    width: auto;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
    object-fit: contain;
}

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

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.4);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.footer-column h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-column a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-badges {
    display: flex;
    gap: 24px;
}

.footer-credits {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.labcoop-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.labcoop-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.labcoop-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(1.1);
}

.apple-badge, .tech-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.apple-badge svg, .tech-badge svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(251, 251, 253, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 16px 0;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        transition: all 0.2s ease;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-link:hover {
        color: var(--primary);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        background: var(--primary);
        color: white;
        padding: 12px 24px;
        border-radius: 20px;
        margin-top: 8px;
    }
    
    .nav-cta:hover {
        background: var(--primary-dark);
        color: white;
    }
    
    .nav-toggle.active span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .release-card {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
        margin: 0 8px;
    }
    
    .carousel-container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px 20px 20px;
        margin: 0;
        gap: 16px;
    }
    
    .releases-carousel::before,
    .releases-carousel::after {
        width: 20px;
    }
    
    .apple-products {
        padding: 60px 16px 80px 16px;
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    
    .apple-products .container {
        padding: 0 !important;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .apple-products .container {
        padding: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .apple-products .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .releases-carousel {
        margin-bottom: 30px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .apple-cta {
        margin-top: 24px;
    }
    
    .release-card img {
        height: 180px;
    }
    
    .carousel-nav {
        display: flex;
        margin-top: 16px;
        margin-bottom: 15px;
        padding-bottom: 5px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-image {
        order: -1;
    }
    
    .btn-secondary {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .btn-primary {
        margin: 0 auto;
        padding: 14px 32px;
        font-size: 1rem;
        min-width: 160px;
    }
    
    .floating-card {
        display: none;
    }
    
    .macbook-container {
        position: relative;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    
    .macbook-img {
        width: 100%;
        height: auto;
    }
    
    .features-wrapper {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .image-wrapper img {
        width: 100%;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .contact-header {
        margin-bottom: 40px;
        padding: 0 16px;
    }
    
    .contact-title,
    .contact-subtitle {
        text-align: center;
    }
    
    .contact-methods {
        text-align: left;
        width: 100%;
        max-width: 100%;
    }
    
    .contact-method,
    .contact-address {
        padding: 20px;
        gap: 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .method-icon {
        width: 48px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .method-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .method-value {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .about-text {
        text-align: center;
    }
    
    .feature-check {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
    
    .map-container {
        height: 300px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 16px;
    }
    
    .map-container iframe {
        width: 100%;
        height: 100%;
        max-width: 100%;
        border-radius: 16px;
    }
    
    .contact-form {
        padding: 24px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .footer {
        padding: 40px 0 0 0;
    }
    
    .footer-main {
        display: flex;
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-credits {
        justify-content: center;
    }
    
    .footer-badges {
        gap: 16px;
    }
    
    .footer-brand {
        order: 1;
        align-items: center;
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-links-section {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding: 24px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-column {
        padding: 20px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        backdrop-filter: blur(10px);
    }
    
    .footer-column h4 {
        margin-bottom: 16px;
        font-size: 1rem;
        color: white;
    }
    
    .footer-column a {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-contact h4 {
        color: white;
    }
    
    .contact-item {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-copy {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-credits {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-contact {
        order: 3;
        padding: 24px 0;
    }
    
    .footer-contact h4 {
        margin-bottom: 20px;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 12px;
        font-size: 0.9rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 16px;
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 20px 0;
        margin-top: 20px;
    }
    
    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .apple-badge, .tech-badge {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
    
    .footer-logo {
        max-height: 36px;
        max-width: 140px;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
        margin-top: 8px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .apple-products {
        padding: 40px 12px 60px 12px;
        margin: 0;
    }
    
    .apple-products .container {
        padding: 0 !important;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .apple-products .container {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
    
    .release-card {
        flex: 0 0 260px;
        width: 260px;
        max-width: 260px;
        padding: 16px;
        margin: 0 6px;
    }
    
    .carousel-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px 20px 16px;
        gap: 12px;
    }
    
    .releases-carousel::before,
    .releases-carousel::after {
        width: 16px;
    }
    
    .release-card img {
        height: 160px;
    }
    
    .contact-wrapper {
        padding: 0 12px;
        gap: 32px;
    }
    
    .contact-header {
        padding: 0 12px;
        margin-bottom: 32px;
    }
    
    .contact-method,
    .contact-address {
        padding: 16px;
        gap: 12px;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
    }
    
    .method-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .method-value {
        font-size: 0.9rem;
    }
    
    .map-container {
        height: 250px;
        border-radius: 12px;
    }
    
    .map-container iframe {
        border-radius: 12px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .feature-check {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
        flex-shrink: 0 !important;
        flex-grow: 0 !important;
    }
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.whatsapp-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.8);
}

.whatsapp-btn:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-8px);
}

.whatsapp-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 64px;
    height: 64px;
    border: 2px solid #25d366;
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
    pointer-events: none;
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-btn {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-pulse {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Enhanced Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.animate-item {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s ease-out;
}

.animate-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Hero specific animations */
.hero .hero-title .title-line {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.hero .hero-title .title-line:nth-child(1) { animation-delay: 0.1s; }
.hero .hero-title .title-line:nth-child(2) { animation-delay: 0.2s; }
.hero .hero-title .title-line:nth-child(3) { animation-delay: 0.3s; }

.hero .hero-subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.4s forwards;
}

.hero .hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.5s forwards;
}

.hero .hero-image {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out 0.3s forwards;
}

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

/* Section titles animation */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate .section-title {
    opacity: 1;
    transform: translateY(0);
}

.section-subtitle {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease-out 0.1s;
}

.animate .section-subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for cards */
.product-card {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate .product-card:nth-child(1) { transition-delay: 0.1s; }
.animate .product-card:nth-child(2) { transition-delay: 0.2s; }
.animate .product-card:nth-child(3) { transition-delay: 0.3s; }

.animate .product-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Release cards animation */
.release-card {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate .release-card:nth-child(1) { transition-delay: 0.1s; }
.animate .release-card:nth-child(2) { transition-delay: 0.2s; }
.animate .release-card:nth-child(3) { transition-delay: 0.3s; }
.animate .release-card:nth-child(4) { transition-delay: 0.4s; }
.animate .release-card:nth-child(5) { transition-delay: 0.5s; }
.animate .release-card:nth-child(6) { transition-delay: 0.6s; }

.animate .release-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* About section specific */
.about-title span {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate .about-title .line-1 { transition-delay: 0.1s; }
.animate .about-title .line-2 { transition-delay: 0.2s; }
.animate .about-title .line-3 { transition-delay: 0.3s; }

.animate .about-title span {
    opacity: 1;
    transform: translateY(0);
}

/* Contact form animation */
.contact-form {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

.animate .contact-form {
    opacity: 1;
    transform: translateX(0);
}

.contact-info {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate .contact-info {
    opacity: 1;
    transform: translateX(0);
}

/* Legacy support */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}