/**
 * ============================================
 * HOME PAGE STYLES - PRIMETESTLAB
 * Refined Design System with ptl- prefix
 * ============================================
 */

/* Premium Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* CSS Variables - Brand Colors */
:root {
    --ptl-primary: #1A2332;
    --ptl-primary-dark: #0F1520;
    --ptl-secondary: #00B4D8;
    --ptl-secondary-dark: #0096B4;
    --ptl-accent: #FFB700;
    --ptl-accent-dark: #E5A500;
    --ptl-success: #10B981;
    --ptl-light: #F8FAFC;
    --ptl-gray-50: #F9FAFB;
    --ptl-gray-100: #F3F4F6;
    --ptl-gray-200: #E5E7EB;
    --ptl-gray-300: #D1D5DB;
    --ptl-gray-400: #9CA3AF;
    --ptl-gray-500: #6B7280;
    --ptl-gray-600: #4B5563;
    --ptl-gray-700: #374151;
}

/* ===== BASE STYLES ===== */
.premium-home {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.premium-home * {
    font-family: inherit;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* ===== SECTION HEADER STYLES ===== */
.ptl-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.ptl-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.05));
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: #00B4D8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ptl-section-badge i {
    font-size: 16px;
}

.ptl-section-title {
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 800;
    color: #1A2332;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.ptl-section-subtitle {
    font-size: 18px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== BUTTON SYSTEM ===== */
.ptl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.ptl-btn i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.ptl-btn:hover i {
    transform: translateX(4px);
}

/* Primary Button - Gold/Accent */
.ptl-btn-primary {
    background: linear-gradient(135deg, #FFB700 0%, #FF9500 100%);
    color: #1A2332;
    box-shadow: 0 8px 24px rgba(255, 183, 0, 0.3);
}

.ptl-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 183, 0, 0.4);
    color: #1A2332;
}

/* Secondary Button - Teal */
.ptl-btn-secondary {
    background: linear-gradient(135deg, #00B4D8 0%, #0096B4 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.3);
}

.ptl-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.4);
    color: white;
}

/* Outline Button */
.ptl-btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.ptl-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

/* Light Outline Button */
.ptl-btn-outline-light {
    background: transparent;
    color: #1A2332;
    border: 2px solid #E5E7EB;
}

.ptl-btn-outline-light:hover {
    background: #1A2332;
    border-color: #1A2332;
    color: white;
}

/* ===== PREMIUM ANIMATIONS ===== */
@keyframes ptl-fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ptl-scale-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes ptl-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes ptl-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Animation Classes */
.ptl-animate-fade-up {
    animation: ptl-fade-up 0.6s ease-out forwards;
}

.ptl-animate-scale-in {
    animation: ptl-scale-in 0.5s ease-out forwards;
}

/* ===== GRADIENT TEXT ===== */
.ptl-gradient-text {
    background: linear-gradient(135deg, #00B4D8 0%, #00D4AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ptl-gradient-text-accent {
    background: linear-gradient(135deg, #FFB700 0%, #FF9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== TRUST INDICATORS ===== */
.ptl-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #10B981;
}

.ptl-trust-pill i {
    font-size: 14px;
}

/* ===== CARD BASE STYLES ===== */
.ptl-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.ptl-card:hover {
    border-color: #D1D5DB;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

/* ===== MOBILE - Clean & Beautiful Design ===== */
@media (max-width: 576px) {
    .ptl-section-header {
        margin-bottom: 32px;
    }

    .ptl-section-title {
        font-size: 26px;
        line-height: 1.25;
        margin-bottom: 12px;
    }

    .ptl-section-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .ptl-section-badge {
        padding: 8px 14px;
        font-size: 11px;
        margin-bottom: 14px;
    }

    .ptl-section-badge i {
        font-size: 14px;
    }

    .ptl-btn {
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 14px;
    }

    .ptl-btn i {
        font-size: 16px;
    }
}

/* ===== UTILITY CLASSES ===== */
.ptl-text-center { text-align: center; }
.ptl-text-left { text-align: left; }
.ptl-text-right { text-align: right; }

.ptl-mb-0 { margin-bottom: 0 !important; }
.ptl-mb-16 { margin-bottom: 16px; }
.ptl-mb-24 { margin-bottom: 24px; }
.ptl-mb-32 { margin-bottom: 32px; }
.ptl-mb-48 { margin-bottom: 48px; }

.ptl-mt-0 { margin-top: 0 !important; }
.ptl-mt-16 { margin-top: 16px; }
.ptl-mt-24 { margin-top: 24px; }
.ptl-mt-32 { margin-top: 32px; }
.ptl-mt-48 { margin-top: 48px; }

/* ===== LEGACY SUPPORT (for pricing section) ===== */
/* Keeping some legacy styles for backward compatibility */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
        gap: 20px;
    }
}
