:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --background: #ffffff;
    --foreground: #0f172a;
    --muted: #64748b;
    --muted-foreground: #94a3b8;
    --border: #e2e8f0;
    --radius: 0.5rem;
}

* {
    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: var(--foreground);
    background: var(--background);
}

/* Header and Navigation */
.header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.start-trial {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.3s;
}

.start-trial:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(14, 165, 233, 0.2);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.cta-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.hero-visual {
    position: relative;
}

.hero-visual img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-1 {
    top: 10%;
    left: -10%;
}

.card-2 {
    bottom: 10%;
    right: -10%;
}

/* Solutions Section */
.solutions {
    padding: 6rem 2rem;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--muted);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-card {
    padding: 2rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1);
}

.solution-card.featured {
    border-color: var(--primary);
    background: linear-gradient(to bottom right, rgba(37, 99, 235, 0.1), transparent);
}

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

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

.feature-list {
    list-style: none;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-list li::before {
    content: "✓";
    color: var(--primary);
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Platform Section */
.platform {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #1e293b, #334155);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.section-header h2:hover {
    transform: translateY(-5px);
}

.section-header p {
    color: var(--muted);
    font-size: 1.25rem;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    perspective: 1000px;
}

.platform-feature {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
}

.platform-feature:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.platform-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.platform-feature:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transform: translateZ(20px);
    transition: transform 0.4s ease;
}

.platform-feature:hover .feature-icon {
    transform: translateZ(30px) scale(1.1);
}

.feature-icon svg {
    color: white;
    width: 24px;
    height: 24px;
}

.feature-content {
    transform: translateZ(10px);
}

.feature-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.feature-content p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.platform-feature:nth-child(1) { animation: float 6s ease-in-out infinite; }
.platform-feature:nth-child(2) { animation: float 6s ease-in-out infinite 1s; }
.platform-feature:nth-child(3) { animation: float 6s ease-in-out infinite 2s; }
.platform-feature:nth-child(4) { animation: float 6s ease-in-out infinite 3s; }

@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-feature:hover {
        transform: translateY(-5px);
    }
}

/* Customers Section */
.customers {
    padding: 6rem 2rem;
    background: var(--background);
}

.customer-logos {
    max-width: 1400px;
    margin: 0 auto;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
}

.customer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
}

/* Resources Section */
.resources {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.resource-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.resource-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.resource-content {
    padding: 1.5rem;
}

.resource-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.resource-content h3 {
    margin-bottom: 0.5rem;
}

.resource-content p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.resource-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--foreground);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

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

.social-links a {
    color: var(--muted-foreground);
    transition: color 0.3s;
}

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

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-section a {
    color: var(--muted-foreground);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted-foreground);
}

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

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .floating-card {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons {
        display: none;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .hamburger span {
        width: 24px;
        height: 2px;
        background: white;
        transition: 0.3s;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--foreground);
        padding: 2rem;
        text-align: center;
        z-index: 100;
    }

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