/* styles.css (Custom Styles) */
:root {
    --primary-blue: #1e40af;
    --secondary-blue: #1e3a8a;
    --accent-yellow: #eab308;
    --gray-light: #f3f4f6;
    --gray-medium: #d1d5db;
    --gray-dark: #374151;
}

* {
    scroll-behavior: smooth;
}

body {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    padding: 0 1rem;
    margin: 0 auto;
}

/* Responsive Sections */
section {
    padding: 3rem 1rem !important;
}

@media (max-width: 768px) {
    section {
        padding: 2rem 0.75rem !important;
    }
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

p {
    line-height: 1.6;
    color: #4b5563;
}

a {
    transition: all 0.3s ease;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

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

/* Hero Animations */
#hero-title {
    animation: slideIn 1s ease-out;
}

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

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

/* Section Animations */
section {
    animation: fadeIn 0.8s ease-out forwards;
}

section:nth-child(1) { animation-delay: 0.1s; }
section:nth-child(2) { animation-delay: 0.2s; }
section:nth-child(3) { animation-delay: 0.3s; }

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Shadow System */
.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient Backgrounds */
.gradient-primary {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.gradient-success {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

/* Border Accent Styles */
.border-accent-left {
    border-left: 4px solid var(--primary-blue);
    padding-left: 1.5rem;
}

.border-accent-top {
    border-top: 4px solid var(--accent-yellow);
    padding-top: 1.5rem;
}

/* Form Elements */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

input[type="submit"],
button {
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Responsive Tables */
table, .comparison-table {
    overflow-x: auto;
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    table, .comparison-table {
        font-size: 0.875rem;
    }
    
    table td, table th,
    .comparison-table td, .comparison-table th {
        padding: 0.5rem !important;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}