/* Root Variables */
:root {
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --accent-color: #f8f6f0;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --white: #ffffff;
    --light-gray: #f7fafc;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--accent-color);
    overflow-x: hidden;
}

/* Modern Navbar Styles */
.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1rem 0;
    z-index: 1050;
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Brand Styling */
.brand-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.brand-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.25rem;
}

.brand-badge {
    position: absolute;
    top: -8px;
    right: -10px;
}

.brand-badge .badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 8px;
    animation: pulse 2s infinite;
}

/* Custom Toggler */
.custom-toggler {
    border: none;
    background: none;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
    cursor: pointer;
}

.custom-toggler:focus {
    box-shadow: none;
}

.toggler-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
    opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* Modern Nav Links */
.nav-link-modern {
    color: var(--text-dark) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1rem !important;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin: 0 0.25rem;
}

.nav-link-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-link-modern:hover::before,
.nav-link-modern.active::before {
    opacity: 0.1;
}

.nav-link-modern:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link-modern.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.nav-link-modern i {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.nav-link-modern:hover i {
    opacity: 1;
    transform: scale(1.1);
}

/* Navbar Button */
.btn-navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-navbar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn-navbar:hover::before {
    width: 300px;
    height: 300px;
}

.btn-navbar:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

/* Progress Bar */
.navbar-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
    .navbar-modern {
        padding: 0.75rem 0;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 16px;
        margin-top: 1rem;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-link-modern {
        margin: 0.25rem 0;
        text-align: center;
    }
    
    .btn-navbar {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .brand-text {
        font-size: 1.3rem;
    }
    
    .brand-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Scroll Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* Navigation */
.navbar {
    background-color: var(--white) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, #4c51bf 100%);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    min-height: 100vh;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: -2s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: -4s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 30%;
    animation-delay: -1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge .badge {
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
}

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

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
}

.text-gradient {
    background: linear-gradient(45deg, #fff, #f0f0f0, #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75);
}

.btn-hero-primary {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    color: var(--primary-dark);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-features {
    margin-top: 2rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.phone-mockup-container {
    position: relative;
    display: inline-block;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3), transparent);
    border-radius: 50%;
    animation: glow 4s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.phone-mockup {
    position: relative;
    z-index: 2;
    max-width: 400px;
    margin: 0 auto;
}

.app-screenshot {
    width: 100%;
    height: auto;
    max-width: 320px;
    border-radius: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 
                0 15px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.app-screenshot:hover {
    transform: translateY(-10px) scale(1.02);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-item {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.75rem 1rem;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    animation: floatUpDown 3s ease-in-out infinite;
}

.float-item i {
    font-size: 1.25rem;
}

.float-item-1 {
    top: 15%;
    right: -10%;
    animation-delay: -1s;
}

.float-item-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: -2s;
}

.float-item-3 {
    top: 60%;
    right: -5%;
    animation-delay: -0.5s;
}

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

.hero-image {
    position: relative;
    z-index: 2;
}

.phone-mockup {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.phone-mockup img {
    width: 100%;
    height: auto;
    max-width: 320px;
    border-radius: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 
                0 15px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-mockup img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                0 20px 35px rgba(0, 0, 0, 0.25);
}

/* Feature Icons */
.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-icon-large {
    font-size: 4rem;
    color: var(--primary-color);
}

.contact-icon {
    font-size: 2.5rem;
}

/* Modern Step Design */
.step-number-modern {
    position: relative;
    z-index: 2;
}

.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.step-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.modern-card {
    border-radius: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    min-height: 280px;
}

.modern-card .card-body {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.modern-card:hover .step-icon {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.modern-card .card-title {
    color: var(--text-dark);
    font-size: 1.25rem;
}

.modern-card .card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Cards */
.card {
    border: none;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Feature Items */
.feature-item {
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Screenshots */
.screenshot-item {
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot-item img {
    transition: all 0.3s ease;
}

/* Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-button {
    background-color: var(--white);
    border: none;
    font-weight: 600;
    color: var(--text-dark);
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--white);
}

/* Contact Items */
.contact-item {
    padding: 2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

/* Contact Page Styles */
.contact-info-card {
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.contact-info-card .card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 1rem;
}

.contact-info-card .contact-icon i {
    font-size: 2.5rem;
}

.contact-form-wrapper .card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper .card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-bottom: none;
}

.contact-form-wrapper .card-body {
    padding: 2rem;
}

/* Form row spacing */
.contact-form .row.g-4 > * {
    padding-bottom: 1rem;
}

/* Button enhancements */
.contact-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.contact-form .btn-primary:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

/* Loading spinner */
.contact-form .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}

/* Enhanced Form Floating Styles */
.contact-form .form-floating {
    position: relative;
    margin-bottom: 0.5rem;
}

.contact-form .form-floating > .form-control,
.contact-form .form-floating > .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.625rem 0.75rem 0.625rem;
    font-size: 1rem;
    line-height: 1.25;
    height: calc(3.5rem + 2px);
    background-color: #fff;
    transition: all 0.3s ease;
    box-shadow: none;
}

.contact-form .form-floating > .form-control:focus,
.contact-form .form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: 0;
    background-color: #fff;
}

.contact-form .form-floating > .form-control::placeholder,
.contact-form .form-floating > .form-select::placeholder {
    color: transparent;
}

.contact-form .form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.25;
}

.contact-form .form-floating > .form-control:focus ~ label,
.contact-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.contact-form .form-floating > .form-select:focus ~ label,
.contact-form .form-floating > .form-select:not([size]):not([multiple]):not([size]):focus ~ label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--primary-color);
}

/* Textarea specific adjustments */
.contact-form .form-floating > textarea.form-control {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    height: auto;
    min-height: calc(3.5rem + 2px);
    resize: vertical;
}

.contact-form .form-floating > textarea.form-control ~ label {
    padding-top: 1rem;
}

.contact-form .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Enhanced Form Validation Styles */
.contact-form .form-control.is-valid,
.contact-form .form-select.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='m2.3 6.73.94-.94 1.71-1.71'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 4.4 4.4m0-4.4-4.4 4.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    padding-right: calc(1.5em + 0.75rem);
}

.contact-form .invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
    font-weight: 500;
    padding-left: 0.75rem;
}

.contact-form .form-check-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.125rem rgba(220, 53, 69, 0.25);
}

.contact-form .form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545;
}

.contact-form .form-check-input.is-valid {
    border-color: #28a745;
    background-color: #28a745;
    box-shadow: 0 0 0 0.125rem rgba(40, 167, 69, 0.25);
}

.contact-form .form-check-input.is-valid ~ .form-check-label {
    color: #28a745;
}

/* Form Text and Counter Styles */
.contact-form .form-text {
    margin-top: 0.25rem;
    padding-left: 0.75rem;
}

.contact-form .form-text.text-warning {
    color: #ffc107 !important;
    font-weight: 500;
}

.contact-form .form-text.text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Contact Alert Styles */
#contactAlert {
    border-radius: 12px;
    border: none;
    margin-bottom: 2rem;
    animation: slideInDown 0.5s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#contactAlert.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(40, 167, 69, 0.05));
    border-left: 4px solid #28a745;
    color: #155724;
}

#contactAlert.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.05));
    border-left: 4px solid #dc3545;
    color: #721c24;
}

