:root {
   --wtm-primary: #4a5568;
    --wtm-primary-dark: #2d3748;
    --wtm-primary-light: #718096;
    --wtm-secondary: #a0aec0;
    --wtm-accent: #cbd5e0;
    --wtm-success: #718096;
    --wtm-warning: #ecc94b;
    --wtm-danger: #e53e3e;
    --wtm-surface: #ffffff;
    --wtm-surface-alt: #f7fafc;
    --wtm-border: #e2e8f0;
    --wtm-text: #2d3748;
    --wtm-text-muted: #718096;
    --wtm-shadow-sm: 0 1px 2px 0 rgb(45 80 22 / 0.05);
    --wtm-shadow-md: 0 4px 6px -1px rgb(45 80 22 / 0.1), 0 2px 4px -2px rgb(45 80 22 / 0.1);
    --wtm-shadow-lg: 0 10px 15px -3px rgb(45 80 22 / 0.1), 0 4px 6px -4px rgb(45 80 22 / 0.1);
    --wtm-radius: 12px;
    --wtm-radius-sm: 8px;
    --wtm-spacing: 1.5rem;
}

/* Main Container */
.wtm-tabs-wrapper {
    max-width: 1400px;
    margin: 2rem 0;
    background: var(--wtm-surface);
    border-radius: var(--wtm-radius);
    box-shadow: var(--wtm-shadow-lg);
    overflow: hidden;
}

/* Modern Tab Navigation */
.wtm-tab-nav {
    display: flex;
    background:linear-gradient(135deg, var(--wtm-primary) 0%, var(--wtm-primary-light) 100%);
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    overflow-x: hidden;
  color: #fff;
    -ms-overflow-style: none;  /* IE, Edge */
    scrollbar-width: none;     /* Firefox */
}

.wtm-tab-nav::-webkit-scrollbar {
    display: none;  /* Chrome, Safari */
}


.wtm-tab-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    
}

.wtm-tab-nav li {
    flex: 1;
    min-width: 150px;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    color: #fff;
    border: none;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.wtm-tab-nav li::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px 2px 0 0;
}

.wtm-tab-nav li::after {
    content: attr(data-icon);
    font-family: 'dashicons';
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.wtm-tab-nav li:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.wtm-tab-nav li:hover::after {
    opacity: 1;
    transform: scale(1.1);
}

.wtm-tab-nav li.active {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.wtm-tab-nav li.active::before {
    width: 80%;
}

.wtm-tab-nav li.active::after {
    opacity: 1;
    transform: scale(1.1);
}

/* Tab Content */
.wtm-tab-content {
    display: none;
    padding: 2.5rem;
    background: var(--wtm-surface);
    min-height: 500px;
}

.wtm-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wtm-tab-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--wtm-text);
   background: linear-gradient(135deg, var(--wtm-primary) 0%, var(--wtm-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    overflow: visible;
    line-height: 1.2;
}

.wtm-tab-content p {
    font-size: 1rem;
    color: var(--wtm-text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Upgrade Banner */
.wtm-upgrade-banner {
    background: linear-gradient(135deg, var(--wtm-primary) 0%, var(--wtm-primary-light) 50%, var(--wtm-secondary) 100%);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top:10px;
    position: relative;
    overflow: hidden;
}

.wtm-upgrade-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.wtm-upgrade-banner p {
    font-size: 1.125rem;
    margin: 0;
    font-weight: 500;
}

.wtm-upgrade-banner a.wtm-upgrade-link {
    color: #1f2937;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.wtm-upgrade-banner a.wtm-upgrade-link:hover {
    background: white;
    transform: translateY(-1px);
}

/* Getting Started Section */
.wp-team-getting-started-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    margin-top: 2rem;
}

.wp-team-responsive-iframe {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--wtm-radius-sm);
    overflow: hidden;
    box-shadow: var(--wtm-shadow-md);
}

.wp-team-responsive-iframe iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.wp-team-doc-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Feature Boxes */
.wtm-feature-box {
    background: var(--wtm-surface);
    border: 1px solid var(--wtm-border);
    border-radius: var(--wtm-radius-sm);
    padding: 1.5rem;
    box-shadow: var(--wtm-shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wtm-feature-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--wtm-primary) 0%, var(--wtm-primary-light) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.wtm-feature-box:hover {
    transform: translateY(-2px);
    box-shadow: var(--wtm-shadow-md);
    border-color: var(--wtm-primary);
}

.wtm-feature-box:hover::before {
    transform: scaleY(1);
}

.wtm-feature-box h4 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--wtm-text);
}

.wtm-feature-box p {
    margin: 0 0 1rem;
    font-size: 0.875rem;
    color: var(--wtm-text-muted);
    line-height: 1.5;
}

.wtm-feature-box .button {
    background: linear-gradient(135deg, var(--wtm-primary) 0%, var(--wtm-primary-light) 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.5rem 1rem;
    border-radius: var(--wtm-radius-sm);
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.3s ease;
    display: inline-block;
}

.wtm-feature-box .button:hover {
    background: linear-gradient(135deg, var(--wtm-primary-dark) 0%, var(--wtm-primary) 100%) !important;
    transform: translateY(-1px);
}

/* Feature Grid */
.wtm-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4.5rem 1.5rem;
    margin-top: 2rem;
}

.wtm-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* Comparison Table */
.wp-team-comparison-wrapper {
    overflow-x: auto;
    margin-top: 2rem;
    border-radius: var(--wtm-radius-sm);
    box-shadow: var(--wtm-shadow-sm);
}

.wp-team-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--wtm-surface);
    font-size: 0.875rem;
}

.wp-team-comparison-table thead th {
    background: linear-gradient(135deg, var(--wtm-primary) 0%, var(--wtm-primary-light) 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border: none;
}

.wp-team-comparison-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--wtm-border);
    text-align: center;
}

.wp-team-comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
}

.wp-team-comparison-table tbody tr:nth-child(even) {
    background: var(--wtm-surface-alt);
}

.wp-team-comparison-table tbody tr:hover {
    background: #f0f9ff;
}

/* Footer */
.wtm-footer {
    text-align: center;
    background: linear-gradient(135deg, var(--wtm-surface-alt) 0%, #f1f5f9 100%);
    margin: 2rem -2.5rem -2.5rem;
    padding: 2rem;
    border-top: 1px solid var(--wtm-border);
    font-size: 0.875rem;
    color: var(--wtm-text-muted);
}

.wtm-footer a {
    color: var(--wtm-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.wtm-footer-icon {
    font-size: 1.25rem;
    margin: 0 0.5rem;
    color: var(--wtm-text-muted);
    transition: all 0.3s ease;
}

.wtm-footer-icon:hover {
    color: var(--wtm-primary);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .wtm-tab-nav {
        flex-direction: column;
    }
    
    .wtm-tab-nav li {
        min-width: auto;
        text-align: left;
    }
    
    .wtm-tab-content {
        padding: 1.5rem;
    }
    
    .wtm-upgrade-banner {
        margin: -1.5rem -1.5rem 1.5rem;
    }
    
    .wp-team-getting-started-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .wtm-feature-grid {
        grid-template-columns: 1fr;
    }
    
    .wtm-footer {
        margin: 1.5rem -1.5rem -1.5rem;
    }
}

@media (max-width: 480px) {
    .wtm-tab-nav li {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .wtm-tab-content h2 {
        font-size: 1.5rem;
    }
}