/* ==========================================
   KUSOYA AI - BASE STYLES
   Variables, Reset, Brand Classes, Buttons
   ========================================== */

:root {
    --kusoya-blue: #004589;
    --kusoya-blue-light: #858788;
    --kusoya-orange: #f95c38;
    --kusoya-white: #ffffff;
    --kusoya-gradient: linear-gradient(135deg, #004589 0%, #f95c38 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Brand Classes */
.bg-kusoya-blue { background-color: var(--kusoya-blue) !important; }
.bg-kusoya-orange { background-color: var(--kusoya-orange) !important; }
.bg-kusoya-blue-light { background-color: var(--kusoya-blue-light) !important; }
.text-kusoya-blue { color: var(--kusoya-blue) !important; }
.text-kusoya-orange { color: var(--kusoya-orange) !important; }
.border-kusoya-blue { border-color: var(--kusoya-blue) !important; }
.border-kusoya-orange { border-color: var(--kusoya-orange) !important; }

/* Buttons */
.btn-kusoya-blue {
    background-color: var(--kusoya-blue);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-kusoya-blue:hover {
    background-color: #003366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 69, 137, 0.3);
}

.btn-kusoya-orange {
    background-color: var(--kusoya-orange);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-kusoya-orange:hover {
    background-color: #e04a28;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(249, 92, 56, 0.3);
}

.btn-outline-kusoya-blue {
    border: 2px solid var(--kusoya-blue);
    color: var(--kusoya-blue);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-kusoya-blue:hover {
    background-color: var(--kusoya-blue);
    color: white;
}

button, a, .btn {
    transition: all 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Glassmorphism */
.glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 69, 137, 0.1);
}

/* Utilities */
.shadow-sm { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important; }
.shadow { box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important; }
.shadow-lg { box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important; }
.cursor-pointer { cursor: pointer; }

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--kusoya-blue-light);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--kusoya-blue);
}

/* Animations */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-20px) translateX(20px); }
    50% { transform: translateY(-30px) translateX(-20px); }
    75% { transform: translateY(-10px) translateX(10px); }
}

/* Accessibility */
.btn:focus, .form-control:focus {
    outline: 2px solid var(--kusoya-blue);
    outline-offset: 2px;
}

* {
    -webkit-tap-highlight-color: transparent;
}

/* END OF BASE STYLES */