#contactAlert h6 {
    color: inherit;
    margin-bottom: 0.25rem;
}

#contactAlert p {
    color: inherit;
    opacity: 0.9;
}

/* Animation keyframes */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

/* Submit Button Loading State */
#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Message Counter Styling */
.form-text small.text-warning {
    color: #ffc107 !important;
    font-weight: 600;
}

.form-text small.text-danger {
    color: #dc3545 !important;
    font-weight: 600;
}

/* Animation for alerts */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Form Focus Ring Enhancement */
.contact-form .form-floating:focus-within {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
}

.contact-form .form-floating:focus-within .form-control,
.contact-form .form-floating:focus-within .form-select {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

/* Hover effects for form elements */
.contact-form .form-floating:hover .form-control:not(:focus),
.contact-form .form-floating:hover .form-select:not(:focus) {
    border-color: rgba(102, 126, 234, 0.5);
    transition: border-color 0.2s ease;
}

.support-info {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 1px solid #e2e8f0;
}

/* Footer */
footer {
    background-color: #1a202c !important;
}

.social-links a {
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--light-gray) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .feature-icon-large {
        font-size: 3rem;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }

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

    .phone-mockup-container {
        max-width: 280px;
        margin: 2rem auto 0;
    }

    .app-screenshot {
        max-width: 250px;
    }
    
    .float-item {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
    
    .float-item i {
        font-size: 1rem;
    }
}@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-section {
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-icon-large {
        font-size: 2.5rem;
    }

    .phone-mockup-container {
        max-width: 220px;
        margin-top: 1.5rem;
    }

    .app-screenshot {
        max-width: 200px;
        border-radius: 1.5rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .float-item {
        display: none;
    }
    
    .hero-badge .badge {
        font-size: 0.75rem;
    }
}/* Utility Classes */
.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

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

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Animation Classes - Removed to fix bugs */

/* Loading States */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Focus States for Accessibility */
.btn:focus,
.nav-link:focus,
.accordion-button:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #4338ca;
        --text-dark: #000000;
        --border-color: #000000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    footer {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}

/* Screenshots Section Styles */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f5ff 100%);
}

.section-badge {
    display: inline-block;
    animation: fadeInUp 0.8s ease-out;
}

.screenshot-item {
    margin-bottom: 2rem;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.screenshot-item:hover {
    transform: translateY(-10px);
    filter: brightness(1.05);
}

.screenshot-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 8px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 10px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.screenshot-wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.screenshot-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    transition: transform 0.4s ease;
    object-fit: cover;
    aspect-ratio: 9/16;
}

.screenshot-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.screenshot-wrapper:hover .screenshot-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

.screenshot-overlay {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 16px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.screenshot-wrapper:hover .screenshot-overlay {
    transform: translateY(0);
    opacity: 1;
}

.screenshot-info h6 {
    font-size: 0.9rem;
    margin-bottom: 2px;
    font-weight: 600;
}

.screenshot-info small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.screenshot-features {
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.screenshot-features:hover {
    border-color: rgba(102, 126, 234, 0.2);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

/* Screenshot Animations */
@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

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

/* Screenshot Responsive Design */
@media (max-width: 768px) {
    .screenshot-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .screenshot-overlay {
        position: static;
        transform: none;
        opacity: 1;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
        margin-top: 8px;
        border-radius: 8px;
    }
    
    .screenshot-info h6 {
        font-size: 0.8rem;
    }
    
    .screenshot-info small {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .screenshot-wrapper {
        padding: 6px;
    }
    
    .screenshot-image {
        border-radius: 12px;
    }
    
    .section-badge .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}
