/* AI Money Plans React Plugin Styles */

:root {
    --amp-primary: #1a237e;
    --amp-secondary: #00bcd4;
    --amp-accent: #ffc107;
    --amp-background: #f8fafc;
    --amp-foreground: #1e293b;
    --amp-border: #e2e8f0;
    --amp-muted: #64748b;
}

/* Reset and base styles */
.amp-hero-section,
.amp-features-section,
.amp-sidebar-section {
    box-sizing: border-box;
}

.amp-hero-section *,
.amp-features-section *,
.amp-sidebar-section * {
    box-sizing: border-box;
}

/* Hero Section Styles */
.amp-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.amp-hero-gradient {
    background: linear-gradient(135deg, var(--amp-primary) 0%, var(--amp-secondary) 100%);
}

/* Card Hover Effects */
.amp-card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Button Styles */
.amp-btn-primary {
    background: linear-gradient(135deg, var(--amp-primary) 0%, var(--amp-secondary) 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.amp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(26, 35, 126, 0.3);
    color: white;
    text-decoration: none;
}

.amp-btn-secondary {
    background: var(--amp-accent);
    color: var(--amp-foreground);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
}

.amp-btn-secondary:hover {
    background: #ffb300;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(255, 193, 7, 0.3);
    color: var(--amp-foreground);
    text-decoration: none;
}

/* Responsive Grid */
.amp-grid {
    display: grid;
    gap: 1.5rem;
}

.amp-grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.amp-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amp-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (min-width: 768px) {
    .amp-md-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .amp-md-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .amp-lg-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .amp-lg-grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .amp-lg-grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Spacing Utilities */
.amp-space-y-2 > * + * {
    margin-top: 0.5rem;
}

.amp-space-y-3 > * + * {
    margin-top: 0.75rem;
}

.amp-space-y-4 > * + * {
    margin-top: 1rem;
}

.amp-space-y-6 > * + * {
    margin-top: 1.5rem;
}

/* Text Utilities */
.amp-text-center {
    text-align: center;
}

.amp-text-white {
    color: white;
}

.amp-text-primary {
    color: var(--amp-primary);
}

.amp-text-secondary {
    color: var(--amp-secondary);
}

.amp-text-accent {
    color: var(--amp-accent);
}

.amp-text-muted {
    color: var(--amp-muted);
}

/* Background Utilities */
.amp-bg-white {
    background-color: white;
}

.amp-bg-primary {
    background-color: var(--amp-primary);
}

.amp-bg-secondary {
    background-color: var(--amp-secondary);
}

.amp-bg-accent {
    background-color: var(--amp-accent);
}

/* Border Utilities */
.amp-border {
    border: 1px solid var(--amp-border);
}

.amp-border-2 {
    border: 2px solid var(--amp-border);
}

.amp-rounded {
    border-radius: 0.375rem;
}

.amp-rounded-lg {
    border-radius: 0.5rem;
}

.amp-rounded-full {
    border-radius: 9999px;
}

/* Shadow Utilities */
.amp-shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.amp-shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Padding and Margin */
.amp-p-3 {
    padding: 0.75rem;
}

.amp-p-4 {
    padding: 1rem;
}

.amp-p-6 {
    padding: 1.5rem;
}

.amp-px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.amp-py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.amp-py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.amp-mb-2 {
    margin-bottom: 0.5rem;
}

.amp-mb-4 {
    margin-bottom: 1rem;
}

.amp-mb-6 {
    margin-bottom: 1.5rem;
}

/* Flexbox Utilities */
.amp-flex {
    display: flex;
}

.amp-flex-col {
    flex-direction: column;
}

.amp-items-center {
    align-items: center;
}

.amp-justify-center {
    justify-content: center;
}

.amp-justify-between {
    justify-content: space-between;
}

.amp-space-x-2 > * + * {
    margin-left: 0.5rem;
}

.amp-space-x-4 > * + * {
    margin-left: 1rem;
}

/* Width and Height */
.amp-w-full {
    width: 100%;
}

.amp-h-full {
    height: 100%;
}

/* Font Weights */
.amp-font-medium {
    font-weight: 500;
}

.amp-font-semibold {
    font-weight: 600;
}

.amp-font-bold {
    font-weight: 700;
}

/* Font Sizes */
.amp-text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.amp-text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.amp-text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.amp-text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.amp-text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.amp-text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.amp-text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.amp-text-6xl {
    font-size: 3.75rem;
    line-height: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .amp-hero-section {
        min-height: 80vh;
    }
    
    .amp-text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .amp-text-6xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .amp-grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .amp-flex-col-mobile {
        flex-direction: column;
    }
}

/* Animation Classes */
.amp-animate-pulse {
    animation: amp-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes amp-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .5;
    }
}

.amp-animate-bounce {
    animation: amp-bounce 1s infinite;
}

@keyframes amp-bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

/* Custom Scrollbar */
.amp-sidebar-section::-webkit-scrollbar {
    width: 6px;
}

.amp-sidebar-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.amp-sidebar-section::-webkit-scrollbar-thumb {
    background: var(--amp-primary);
    border-radius: 3px;
}

.amp-sidebar-section::-webkit-scrollbar-thumb:hover {
    background: var(--amp-secondary);
}

