/* Winnia - Brand Colors from Official Guidelines */

:root {
    /* Winnia Brand Colors */
    --primary-blue: #17396f;
    --primary-blue-dark: #0e2345;
    --primary-blue-darkest: #0e2345;
    --button-blue: #204f99;
    --button-blue-hover: #17396f;
    --light-blue: #aadcff;
    --light-blue-pale: #ddf1ff;
    --light-bg: #ffffff;
    --light-card: #ffffff;
    
    /* Gray scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

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


html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

/* Hero Title Gradient Effect */
.hero-gradient-text {
    background: linear-gradient(135deg, #1a1a1a 0%, #17396f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Highlighted Words Animation */
.hero-highlight {
    font-weight: 500;
    color: #17396f;
    animation: colorShift 4s ease-in-out infinite;
    transition: color 0.3s ease;
}

.hero-highlight-delay-1 {
    animation-delay: 1.3s;
}

.hero-highlight-delay-2 {
    animation-delay: 2.6s;
}

@keyframes colorShift {
    0%, 100% {
        color: #17396f;
    }
    50% {
        color: #204f99;
    }
}

/* Subtle Blue to Black Animation for Keywords */
.keyword-highlight {
    color: #17396f;
    animation: subtleBlueToBlack 6s ease-in-out infinite;
    transition: color 0.8s ease;
}

.keyword-highlight-delay-1 {
    animation-delay: 2s;
}

.keyword-highlight-delay-2 {
    animation-delay: 4s;
}

@keyframes subtleBlueToBlack {
    0%, 100% {
        color: #17396f;
    }
    50% {
        color: #1a1a1a;
    }
}

/* Navigation */
.nav-link {
    position: relative;
    color: #666;
    font-weight: 450;
    transition: color 0.2s ease;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: #1a1a1a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #1a1a1a;
    transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--button-blue);
    color: white;
    border-radius: 0.625rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.btn-primary:hover {
    background: var(--button-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 79, 153, 0.15);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: white;
    color: var(--button-blue);
    border: 1.5px solid rgba(32, 79, 153, 0.2);
    border-radius: 0.625rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.btn-secondary:hover {
    background: rgba(32, 79, 153, 0.05);
    border-color: var(--button-blue);
    transform: translateY(-1px);
}

/* CTA Button - Blue call to action */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--button-blue);
    color: white;
    border-radius: 0.625rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.cta-button:hover {
    background: var(--button-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(32, 79, 153, 0.15);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Client Logos - Sierra.ai style */
.client-logo-section img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-logo-section img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Browser Mockup */
.browser-mockup {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--gray-200);
}

.browser-header {
    background: var(--gray-100);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--gray-200);
}

.product-showcase {
    padding: 3rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-interface {
    max-width: 500px;
    width: 100%;
    space-y: 1rem;
}

.chat-message {
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
    max-width: 80%;
    animation: slideIn 0.5s ease;
}

.chat-message.user {
    background: var(--primary-blue);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 0.25rem;
}

.chat-message.ai {
    background: var(--gray-100);
    color: var(--gray-900);
    border-bottom-left-radius: 0.25rem;
}

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

.pulse-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 2rem;
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1rem;
}

.pulse-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Feature Cards */
.feature-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-blue);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-carousel {
    position: relative;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.carousel-btn.prev {
    left: -1.5rem;
}

.carousel-btn.next {
    right: -1.5rem;
}

/* Forms */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: var(--gray-900);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 0.5rem;
    color: var(--gray-600);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.sticky-cta:hover {
    background: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.5);
}

/* Platform Page */
.step-number {
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    margin-bottom: 1rem;
}

.diagram-card {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.integration-node {
    padding: 1rem 2rem;
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    text-align: center;
}

.integration-node.central {
    background: var(--primary-blue);
    color: white;
}

.integration-line {
    width: 2px;
    height: 3rem;
    background: var(--gray-300);
    margin: 1rem auto;
}

.ai-brain {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #60a5fa 100%);
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: pulse 3s ease infinite;
}

.dashboard-preview {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 0.5rem;
}

.metric-card {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gray-200);
}

.chart-bars {
    display: flex;
    gap: 0.5rem;
    align-items: flex-end;
    height: 100px;
    margin-top: 1rem;
}

.chart-bars::before,
.chart-bars::after {
    content: '';
    flex: 1;
    background: var(--primary-blue);
    border-radius: 0.25rem;
    opacity: 0.3;
}

.chart-bars::before {
    height: 60%;
}

.chart-bars::after {
    height: 90%;
}

.tech-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Solutions Page */
.solution-card {
    padding: 2.5rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.solution-icon {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #60a5fa 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 1.5rem;
}

/* Security Page */
.security-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.security-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.compliance-item {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

.data-card {
    padding: 2rem;
    background: white;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.data-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Pricing Page */
.pricing-card {
    padding: 2.5rem;
    background: white;
    border-radius: 1rem;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--primary-blue);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.1);
}

.featured-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.faq-item {
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-btn {
        display: none;
    }
    
    .sticky-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Smooth transitions for all interactive elements */
a, button, .card, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Day Slot Buttons */
.day-slot {
    padding: 0.75rem 0.5rem;
    border: 1.5px solid var(--gray-200);
    background: white;
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
}

.day-slot:hover {
    border-color: var(--primary-blue);
    background: rgba(23, 57, 111, 0.05);
    color: var(--primary-blue);
}

.day-slot.selected {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(23, 57, 111, 0.2);
}

.day-slot:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Time Slot Buttons */
.time-slot {
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--gray-200);
    background: white;
    border-radius: 0.5rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
}

.time-slot:hover {
    border-color: var(--primary-blue);
    background: rgba(23, 57, 111, 0.05);
    color: var(--primary-blue);
}

.time-slot.selected {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(23, 57, 111, 0.2);
}

.time-slot:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tab Styles */
.tab-button {
    color: #666;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 450;
}

.tab-button:hover {
    color: #17396f;
}

.tab-button.active {
    background: #17396f;
    color: white;
    font-weight: 500;
}

.tab-content {
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.hidden {
    display: none;
}

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

/* Vertical Timeline Styles */
.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 0;
    padding-bottom: 4rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Timeline line (dotted, dark blue) */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: -20px;
    width: 3px;
    background-image: linear-gradient(to bottom, #17396f 60%, transparent 60%);
    background-size: 3px 12px;
    background-repeat: repeat-y;
}

.timeline-item:last-child::before {
    display: none;
}

/* Number circle */
.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #17396f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(23, 57, 111, 0.3);
}

/* Content area */
.timeline-content {
    margin-left: 80px;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: #17396f;
    box-shadow: 0 8px 24px rgba(23, 57, 111, 0.1);
    transform: translateY(-2px);
}

.timeline-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.timeline-content p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-number {
        width: 42px;
        height: 42px;
        font-size: 1.125rem;
    }
    
    .timeline-content {
        margin-left: 65px;
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.25rem;
    }
}

/* Footer Grid Custom Spacing - Override Tailwind */
#winnia-footer-grid {
    display: grid !important;
    grid-template-columns: 0.5fr 0.6fr 0.9fr 0.4fr 1fr !important;
    gap: 2rem !important;
}

@media (max-width: 767px) {
    #winnia-footer-grid {
        grid-template-columns: 1fr !important;
    }
}
