:root {
    --primary: #007BFF;
    --secondary: #333333;
    --accent: #FF9500;
    --primary-dark: #0056b3;
    --text-dark: #222222;
    --text-light: #666666;
    --background: #FFFFFF;
    --background-alt: #F8F9FA;
    --border: #E9ECEF;
    --shadow: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all .3s ease;
    --primary-gradient: linear-gradient(135deg,var(--primary) 0%,var(--primary-dark) 100%);
}

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

html {
    scroll-behavior: auto;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat',sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    background: var(--background);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    display: inline-block;
    position: relative;
    margin-bottom: .75rem;
}

.section-header h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--primary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 1.5rem auto 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
    white-space: nowrap;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,123,255,0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,123,255,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(0,123,255,0.05);
    transform: translateY(-2px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background);
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: height 0.3s ease;
    height: 80px;
}

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

.logo a {
    font-size: 1.75rem;
    font-weight: 700;
}

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

.main-nav {
    display: flex;
}

.main-nav ul {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    position: relative;
    padding: .5rem 0;
    font-weight: 600;
}

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

.main-nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hero {
    padding: 7rem 0 5rem;
    background: var(--background-alt);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
    gap: 2rem;
    text-align: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

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

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0);
}

.solutions {
    padding: 6rem 0;
}

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

.solution-card {
    background: var(--background);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    will-change: transform;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.solution-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.solution-card h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.solution-card p {
    color: var(--text-light);
}

.products {
    padding: 6rem 0;
    background: var(--background-alt);
}

.product-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: 2px solid transparent;
    padding: .6rem 1.2rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(0,123,255,0.05);
}

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

.product-card {
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #fff;
    padding: .3rem .8rem;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    z-index: 2;
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.product-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    color: var(--secondary);
}

.product-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: .95rem;
}

.product-features {
    margin-bottom: 1.5rem;
}

.product-features ul {
    padding-left: 1.5rem;
}

.product-features li {
    margin-bottom: .5rem;
    position: relative;
    color: var(--text-light);
    padding-left: 0;
}

.product-features li:before {
    content: '✓';
    position: absolute;
    left: -1.5rem;
    color: var(--primary);
    font-weight: bold;
}

.product-content .btn {
    margin-top: auto;
}

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

.platforms {
    padding: 6rem 0;
    background: var(--background);
}

.platforms-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.platform-item {
    text-align: center;
    width: 200px;
    transition: var(--transition);
}

.platform-item:hover {
    transform: translateY(-10px);
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--background);
    border-radius: 50%;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.platform-item:hover .platform-icon {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.platform-item h3 {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    color: var(--secondary);
}

.platform-item p {
    color: var(--text-light);
    font-size: .95rem;
}

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

.audience {
    padding: 6rem 0;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    position: relative;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    color: var(--text-light);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn:after {
    content: '';
    position: absolute;
    height: 3px;
    background: var(--primary);
    bottom: -1px;
    left: 0;
    width: 0;
    transition: var(--transition);
}

.tab-btn.active:after {
    width: 100%;
}

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

.tab-image {
    text-align: center;
}

.tab-pane {
    display: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.tab-pane.active {
    display: block;
    opacity: 1;
}

.tab-text {
    margin-bottom: 1.5rem;
}

.tab-text h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.tab-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.tab-text ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.tab-text li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0;
}

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

.clients {
    padding: 4rem 0;
    background-color: var(--background-alt);
}

.client-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.logo-item {
    opacity: .7;
    filter: grayscale(1);
    transition: var(--transition);
    max-width: 150px;
}

.logo-item:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
}

.contact {
    padding: 6rem 0;
}

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

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.25rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-form {
    background: var(--background);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: .5rem;
    font-weight: 500;
}

input,select,textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition);
}

input:focus,select:focus,textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.footer {
    background: var(--secondary);
    color: #fff;
    padding: 4rem 0 2rem;
}

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

.footer-logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo a span {
    color: var(--primary);
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.footer-col h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: var(--primary);
    bottom: 0;
    left: 0;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-col a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.footer-bottom p,
.footer-legal a {
    color: rgba(255,255,255,0.7);
    font-size: .875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .tab-text h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
        z-index: 1100;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--background);
        box-shadow: var(--shadow-lg);
        padding: 5rem 2rem 2rem;
        flex-direction: column;
        z-index: 1000;
        transition: right 0.3s ease;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .main-nav a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
        margin-top: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .audience .tab-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .audience .tab-btn {
        flex-shrink: 0;
        padding: 0.75rem 1.25rem;
        white-space: nowrap;
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-image {
        order: 2;
        margin-top: 1.5rem;
    }
    
    .tab-text {
        order: 1;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .product-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .solution-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .product-card, .solution-card {
        text-align: center;
    }
    
    .solution-icon {
        margin: 0 auto 1.5rem;
    }
    
    .solution-card h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .product-features ul, .tab-text ul {
        text-align: left;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
    
    .product-badge {
        top: 0.5rem;
        right: 0.5rem;
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}