/* Fallback styles for missing assets */

/* CSS Variables */
:root {
    --tp-common-white: #ffffff;
    --tp-theme-primary: #FF994B;
    --tp-theme-secondary: #D34BE9;
    --tp-theme-tertiary: #3188FF;
    --tp-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --tp-ff-teko: 'Teko', sans-serif;
    --tp-ff-body: 'Inter', sans-serif;
    --tp-ff-heading: 'Inter', sans-serif;
    --tp-ff-inter: 'Inter', sans-serif;
}

/* Base font family */
body, html {
    font-family: var(--tp-font-family);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6,
.tp-header-7-logo,
.ai-hero-title,
.ai-hero-subtitle,
.tp-btn-gradient,
.ai-footer-widget-title,
.ai-footer-widget-title-sm {
    font-family: var(--tp-font-family);
}

/* Hero Section Typography */
.ai-hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.ai-hero-title {
    font-size: 68px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--tp-common-white);
}

/* Brand Section Typography */
.ai-brand-title-wrapper {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
}

.ai-brand-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--tp-common-white);
    margin-bottom: 15px;
    font-family: var(--tp-font-family);
}

.ai-brand-subtitle {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--tp-common-white);
    opacity: 0.8;
    margin: 0;
    font-family: var(--tp-font-family);
}

.ai-brand-area {
    padding: 20px 0 0;
}

/* Brand section auto-generated logo styles */
.ai-brand-auto-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    min-height: 80px;
    min-width: 120px;
    padding: 15px 20px;
    transition: all 0.3s ease;
}

.ai-brand-auto-logo span {
    color: #ffffff;
    font-family: var(--tp-font-family);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.ai-brand-auto-logo:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

a:hover .ai-brand-auto-logo {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Brand item consistency */
.ai-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 35px;
}

.ai-brand-item img {
    max-height: 80px;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.ai-brand-item img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Loading states */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Hero section background fallback */
.ai-hero-area {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.ai-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Image fallbacks */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover effects */
.tp-btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tp-btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.tp-btn-border {
    border: 2px solid #667eea;
    color: #667eea;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.tp-btn-border:hover {
    background: #667eea;
    color: white;
}

/* Animation utilities */
.tp_fade_anim {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section spacing */
.pt-150 { padding-top: 150px; }
.pb-200 { padding-bottom: 200px; }
.pt-130 { padding-top: 130px; }
.pb-140 { padding-bottom: 140px; }
.pt-120 { padding-top: 120px; }
.pb-130 { padding-bottom: 130px; }
.pb-110 { padding-bottom: 110px; }

/* Typography */
.fs-54 { font-size: 54px; }
.fs-60 { font-size: 60px; }
.fs-18 { font-size: 18px; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .fs-54, .fs-60 { font-size: 36px; }
    .pt-150 { padding-top: 80px; }
    .pb-200 { padding-bottom: 80px; }
    .pt-130 { padding-top: 60px; }
    .pb-140 { padding-bottom: 60px; }
    .pt-120 { padding-top: 60px; }
    .pb-130 { padding-bottom: 60px; }
    .pb-110 { padding-bottom: 60px; }
    
    /* Hero subtitle responsive */
    .ai-hero-subtitle {
        font-size: 14px;
        line-height: 1.7;
    }
    
    /* Hero title responsive */
    .ai-hero-title {
        font-size: 32px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    /* Brand section responsive */
    .ai-brand-title {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .ai-brand-subtitle {
        font-size: 16px;
    }
    
    .ai-brand-title-wrapper {
        margin-bottom: 40px;
        padding-top: 20px;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .ai-hero-title {
        font-size: 42px;
        line-height: 1.35;
    }
}

/* Button styles */
.tp-btn-gradient {
    position: relative;
    align-items: center;
    overflow: hidden;
    font-family: var(--tp-font-family);
    font-weight: 600;
    font-size: 17px;
    line-height: 1;
    z-index: 1;
    margin: 1px;
    transition: 0.4s;
    border-radius: 14px;
    padding: 22px 30px;
    padding-top: 25px;
    display: inline-block;
    letter-spacing: -0.01em;
    color: var(--tp-common-white);
    background: linear-gradient(230deg, #FF994B 6.7%, #D34BE9 48.83%, #3188FF 90.96%);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.tp-btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 153, 75, 0.4);
    color: var(--tp-common-white);
    text-decoration: none;
    background: linear-gradient(230deg, #ffaa5c 6.7%, #e55cfa 48.83%, #4299ff 90.96%);
}

.tp-btn-gradient.sm {
    padding: 18px 24px;
    padding-top: 20px;
    font-size: 15px;
    border-radius: 12px;
}

.tp-btn-gradient.w-100 {
    width: 100%;
    text-align: center;
}

.tp-btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(230deg, #ffaa5c 6.7%, #e55cfa 48.83%, #4299ff 90.96%);
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 14px;
}

.tp-btn-gradient:hover::before {
    left: 0;
}

/* Button wrapper for animated border */
.animated-border-box {
    display: inline-block;
    position: relative;
    padding: 2px;
    background: linear-gradient(230deg, #FF994B 6.7%, #D34BE9 48.83%, #3188FF 90.96%);
    border-radius: 16px;
}

.animated-border-box .tp-btn-gradient {
    background: #08041D;
    color: var(--tp-common-white);
    border-radius: 14px;
    margin: 0;
}

.animated-border-box .tp-btn-gradient:hover {
    background: transparent;
}

/* Teko Font Classes */
.tp-section-subtitle-teko {
    font-family: var(--tp-ff-teko);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tp-section-title-teko {
    font-family: var(--tp-ff-teko);
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.tp-section-title-teko.fs-150 {
    font-size: 150px;
}

.tp-section-title-teko.fs-80 {
    font-size: 80px;
}

/* Responsive Teko font sizes */
@media (max-width: 1199px) {
    .tp-section-title-teko.fs-150 {
        font-size: 120px;
    }
    .tp-section-title-teko.fs-80 {
        font-size: 70px;
    }
}

@media (max-width: 991px) {
    .tp-section-title-teko.fs-150 {
        font-size: 100px;
    }
    .tp-section-title-teko.fs-80 {
        font-size: 60px;
    }
}

@media (max-width: 767px) {
    .tp-section-title-teko.fs-150 {
        font-size: 80px;
    }
    .tp-section-title-teko.fs-80 {
        font-size: 50px;
    }
}

@media (max-width: 575px) {
    .tp-section-title-teko.fs-150 {
        font-size: 60px;
    }
    .tp-section-title-teko.fs-80 {
        font-size: 40px;
    }
}
