@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #10b981;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glassmorphism utility */
.glass, .glass.e-con {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navigation */
.container nav {
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
}

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

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    color: white !important;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    color: var(--text-main);
}

/* Header */
.container header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-top: 50px;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-title, .hero-title.elementor-widget-heading .elementor-heading-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle, .hero-subtitle.elementor-widget-heading .elementor-heading-title {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 120%;
    border-radius: 24px;
    box-shadow: 0 0 50px var(--primary-glow);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg) translateY(-20px); }
}

/* Sections */
section {
    padding: 100px 0;
}

.section-label, .section-label.elementor-widget-heading .elementor-heading-title {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.container h2, .container .elementor-widget-heading h2.elementor-heading-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

/* Grid for Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card, .feature-card.elementor-widget{
    padding: 2.5rem;
    transition: all 0.3s ease;
    color: var(--text-main);
    
}

 .feature-card.elementor-widget h3{
    color: var(--text-main);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Benefits list */
.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-check {
    color: var(--accent);
    font-weight: bold;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    position: relative;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    background: var(--bg-dark);
}

.process-step h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Trust Bar */
.trust-bar, .trust-bar.elementor-widget {
    display: flex;
    justify-content: space-around;
    align-items: center;
    opacity: 0.5;
    padding: 3rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.trust-item {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

/* Use Cases Enhanced */
.use-case-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.use-case-row:nth-child(even) {
    flex-direction: row-reverse;
}

.use-case-text {
    flex: 1;
}

.use-case-stats {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
}

/* Integration Logos */
.integration-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 2rem;
    filter: grayscale(1) invert(1);
}

.integration-grid span {
    font-size: 1.5rem;
    font-weight: 900;
    opacity: 0.6;
}

/* Enhanced Footer */
.footer-main {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-col h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* What is TMS Section */
.tms-intro-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tms-intro-main {
    /* Main content area */
}

.tms-intro-sidebar {
    padding: 2rem;
    position: sticky;
    top: 120px;
}

.tms-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.pillar-item {
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.pillar-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}

.pillar-item h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.pillar-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

.tms-users-list {
    list-style: none;
}

.tms-users-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text-main);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.tms-users-list li:last-child {
    border-bottom: none;
}

.tms-users-list li span {
    font-size: 1.2rem;
}

/* Scroll Animation classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive: What is TMS */
@media (max-width: 900px) {
    .tms-intro-grid {
        grid-template-columns: 1fr;
    }
    
    .tms-intro-sidebar {
        position: static;
    }
    
    .tms-pillars {
        grid-template-columns: 1fr;
    }
}
