/* CondoWay CSS Stylesheet */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Header Styles */
header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E86AB;
    text-decoration: none;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #2E86AB;
}

.login-btn {
    background: #2E86AB;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    border: 1px solid #2E86AB;
}

.login-btn:hover {
    background: #236a87;
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: 1rem;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #2E86AB;
    margin: 2px 0;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-container {
    margin-bottom: 3rem;
}

.cta-primary {
    display: inline-block;
    background: #2E86AB;
    color: white;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    margin-right: 1rem;
}

.cta-primary:hover {
    background: #236a87;
    transform: translateY(-1px);
}

.cta-secondary {
    display: inline-block;
    background: transparent;
    color: #2E86AB;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid #2E86AB;
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: #2E86AB;
    color: white;
}

.already-client {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.already-client a {
    color: #2E86AB;
    text-decoration: none;
    font-weight: 600;
}

/* Trust Indicators */
.trust-section {
    background: #f8f9fa;
    padding: 3rem 0;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2E86AB;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* How it works */
.how-it-works {
    padding: 4rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #2E86AB;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
}

.step p {
    color: #666;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s;
}

.feature-item:hover {
    box-shadow: 0 4px 12px rgba(46, 134, 171, 0.1);
    border-color: #2E86AB;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #666;
    font-size: 0.95rem;
}

/* Target Section */
.target-section {
    padding: 4rem 0;
    background: white;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.target-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #2E86AB;
    transition: all 0.3s;
}

.target-card:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.target-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.target-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.target-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2E86AB;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #2E86AB;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background: #236a87;
}

/* FAQ Section */
.faq-section {
    background: white;
    padding: 4rem 0;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Page Content */
.page-content {
    display: none;
    min-height: calc(100vh - 80px);
}

.page-content.active {
    display: block;
}

.page-header {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Mobile Header */
    .nav-container {
        position: relative;
    }

    .nav-left {
        width: 100%;
        justify-content: space-between;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e5e5;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        display: none;
        z-index: 999;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    .main-nav li {
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav li:last-child {
        border-bottom: none;
    }

    .main-nav a {
        display: block;
        padding: 1rem 2rem;
        transition: background-color 0.3s;
    }

    .main-nav a:hover,
    .main-nav a.active {
        background-color: #f8f9fa;
        color: #2E86AB;
    }

    .nav-right {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e5e5;
        padding: 1rem 2rem;
        display: none;
        z-index: 998;
    }

    .nav-right.active {
        display: block;
    }

    /* Mobile hamburger animation */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    /* Other mobile adjustments */
    .hero h1 {
        font-size: 2.2rem;
    }

    .cta-primary,
    .cta-secondary {
        display: block;
        margin: 0.5rem 0;
        text-align: center;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

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

    .target-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
