/* Reset and Base Styles */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #ff3e78;
    --secondary: #ff9f43;
    --dark: #1a1a2e;
    --dark-blue: #3a506b;
    --light-blue: #5bc0be;
    --light: #f8f8f8;
    --gray: #6c757d;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-secondary {
    background: var(--dark-blue);
    margin-left: 15px;
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

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

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

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

.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

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

.menu {
    display: flex;
    gap: 2.5rem;
}

.menu a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

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

.nav-cta {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white) !important;
    border-radius: 30px;
}

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

.menu-toggle,
.hamburger {
    display: none;
}

/* Hero Section */
.hero {
    padding: 10rem 0 8rem;
    background: linear-gradient(135deg, #1a1a2e, #3a506b);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.hero-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.wave {
    width: 100%;
    height: 150px;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--white);
}

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

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
}

.feature-icon {
    margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.step {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* Features Detail Section */
.features-detail {
    padding: 6rem 0;
    background-color: var(--white);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    margin-top: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: 0;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background-color: var(--light);
}

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-item h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

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

.cta-section h2 {
    color: var(--white);
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: var(--white);
    color: var(--primary);
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    background-color: var(--dark);
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-nav-column h4 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.footer-nav-column ul li {
    margin-bottom: 0.75rem;
}

.footer-nav-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav-column ul li a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1000;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--dark);
        margin-bottom: 5px;
        transition: var(--transition);
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }
    
    .menu-toggle:checked ~ .menu {
        right: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:first-child {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle:checked ~ .hamburger span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .hamburger span:last-child {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-secondary {
        margin-left: 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .feature-card, .step, .faq-item {
        padding: 1.5rem;
    }
    
    .feature-grid, .steps {
        gap: 1.5rem;
    }
}
