/* Reset & Variables */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #10b981;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f9fafb;
    --border: #e5e7eb;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    min-height: 80px;
}

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

.logo-img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.logo .highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text);
    transition: color 0.3s;
}

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

.btn-contact {
    background: var(--primary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* RHOF Immo Section */
.rhof-immo {
    padding: 6rem 0;
    background: white;
}

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

.badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.solution-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.solution-text h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.solution-text p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.features-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.check {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.features-list strong {
    color: var(--text);
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.app-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--text);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    opacity: 0.7;
}

.app-badge:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.app-badge svg {
    width: 24px;
    height: 24px;
}

/* App Mockup */
.app-mockup {
    perspective: 1000px;
}

.mockup-screen {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: rotateY(-5deg);
    transition: transform 0.3s;
}

.mockup-screen:hover {
    transform: rotateY(0deg);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.mockup-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.mockup-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.stat:last-child {
    border-bottom: none;
}

.stat span {
    color: var(--text-light);
}

.stat strong {
    color: var(--primary);
    font-size: 1.3rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.initial {
    font-size: 5rem;
    color: white;
    font-weight: 700;
}

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

.about-text h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.credentials {
    display: grid;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.credential {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.credential .icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    flex-shrink: 0;
}

.credential .icon svg {
    width: 100%;
    height: 100%;
}

.credential strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.credential p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: white;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-form-container {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

.contact-form .btn {
    width: 100%;
    cursor: pointer;
    border: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 50px;
    height: 50px;
    color: var(--primary);
    margin: 0 auto 1rem;
    display: block;
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.contact-card p {
    color: var(--primary);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand .highlight {
    color: var(--primary);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Legal Page */
.legal-content {
    padding: 6rem 0;
    background: var(--bg-light);
    min-height: 60vh;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.legal-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.legal-section h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.legal-section h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-section ul {
    color: var(--text-light);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section strong {
    color: var(--text);
    font-weight: 600;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Support Page Styles */
.support-steps {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.step strong {
    display: block;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

.faq-item {
    margin: 2rem 0;
}

.faq-item h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
}

.faq-item h4 {
    font-size: 1.1rem;
    color: var(--text);
    margin: 1.5rem 0 0.5rem;
}

.faq-item p,
.faq-item ul {
    margin-bottom: 1rem;
}

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

.contact-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    color: var(--primary);
}

.contact-card p {
    margin: 0.5rem 0;
}

.contact-card strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.resource-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.resource-list li {
    margin: 1rem 0;
}

.resource-list a {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: var(--bg-light);
    color: var(--text);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
}

.resource-list a:hover {
    background: var(--primary);
    color: white;
    transform: translateX(10px);
}

/* Responsive */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.3s;
        z-index: 99;
    }

    .nav-menu.active {
        transform: translateY(0);
    }

    .solution-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        padding: 1.5rem 1rem 1rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services,
    .rhof-immo,
    .about,
    .contact {
        padding: 4rem 0;
    }
}
