/* Global Styles */
:root {
    --primary-color: #0087ca;
    --primary-dark: #006998;
    --secondary-color: #34c759;
    --text-color: #333;
    --text-light: #666;
    --background-light: #f5f9fc;
    --white: #ffffff;
    --border-color: #eaeaea;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
}

p {
    margin-bottom: 15px;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

section {
    padding: 80px 0;
}

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

.section-header h2 {
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: #ff5722;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #e64a19;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

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

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

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

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

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    width: 100%;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

.logo h1 {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.8rem;
}

.logo span {
    color: var(--primary-color);
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    color: var(--text-color);
    font-weight: 500;
}

nav a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #0087ca 0%, #30c4ff 100%);
    color: white;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat span {
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

.stat p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.8);
}

.hero-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 0;
    padding-bottom: 70%; /* This creates a responsive container with 70% height relative to width */
    min-height: unset;
}

.hero-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 12px 0;
    font-size: 0.9rem;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.image-badge p {
    margin-bottom: 0;
}

/* Features Section */
.features {
    background-color: var(--background-light);
}

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

.feature-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(0, 135, 202, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .material-icons {
    font-size: 28px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Preview Section */
.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.preview-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
    background-image: url('assets/images/hero-aquarium.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.preview-image img {
    display: none; /* Hide any img elements that might be added in the future */
}

.preview-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.preview-image:hover .overlay {
    opacity: 1;
}

.preview-chapters {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    height: 100%;
}

.chapters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-grow: 1;
}

.chapter {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.chapter:hover {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.chapter h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.chapter p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.preview-chapters .btn {
    margin-top: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--white);
}

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

.testimonial-card {
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 20px;
}

.testimonial-content h4 {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-info {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(135deg, #30c4ff 0%, #0087ca 100%);
    position: relative;
    overflow: hidden;
}

.pricing .section-header h2,
.pricing .section-header p {
    color: white;
}

.pricing::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.pricing::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    padding: 40px;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    text-align: center;
    padding-bottom: 30px;
    position: relative;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-light);
}

.current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.savings-badge {
    position: absolute;
    top: -25px;
    right: 30px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(48, 224, 96, 0.3);
    z-index: 2;
}

.pricing-features {
    margin: 30px 0;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.guarantee {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* FAQ Section */
.faq {
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--background-light);
    padding: 25px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.faq-item:hover {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #bbb;
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 50px;
}

.link-group h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1rem;
}

.link-group a {
    display: block;
    color: #bbb;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container,
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .cta-buttons,
    .hero-stats {
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .hero {
        padding-top: 180px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .feature-grid,
    .testimonial-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: auto;
    transition: all 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 85vh;
    animation: modalopen 0.5s;
}

.modal-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    margin: 0 auto;
    position: relative;
}

@keyframes modalopen {
    from {opacity: 0; transform: scale(0.8);}
    to {opacity: 1; transform: scale(1);}
}

.modal-image {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    border: 5px solid white;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: var(--border-radius);
}

.modal-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 12px 0;
    text-align: center;
    color: white;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.modal-caption h3 {
    color: white;
    margin-bottom: 5px;
    font-weight: 600;
}

.modal-caption p {
    color: white;
    margin-bottom: 0;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--background-light);
}

/* Newsletter Section */
.newsletter {
    background: #f5f9fc;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 160, 240, 0.08);
    z-index: 0;
}

.newsletter::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 160, 240, 0.08);
    z-index: 0;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    overflow: hidden;
}

.form-group input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.form-group .btn {
    border-radius: 0 30px 30px 0;
    padding: 0 30px;
    font-size: 1rem;
    background: linear-gradient(135deg, #0087ca, #30c4ff);
    transition: all 0.3s ease;
    border: none;
}

.form-group .btn:hover {
    background: linear-gradient(135deg, #006998, #0087ca);
    transform: translateY(0);
}

.form-disclaimer {
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-light);
}

@media (max-width: 576px) {
    .form-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .form-group input {
        border-radius: 15px 15px 0 0;
        padding: 15px;
        text-align: center;
    }
    
    .form-group .btn {
        border-radius: 0 0 15px 15px;
        padding: 12px;
    }
}

/* Animação de pulsação para o botão */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 5px 20px rgba(255, 87, 34, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
    }
}

.hero .btn-primary {
    animation: pulse 2s infinite;
}

.hero .btn-primary:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.5);
    transition: all 0.3s ease;
}

/* Mensagem de sucesso do formulário */
.success-message {
    background-color: #30e060;
    color: white;
    padding: 15px;
    text-align: center;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(48, 224, 96, 0.3);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
} 