/* ==================================================
   BASE STYLES - Core CSS Foundation
   ================================================== */

/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #23272C;
    background-color: #F7F9FA;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container & Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background: #E6F4FB;
}

.section h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #23272C;
}

.section h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: #23272C;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0583D2, #0470b8);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(5, 131, 210, 0.3);
}

.section-icon i {
    font-size: 2rem;
    color: white;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #7A8998;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Buttons */
.cta-button {
    background: #0583D2;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
    min-width: 44px;
}

.cta-button:hover {
    background: #0470b8;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
    background: #0461a1;
}

.cta-button.secondary {
    background: transparent;
    color: #0583D2;
    border: 2px solid #0583D2;
}

.cta-button.secondary:hover {
    background: #0583D2;
    color: white;
}

.cta-button.secondary:active {
    background: #0470b8;
    border-color: #0470b8;
}

/* Brand Elements */
.highlight {
    color: #0583D2;
    font-weight: 600;
}

.success-badge {
    background: #34D399;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.warning-badge {
    background: #F59E42;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Common Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-10px) translateX(5px); }
    66% { transform: translateY(5px) translateX(-5px); }
}

/* Responsive Base */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; line-height: 1.2; }
    h2 { font-size: 1.8rem; line-height: 1.3; }
    h3 { font-size: 1.4rem; line-height: 1.3; }
    h4 { font-size: 1.2rem; }
    
    .section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-icon {
        width: 60px;
        height: 60px;
    }
    
    .section-icon i {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-icon {
        width: 50px;
        height: 50px;
    }
    
    .section-icon i {
        font-size: 1.2rem;
    }
}