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

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --text: #1a1a1a;
    --text-light: #666;
    --bg: #ffffff;
    --bg-light: #fafafa;
    --border: #e5e5e5;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.navbar {
    padding: 16px 0;
}

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

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    position: relative;
    margin-bottom: 80px;
}

.hero-image {
    width: 100%;
    height: 60vh;
    min-height: 500px;
    max-height: 700px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-content {
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 20px;
}

/* Info Section */
.info-section {
    padding: 80px 0;
}

.info-section:nth-child(even) {
    background: var(--bg-light);
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.info-section-reverse .info-content {
    direction: rtl;
}

.info-section-reverse .info-content > * {
    direction: ltr;
}

.info-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.info-image:hover img {
    transform: scale(1.05);
}

.info-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.info-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonials-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

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

.testimonial-card {
    background: var(--bg);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.testimonial-text {
    font-size: 17px;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    text-align: right;
    font-size: 15px;
}

/* Features */
.features-section {
    padding: 80px 0;
}

.features-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 64px;
    letter-spacing: -0.02em;
}

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

.feature-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--bg);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.cta-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.cta-image:hover img {
    transform: scale(1.05);
}

.cta-text h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 32px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-header p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.page-content img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 48px;
    display: block;
}

.page-content h2 {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--primary);
    margin: 48px 0 24px;
    letter-spacing: -0.02em;
}

.page-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
    margin: 32px 0 16px;
}

.page-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

.page-content ul,
.page-content ol {
    margin-left: 24px;
    margin-bottom: 24px;
}

.page-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* Price Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 64px 0;
}

.pricing-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.pricing-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.pricing-card .price {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0;
    line-height: 1;
}

.pricing-card .price-period {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 400;
}

.pricing-card p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 24px;
}

/* FAQ */
.faq-section {
    margin: 64px 0;
}

.faq-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-question {
    background: var(--bg-light);
    padding: 24px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 24px;
}

/* Contact Form */
.contact-form {
    background: var(--bg);
    padding: 48px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 64px 0;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.contact-info {
    background: var(--bg-light);
    padding: 48px;
    border-radius: 12px;
    margin: 64px 0;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.contact-info p {
    font-size: 17px;
    margin-bottom: 16px;
    color: var(--text-light);
}

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

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--text);
    color: white;
    padding: 64px 0 24px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 56px;
    width: auto;
    margin-bottom: 24px;
    filter: brightness(0) invert(1);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact p {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary);
}

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

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 73px;
        flex-direction: column;
        background: var(--bg);
        width: 100%;
        text-align: left;
        transition: var(--transition);
        box-shadow: var(--shadow-hover);
        padding: 32px 24px;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu a {
        display: block;
        padding: 16px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .info-content,
    .cta-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .info-section-reverse .info-content {
        direction: ltr;
    }

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

    .hero-content,
    .page-content {
        padding: 48px 0;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
