/* 
   GanApp Studio - Main Stylesheet
   Color Palette:
   - Gradient Background: #6F00FF → #00F5C6
   - Primary Accent: #FF6B6B (coral)
   - Secondary Color: #A0FFE6 (mint)
   - Text Color: #222222 (dark gray)
   - Background Color: #FFFFFF (white)
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #f8f8f8;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #6F00FF;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF6B6B;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #6F00FF, #00F5C6);
    margin: 0.5rem auto 0;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #FF6B6B;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    background-color: #ff5252;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background-color: #A0FFE6;
    color: #222222;
    box-shadow: 0 4px 15px rgba(160, 255, 230, 0.3);
}

.btn-secondary:hover {
    background-color: #8aeed1;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(160, 255, 230, 0.4);
}

/* Header and Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: #222222;
    font-weight: bold;
    padding: 0.5rem;
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, #6F00FF, #00F5C6);
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
}

@media screen and (max-width: 768px) {
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 1rem;
        z-index: 999;
    }
    
    .nav-toggle-label span, 
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        display: block;
        background: #222222;
        height: 2px;
        width: 2rem;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label span::before, 
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        width: 100%;
        transform: scale(1, 0);
        transform-origin: top;
        transition: transform 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    nav ul li {
        margin: 0;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 1rem;
        opacity: 0;
        transition: opacity 0.15s ease;
    }
    
    .nav-toggle:checked ~ nav {
        transform: scale(1, 1);
    }
    
    .nav-toggle:checked ~ nav a {
        opacity: 1;
        transition: opacity 0.3s ease 0.15s;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-alt {
    background-color: rgba(160, 255, 230, 0.1);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.gradient-bg {
    background: linear-gradient(135deg, #6F00FF, #00F5C6);
    animation: gradientBG 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero-content h2:after {
    background: white;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-card .icon {
    margin-bottom: 1.5rem;
}

.advantage-card .icon svg {
    fill: none;
    stroke: #6F00FF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Apps Section */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.app-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
}

.app-rating {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #6F00FF, #00F5C6);
    color: white;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.app-card h3 {
    margin: 1rem 0;
}

.app-card p {
    margin-bottom: 1.5rem;
}

/* Earning Types Section */
.earnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.earning-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.earning-info {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.earning-info span {
    background-color: #f0f0f0;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 5px;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.testimonial-content {
    padding: 2rem;
}

.testimonial-name {
    font-weight: bold;
    color: #6F00FF;
    margin-top: 1rem;
}

/* Contact Form Section */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

input, select, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #6F00FF;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: 5px;
    overflow: hidden;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: block;
    padding: 1rem;
    background-color: white;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    border-left: 3px solid #6F00FF;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-toggle:checked ~ .faq-question:after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: white;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 1000px;
}

.faq-answer p {
    padding: 1rem;
    border-left: 3px solid #A0FFE6;
}

/* Footer */
footer {
    background-color: #222222;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h3 {
    color: #A0FFE6;
    margin-bottom: 1.5rem;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer a {
    color: white;
}

footer a:hover {
    color: #A0FFE6;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    z-index: 1000;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    max-width: 400px;
}

.cookie-content {
    padding: 1.5rem;
}

.cookie-content h3 {
    margin-bottom: 1rem;
}

.cookie-content p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .cookie-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .advantages-grid, 
    .apps-grid, 
    .earnings-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.advantage-card, 
.app-card, 
.earning-card, 
.testimonial-card {
    animation: fadeIn 0.5s ease forwards;
}

.advantage-card:nth-child(1) { animation-delay: 0.1s; }
.advantage-card:nth-child(2) { animation-delay: 0.2s; }
.advantage-card:nth-child(3) { animation-delay: 0.3s; }

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.app-card:nth-child(4) { animation-delay: 0.4s; }

/* Accessibility */
:focus {
    outline: 2px dashed #FF6B6B;
    outline-offset: 3px;
}

/* Print styles */
@media print {
    header, 
    footer, 
    .cookie-popup {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
} 