@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Modern Color Palette */
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --primary-light: #5eead4;
    --secondary: #06b6d4;
    
    --gradient-primary: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    --gradient-hover: linear-gradient(135deg, #0d9488 0%, #0891b2 100%);
    --gradient-hero: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);
    
    --bg-body: #ffffff;
    --bg-surface: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    
    --text-main: #0f172a;
    --text-secondary: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-primary: 0 10px 25px -5px rgba(20, 184, 166, 0.3);
    
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw + 0.5rem, 2rem);
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Header */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    padding: 1.25rem 0;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.site-header:hover {
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.logo img,
.logo-img {
    height: 55px;
    transition: transform var(--transition-base);
    object-fit: contain;
}

.logo img:hover,
.logo-img:hover {
    transform: scale(1.05);
}

.logo h2 {
    font-size: 1.75rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
    letter-spacing: -0.03em;
}

/* Hero Section */
.hero {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f0fdfa 0%, #ffffff 50%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.hero-text {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1,
.hero-title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

.hero-title-part {
    display: inline-block;
    transition: color var(--transition-base);
}

.hero-title-part:not(:last-child) {
    margin-right: 0.5rem;
}

.hero p {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    line-height: 1.8;
}

.hero-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 1.125rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(20, 184, 166, 0.4);
}

.hero-btn:active {
    transform: translateY(-1px);
}

/* Video Section */
.video-section {
    margin-top: -80px;
    position: relative;
    z-index: 10;
    margin-bottom: 3rem;
    padding: 0 1.25rem;
}

.video-section .video-container {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    background: #000;
    border: 1px solid var(--border-light);
    transition: transform var(--transition-base);
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
}

.section:first-of-type {
    padding-top: 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.03em;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Scrollable Grid */
.scrollable-grid {
    display: grid;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-alt);
}

.scrollable-grid::-webkit-scrollbar {
    height: 8px;
}

.scrollable-grid::-webkit-scrollbar-track {
    background: var(--bg-alt);
    border-radius: 4px;
}

.scrollable-grid::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.scrollable-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.scrollable-grid.grid-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
}

.scrollable-grid.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
}

.scrollable-grid .card,
.scrollable-grid .video-container {
    min-width: 0;
    flex-shrink: 0;
}

@media (min-width: 1200px) {
    .scrollable-grid.grid-3 {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-flow: row;
        overflow-x: visible;
    }
    
    .scrollable-grid.grid-4 {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-flow: row;
        overflow-x: visible;
    }
}

/* Cards */
.card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.card:hover::before {
    transform: scaleX(1);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-light);
    border-radius: 0;
}

.feature-card:last-child {
    border-bottom: none;
}

.feature-card:first-child {
    border-top: 1px solid var(--border-light);
    padding-top: 3rem;
}

.grid.grid-3 .feature-card {
    border-bottom: none;
    border-right: 1px solid var(--border-light);
    border-top: none;
    padding-top: 3rem;
}

.grid.grid-3 .feature-card:last-child {
    border-right: none;
}

@media (max-width: 768px) {
    .grid.grid-3 .feature-card {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-top: 2rem;
    }
    
    .grid.grid-3 .feature-card:last-child {
        border-bottom: none;
    }
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.feature-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

.feature-link::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform var(--transition-base);
    display: inline-block;
}

.feature-link:hover {
    color: var(--primary-dark);
}

.feature-link:hover::after {
    transform: translateX(5px);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--bg-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.step-number {
    width: 90px;
    height: 90px;
    background: var(--gradient-primary);
    color: white;
    font-size: 2.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-primary);
    transition: transform var(--transition-base);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-card h3 {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonials-section {
    background: var(--bg-alt);
    border-radius: var(--radius-2xl);
    padding: 5rem 2rem;
    margin: 2rem 0;
}

.testimonial-card {
    text-align: left;
    padding: 2.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

.testimonial-header h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.testimonial-role {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: block;
}

.testimonial-rating {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-comment {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.0625rem;
    flex-grow: 1;
}

/* FAQ */
.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-card {
    padding: 2.5rem;
    border-left: 5px solid var(--primary);
    margin-bottom: 1.5rem;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.faq-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-dark);
}

.faq-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.faq-card p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
    font-size: 1.0625rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: var(--text-white);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1.0625rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-primary);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -5px rgba(20, 184, 166, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.btn-full {
    width: 100%;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.75rem;
}

.form-label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9375rem;
}

.form-input,
.form-select,
textarea.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-base);
    background: var(--bg-surface);
    color: var(--text-main);
}

.form-input:focus,
.form-select:focus,
textarea.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    padding-right: 3rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Footer */
.site-footer {
    background: var(--bg-dark);
    padding: 5rem 0 2rem;
    text-align: center;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.footer-links button:hover {
    color: var(--primary-light);
    background: rgba(20, 184, 166, 0.1);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-surface);
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-2xl);
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow-2xl);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.75rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-base);
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.close-modal:hover {
    color: var(--text-main);
    background: var(--bg-alt);
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-main);
    text-align: center;
}

.modal-body {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.5rem;
    margin-top: 1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-alt);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.modal-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

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

.mt-4 {
    margin-top: 2.5rem;
}

.mb-4 {
    margin-bottom: 2.5rem;
}

.mb-2 {
    margin-bottom: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.75rem;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 50px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.125rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .card,
    .feature-card,
    .step-card {
        padding: 2rem 1.5rem;
    }

    .testimonials-section {
        padding: 3rem 1.5rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .video-section {
        margin-top: -60px;
        margin-bottom: 4rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 140px 0 60px;
    }

    .hero-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .card,
    .feature-card {
        padding: 1.5rem;
    }
    
    .scrollable-grid.grid-3,
    .scrollable-grid.grid-4 {
        grid-auto-columns: minmax(250px, 1fr);
    }
}

/* Toast Notification */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.toast {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-xl);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: toastSlideIn 0.3s ease-out;
    min-width: 300px;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #10b981;
}

.toast.error .toast-icon {
    color: #ef4444;
}

.toast.warning .toast-icon {
    color: #f59e0b;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.toast-message {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--bg-alt);
    color: var(--text-main);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.hiding {
    animation: toastSlideOut 0.3s ease-in forwards;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 64px;
    height: 64px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition-base);
    animation: whatsappFloat 3s ease-in-out infinite;
    text-decoration: none;
    overflow: visible;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: -1;
}

@keyframes whatsappFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        left: 20px;
    }
    
    .whatsapp-float svg {
        width: 32px;
        height: 32px;
    }
}
