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

:root {
    /* Primary palette - warm elegant (matched to CRM) */
    --primary: #8B7355;
    --primary-dark: #6B5545;
    --primary-light: #A89078;
    --accent: #C4A777;
    --accent-light: #D4C4A7;

    /* Status colors */
    --success: #7BA882;
    --warning: #C9A85A;
    --danger: #B56B6B;

    /* Neutral palette - paper-like */
    --paper: #E8E4DF;
    --paper-light: #F2EFEB;
    --paper-dark: #D8D4CF;
    --dark: #3D3A36;
    --dark-bg: #3D3A36;
    --gray: #7A7672;
    --light-bg: #F2EFEB;
    --text-dark: #3D3A36;
    --text-light: #7A7672;
    --white: #FDFCFB;

    /* Neumorphic shadows */
    --shadow-raised: 6px 6px 12px rgba(180, 175, 168, 0.6), -6px -6px 12px rgba(255, 255, 255, 0.8);
    --shadow-pressed: inset 4px 4px 8px rgba(180, 175, 168, 0.5), inset -4px -4px 8px rgba(255, 255, 255, 0.8);
    --shadow-sm: 3px 3px 6px rgba(180, 175, 168, 0.4), -3px -3px 6px rgba(255, 255, 255, 0.7);

    /* Legacy aliases for compatibility */
    --primary-color: var(--primary);
    --accent-color: var(--accent);
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px;
    position: relative;
    z-index: 1;
}

.hero-left {
    color: var(--white);
}

.hero-quote h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-quote p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    font-weight: 300;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-app {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
}

.app-icon {
    margin-bottom: 20px;
}

.hero-app h2 {
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.app-tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-raised);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 16px rgba(180, 175, 168, 0.5), -8px -8px 16px rgba(255, 255, 255, 0.9);
    background: var(--accent-light);
    color: var(--dark);
}

.cta-button:active {
    box-shadow: var(--shadow-pressed);
}

.cta-button.large {
    padding: 20px 60px;
    font-size: 1.2rem;
}

/* Value Prop Section */
.value-prop {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.value-prop h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.value-prop p {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 120px 20px;
    background: var(--light-bg);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse>* {
    direction: ltr;
}

.feature-image {
    position: relative;
}

.mockup-screen {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.3s ease;
}

.feature-row.reverse .mockup-screen {
    transform: perspective(1000px) rotateY(5deg);
}

.mockup-screen:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-5px);
}

.screen-header {
    background: linear-gradient(135deg, var(--primary-color), #1a5f62);
    color: var(--white);
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.screen-icon {
    font-size: 2rem;
}

.screen-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.screen-content {
    padding: 30px;
    min-height: 300px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-status {
    font-size: 0.9rem;
    color: var(--text-light);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.media-item {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), #1a5f62);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.media-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(44, 139, 143, 0.3);
}

.profile-content {
    text-align: center;
}

.profile-avatar {
    margin-bottom: 20px;
}

.large-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1a5f62);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(44, 139, 143, 0.3);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.profile-dates {
    color: var(--text-light);
    margin-bottom: 15px;
}

.profile-bio {
    color: var(--text-light);
    line-height: 1.6;
}

.feature-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.feature-text ul {
    list-style: none;
}

.feature-text li {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.feature-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
}

/* Pricing Section */
.pricing {
    padding: 120px 20px;
    background: var(--dark-bg);
    color: var(--white);
}

.pricing h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Category Switcher */
.category-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.switcher-track {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 6px;
    position: relative;
    gap: 5px;
}

.switcher-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.switcher-option:hover {
    color: var(--white);
}

.switcher-option.active {
    color: var(--white);
}

.switcher-icon {
    font-size: 1.2rem;
}

.switcher-text {
    white-space: nowrap;
}

.switcher-indicator {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: linear-gradient(135deg, var(--primary-color), #1a5f62);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(44, 139, 143, 0.4);
    z-index: 0;
}

/* Category Content Animation */
.category-content {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Switcher */
@media (max-width: 768px) {
    .switcher-track {
        flex-direction: column;
        border-radius: 20px;
        width: 100%;
        max-width: 300px;
    }

    .switcher-option {
        justify-content: center;
        padding: 12px 20px;
    }

    .switcher-indicator {
        width: calc(100% - 12px) !important;
        left: 6px !important;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--paper-light);
    border: 1px solid rgba(180, 175, 168, 0.3);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-raised);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 8px 8px 20px rgba(180, 175, 168, 0.5), -8px -8px 20px rgba(255, 255, 255, 0.9);
    border-color: var(--primary);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    transform: scale(1.05);
    color: var(--white);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-8px);
}

.featured-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--accent);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 74, 0.4);
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.pricing-features {
    margin-bottom: 30px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 12px 0;
    font-size: 0.95rem;
    opacity: 0.9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.price {
    text-align: center;
    margin-bottom: 30px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    display: block;
}

.price-period {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-button {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.pricing-button.primary {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.pricing-button.primary:hover {
    background: #ff5533;
    box-shadow: 0 6px 20px rgba(255, 107, 74, 0.4);
}

/* CTA Section */
.cta-section {
    padding: 120px 20px;
    background: var(--light-bg);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 40px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-copy {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-quote h1 {
        font-size: 2.5rem;
    }

    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }

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

    .pricing-card.featured {
        transform: scale(1);
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-quote,
.feature-text,
.pricing-card {
    animation: fadeInUp 0.8s ease-out;
}

/* Testimonials Marquee */
.testimonials-section {
    padding: 80px 0;
    background: var(--paper);
    overflow: hidden;
    position: relative;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 40s linear infinite;
    padding: 20px 0;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    min-width: 350px;
    max-width: 350px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-raised);
    border-color: var(--primary);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--text-dark);
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}