/* ========================================
   Service Desk Management - CSS Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    /* Colors */
    --primary-color: #2D5BFF;
    --primary-dark: #1E3FCC;
    --primary-light: #E8EEFF;
    --secondary-color: #FF2D79;
    --success-color: #00C853;
    --warning-color: #FF8A00;
    --danger-color: #FF3B30;
    
    /* Neutral Colors */
    --text-primary: #1A1D2E;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F9FAFB;
    --bg-tertiary: #F3F4F6;
    --border-color: #E5E7EB;
    
    /* Typography */
    --font-display: 'Jost', sans-serif;
    --font-body: 'Jost', sans-serif;
    
    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5B7BFF 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(45, 91, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 91, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 15px;
}

/* Badges */
.badge,
.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    animation: fadeInUp 0.6s ease;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #FAFBFF 0%, #F0F4FF 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(45, 91, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 45, 121, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-description {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.85;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    animation: fadeInUp 1s ease;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dashboard Mockup */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.dashboard-mockup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform var(--transition-slow);
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.mockup-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #5B7BFF 100%);
    padding: 16px 20px;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-content {
    padding: 24px;
}

.ticket-card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    border-left: 4px solid var(--primary-color);
    animation: slideInRight 0.6s ease both;
}

.ticket-card:last-child {
    margin-bottom: 0;
}

.ticket-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.status-open {
    background: #FFF4E8;
    color: var(--warning-color);
}

.status-progress {
    background: var(--primary-light);
    color: var(--primary-color);
}

.status-resolved {
    background: #E8FFF3;
    color: var(--success-color);
}

.ticket-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.ticket-meta {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.float-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(45, 91, 255, 0.1) 0%, rgba(255, 45, 121, 0.1) 100%);
}

.float-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation: float 20s ease-in-out infinite;
}

.float-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation: float 15s ease-in-out infinite reverse;
}

.float-3 {
    width: 150px;
    height: 150px;
    bottom: 10%;
    left: 30%;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

/* Features Section */
.features {
    padding: var(--section-padding) 0;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 400;
}

.section-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    margin-bottom: 24px;
    animation: bounceIn 0.6s ease;
}

.feature-title {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 400;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.2rem;
}

/* Why Trust Section */
.why-trust {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #FAFBFF 0%, white 100%);
}

.why-trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-trust-text {
    animation: fadeInLeft 0.8s ease;
}

.lead-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.trust-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.trust-point {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.trust-point:hover {
    border-color: var(--primary-light);
    transform: translateX(8px);
}

.trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #5B7BFF 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.trust-content h4 {
    font-size: 22px;
    margin-bottom: 8px;
    font-weight:400;
}

.trust-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size:1.2rem
}

/* Stats Dashboard */
.why-trust-visual {
    animation: fadeInRight 0.8s ease;
}

.stats-dashboard {
    position: relative;
}

.stats-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stats-header {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.metric-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.metric-bar {
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #5B7BFF 100%);
    border-radius: 10px;
    animation: fillBar 1.5s ease-in-out;
}

@keyframes fillBar {
    from { width: 0; }
}

/* Benefits Section */
.benefits {
    padding: var(--section-padding) 0;
    background: white;
}

.benefits-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.comparison-column {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.column-header h3 {
    font-size: 22px;
    font-weight: 400;
}

.header-icon {
    font-size: 32px;
}

.without-header {
    border-bottom-color: rgba(255, 59, 48, 0.2);
}

.with-header {
    border-bottom-color: rgba(0, 200, 83, 0.2);
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    padding: 16px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--border-color);
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.benefit-highlight {
    text-align: center;
    padding: 48px 32px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, white 100%);
    border-radius: 20px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
}

.benefit-highlight:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.highlight-icon {
    font-size: 56px;
    margin-bottom: 24px;
}

.benefit-highlight h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 400;
}

.benefit-highlight p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size:1.2rem
}

/* CTA Section */
.cta {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1E3FCC 100%);
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 48px;
    color: rgb(53, 48, 214);
    margin-bottom: 24px;
    font-weight: 400;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(44, 41, 47, 0.893);
    margin-bottom: 40px;
    line-height: 1.7;
    font-family: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
    background: var(--bg-secondary);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-content,
    .why-trust-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-title {
        font-size: 52px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-comparison {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
    }
    
    .cta-title {
        font-size: 36px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .feature-card,
    .comparison-column {
        padding: 32px 24px;
    }
}


@media (max-width: 768px) {
    .benefits-cards {
        grid-template-columns: 1fr;
    }

    .lead-text,
    .section-description {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        padding: 90px 0 60px;
    }

    .benefits-cards {
        grid-template-columns: 1fr;
    }

    .stats-card {
        padding: 28px 20px;
    }

    .metric-row {
        font-size: 1rem;
    }

    .highlight-icon {
        font-size: 44px;
    }

    .benefit-highlight {
        padding: 36px 24px;
    }
}