/* Base Styles */
:root {
    --primary: #ff6b6b;
    --primary-light: #ff8e8e;
    --primary-dark: #e05555;
    --secondary: #4ecdc4;
    --secondary-light: #6fded6;
    --secondary-dark: #3ab7af;
    --dark: #292f36;
    --light: #f7f9f9;
    --gray: #ced4da;
    --text: #333;
    --text-light: #6c757d;
    --white: #ffffff;
    --radius: 5px;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    font-size: 16px;
    overflow-x: hidden;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h2 {
    font-size: 2rem;
    position: relative;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: 80px 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(255, 107, 107, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-large {
    padding: 14px 30px;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-large:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.5);
}

/* Navbar */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    width: 180px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

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

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--text);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s;
}

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

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

.nav-cta {
    background-color: var(--primary);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 20;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    background-color: var(--primary);
    height: 3px;
    width: 30px;
    border-radius: 3px;
    position: absolute;
    transition: var(--transition);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before, .hamburger::after {
    content: '';
    left: 0;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(247, 249, 249, 1) 0%, rgba(206, 212, 218, 0.3) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    color: var(--secondary);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    max-width: 500px;
}

.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    animation: float 6s ease-in-out infinite;
}

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

/* About Section */
.about-section {
    background-color: var(--white);
    position: relative;
}

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

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.divider span {
    height: 3px;
    border-radius: 3px;
}

.divider span:nth-child(1),
.divider span:nth-child(3) {
    width: 30px;
    background-color: var(--secondary);
}

.divider span:nth-child(2) {
    width: 60px;
    background-color: var(--primary);
}

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

.info-card {
    background-color: var(--white);
    padding: 40px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 3px solid transparent;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-top: 3px solid var(--primary);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.info-card p {
    color: var(--text-light);
}

/* How it Works Section */
.how-section {
    background: linear-gradient(135deg, #fff6f6 0%, #f0fffe 100%);
}

.steps-container {
    counter-reset: step-counter;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    position: relative;
}

.step:last-child {
    margin-bottom: 0;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 70px;
    left: 25px;
    height: calc(100% - 50px);
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand h3 {
    color: var(--light);
    margin-bottom: 20px;
}

.footer-brand p {
    opacity: 0.8;
    max-width: 350px;
}

.footer-logo {
    margin-top: 30px;
}

.footer-links h4,
.footer-legal h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-links h4::after,
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-links ul,
.footer-legal ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a,
.footer-legal a {
    color: var(--gray);
    transition: var(--transition);
    opacity: 0.8;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--primary-light);
    opacity: 1;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

.copyright p:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-logo {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        transition: var(--transition);
        z-index: 10;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0 0 20px 0;
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .menu-active .hamburger {
        background-color: transparent;
    }
    
    .menu-active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }
    
    .menu-active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
}
