/* iOS Glassmorphism Custom Styles - Only unique styles not in Tailwind */


:root {
    --ios-primary: #ff6b35;
    --ios-primary-light: #ff8c5a;
    --ios-glass-bg: rgba(255, 255, 255, 0.08);
    --ios-glass-border: rgba(255, 255, 255, 0.18);
    --ios-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: white;
    line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* iOS Glassmorphism */
.ios-glass {
    background: var(--ios-glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--ios-glass-border);
    box-shadow: var(--ios-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.ios-glass-strong {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* iOS Button Styles */
.ios-button {
    background: linear-gradient(135deg, var(--ios-primary) 0%, var(--ios-primary-light) 100%);
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
}

.ios-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
}

.ios-button::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: 0.5s;
}

.ios-button:hover::before {
    left: 100%;
}

.ios-button-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.ios-button-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* iOS Card Styles */
.ios-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 24px;
}

.ios-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

/* iOS Navigation */
.ios-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1030;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.ios-nav.scrolled {
    top: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(25px);
}

/* iOS Bottom Navigation */
.ios-bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 400px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 12px 20px;
    z-index: 1030;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.ios-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 16px;
    min-width: 60px;
}

.ios-bottom-nav .nav-item:hover,
.ios-bottom-nav .nav-item.active {
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.15);
}

.ios-bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.ios-bottom-nav .nav-item:hover i,
.ios-bottom-nav .nav-item.active i {
    transform: scale(1.1);
}

.ios-bottom-nav .nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Feature Cards */
.feature-card {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover {
    transform: translateY(-8px);
}




/* Testimonial Cards */
.testimonial-card {
    transition: all 0.3s ease;
    padding: 24px;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 107, 53, 0.5);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 20px;
}

/* iOS Modal */
.ios-modal {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px 24px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ios-modal-handle {
    width: 40px;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 12px auto;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.7);
}

/* Note: All utility classes removed - using Tailwind CDN instead */


/* Safe area for mobile */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .ios-bottom-nav {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* Mobile Navbar Background */
@media (max-width: 768px) {
    .ios-nav {
        background-color: #818cf8bd !important;
    }
}

/* Custom Height Utility */
.h-20 {
    height: 6.2rem !important;
}

/* Hide on larger screens */
@media (min-width: 768px) {
    .ios-bottom-nav {
        display: none;
    }
}


/* Line clamp */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Aspect ratio */
.aspect-video {
    aspect-ratio: 16 / 9;
}

/* Object fit */
.object-cover {
    object-fit: cover;
}

/* Transform */
.transform {
    transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1));
}

.-translate-x-1\/2 {
    --tw-translate-x: -50%;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
}

/* Transition */
.transition {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

/* Hover states */
.hover\:scale-105:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
}

.hover\:shadow-2xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Focus states */
.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

/* List styles */
.list-none {
    list-style-type: none;
}

/* Border */
.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-white\/10 {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Opacity */
.opacity-60 {
    opacity: 0.6;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

/* Backdrop blur */
.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(16px);
}

.backdrop-blur-xl {
    backdrop-filter: blur(24px);
}



/* Print */
@media print {
    .no-print {
        display: none !important;
    }
}

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