/* Base Styles */
:root {
    --primary-color: #ff6b9d;
    --secondary-color: #7c4dff;
    --accent-color: #00bcd4;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --font-main: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    background-image: url('../images/background.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: top;
    background-repeat: no-repeat;
    background-blend-mode: normal;
}

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

a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

section {
    padding: 80px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
    color: var(--dark-color);
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

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

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

.header-social {
    display: flex;
    align-items: center;
}

.header-social a {
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-social a:hover {
    color: var(--primary-color);
}

.header-social svg {
    fill: var(--dark-color);
    width: 1.2rem;
    height: 1.2rem;
    transition: fill 0.3s ease;
}

.header-social a:hover svg {
    fill: var(--primary-color);
}

.follow-text {
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: transparent;
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-align: left;
}

.hero-content h2:after {
    margin: 15px 0;
}

.hero-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.marin-placeholder {
    width: 400px;
    height: 500px;
    background-color: transparent;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.marin-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

/* About Section */
.about {
    background-color: rgba(255, 255, 255, 0.7);
}

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

.about-text {
    flex: 1;
    padding-right: 50px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.about-text ul {
    margin-left: 20px;
}

.about-text ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.about-text ul li:before {
    content: '✦';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
}

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

.character-placeholder {
    width: 400px;
    height: auto;
    min-height: 450px;
    background-color: transparent;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.conversation-scene {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.conversation-scene:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    background-color: rgba(248, 249, 250, 0.7);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    padding: 10px 0;
}

.feature-card {
    background-color: white;
    padding: 20px 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto;
    min-height: 400px;
    max-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

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

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

.feature-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    padding: 0 5px;
}

/* Unique Features Section */
.unique {
    background-color: rgba(255, 255, 255, 0.7);
}

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

.unique-feature {
    text-align: center;
    padding: 30px;
    transition: transform 0.3s ease;
}

.unique-feature:hover {
    transform: translateY(-10px);
}

.unique-feature i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.unique-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.unique-feature p {
    color: #666;
}

/* Vision Section */
.vision {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.8), rgba(124, 77, 255, 0.8));
    color: white;
    text-align: center;
}

.vision h2 {
    color: white;
}

.vision h2:after {
    background: white;
}

.vision-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.vision-content blockquote {
    font-size: 2rem;
    font-style: italic;
    margin: 40px 0;
    position: relative;
    padding: 0 50px;
}

.vision-content blockquote:before,
.vision-content blockquote:after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    opacity: 0.3;
}

.vision-content blockquote:before {
    top: -20px;
    left: 0;
}

.vision-content blockquote:after {
    bottom: -40px;
    right: 0;
}

/* Contact Section */
.contact {
    background-color: rgba(248, 249, 250, 0.7);
    text-align: center;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

#contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

#contact-form .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0;
    text-align: center;
}

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

.social-links a {
    color: white;
    margin-left: 15px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

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

.social-links svg {
    fill: white;
    width: 1.5rem;
    height: 1.5rem;
    transition: fill 0.3s ease;
}

.social-links a:hover svg {
    fill: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container,
    .about-content {
        flex-direction: column;
    }

    .hero-content,
    .about-text {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-content h2 {
        text-align: center;
    }

    .hero-content h2:after {
        margin: 15px auto;
    }

    .marin-placeholder,
    .character-placeholder {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 15px;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li {
        margin: 0 15px;
    }
    
    .header-social {
        margin-top: 10px;
        justify-content: center;
    }
    
    .header-social a {
        padding: 5px 10px;
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content h3 {
        font-size: 1.5rem;
    }

    .vision-content blockquote {
        font-size: 1.5rem;
        padding: 0 30px;
    }

    footer .container {
        flex-direction: column;
    }

    footer p {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    nav ul {
        flex-wrap: wrap;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .marin-placeholder,
    .character-placeholder {
        width: 250px;
        height: 350px;
    }

    .feature-grid,
    .unique-features {
        grid-template-columns: 1fr;
    }
}