/* ============================================
   BEACHLY - PREMIUM LANDING PAGE STYLES
   Site: landing page pública (frontend/index.html), beachly.com.br / www.beachly.com.br
   Design sofisticado com imagens de praias paradisíacas
   ============================================ */

:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --secondary: #00d4ff;
    --accent: #ff6b6b;
    --success: #51cf66;
    --warning: #ffd93d;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00d4ff 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 212, 255, 0.75) 100%);
    --gradient-dark: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(26, 26, 46, 0.85) 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

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

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.99);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

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

.logo-icon {
    font-size: 2rem;
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-partner)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:not(.btn-partner):hover::after {
    width: 100%;
}

.btn-partner {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION - PREMIUM
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 102, 204, 0.7) 0%, 
        rgba(0, 212, 255, 0.6) 100%),
        url('../images/6gdnSnTTQxeq.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at bottom, rgba(0, 212, 255, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.highlight {
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.98;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

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

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: #f0f8ff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.95;
    margin-top: 0.5rem;
    font-weight: 600;
}

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

/* ============================================
   SECTIONS
   ============================================ */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--dark);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 500;
}

/* ============================================
   FEATURES SECTION - PREMIUM
   ============================================ */

.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 102, 204, 0.3), transparent);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

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

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.feature-description {
    color: var(--gray);
    line-height: 1.8;
    font-weight: 500;
}

/* ============================================
   BEACHES SECTION - PREMIUM
   ============================================ */

.beaches-section {
    background: var(--white);
}

.beaches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.beach-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(0, 102, 204, 0.1);
    position: relative;
}

.beach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.6) 0%, rgba(0, 212, 255, 0.4) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

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

.beach-card:hover::before {
    opacity: 0.3;
}

.beach-image {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
}

.beach-card:hover .beach-image {
    transform: scale(1.08);
}

.beach-info {
    padding: 1.2rem 1.5rem;
    position: relative;
    z-index: 3;
}

.beach-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--dark);
}

.beach-city {
    color: var(--gray);
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.beach-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.beach-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--gray);
    background: rgba(0, 102, 204, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.beaches-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.beaches-cta p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
    font-weight: 700;
}

/* ============================================
   PARTNERS SECTION - PREMIUM
   ============================================ */

.partners-section {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%),
                url('../images/nrHGP4nFPiLC.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    position: relative;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 82, 163, 0.85) 100%);
    z-index: 1;
}

.partners-section > .container {
    position: relative;
    z-index: 2;
}

.partners-section .section-title,
.partners-section .section-subtitle {
    color: var(--white);
}

.partners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.partner-benefit {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.partner-benefit:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.benefit-icon {
    font-size: 3.5rem;
    flex-shrink: 0;
}

.benefit-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.benefit-content p {
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 500;
}

.partners-cta-box {
    background: rgba(255, 255, 255, 0.12);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.partners-cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    padding: 0.8rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-large {
    flex: 1;
    min-width: 200px;
}

.btn-secondary-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary-outline:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

.cta-note {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: 600;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */

.download-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    position: relative;
}

.download-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.download-section .section-title {
    margin-bottom: 1.5rem;
}

.download-section .section-subtitle {
    margin-bottom: 3rem;
    font-size: 1.3rem;
}

.app-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.app-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    background: var(--gradient-primary);
    color: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-section .section-title,
.newsletter-section .section-subtitle {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.newsletter-form input::placeholder {
    color: var(--gray);
}

.newsletter-form button {
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    text-align: center;
}

footer p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .nav-links a:not(.btn-partner) {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: 120px;
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .beaches-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-content {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        gap: 1rem;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .app-links {
        flex-direction: column;
    }
    
    .app-link {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-links.active {
        max-height: 500px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat {
        min-width: 100px;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 3rem;
    }
}
