/* Apple Liquid Glass UI (2025) Design System */

/* Modern Apple-inspired Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=SF+Pro+Display:wght@100;200;300;400;500;600;700;800;900&display=swap');

/* CSS Variables for Liquid Glass System */
:root {
    /* Liquid Glass Colors */
    --glass-white: rgba(255, 255, 255, 0.25);
    --glass-white-strong: rgba(255, 255, 255, 0.4);
    --glass-dark: rgba(0, 0, 0, 0.15);
    --glass-dark-strong: rgba(0, 0, 0, 0.3);
    --glass-accent: rgba(0, 122, 255, 0.6);
    --glass-success: rgba(52, 199, 89, 0.6);
    --glass-warning: rgba(255, 149, 0, 0.6);
    
    /* Background Gradients */
    --bg-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --bg-surface: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Blur Effects */
    --blur-light: blur(20px);
    --blur-medium: blur(40px);
    --blur-heavy: blur(60px);
    
    /* Shadows */
    --shadow-glass: 0 8px 32px rgba(31, 38, 135, 0.37);
    --shadow-float: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-small: 12px;
    --radius-medium: 20px;
    --radius-large: 32px;
    --radius-xl: 48px;
    
    /* Animations */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-spring: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #1d1d1f;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow-x: hidden;
}

/* Liquid Glass Container */
.liquid-container {
    backdrop-filter: var(--blur-medium);
    -webkit-backdrop-filter: var(--blur-medium);
    background: var(--glass-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

/* Hero Section - Liquid Glass */
.hero-liquid {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-liquid::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-liquid::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content-glass {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 30px;
}

.hero-title-liquid {
    font-family: 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.hero-subtitle-liquid {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glass Cards */
.glass-card {
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    background: var(--glass-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-medium);
    padding: 40px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-card .condensation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover .condensation {
    opacity: 0.6;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    background: var(--glass-white-strong);
}

/* Button Styles - Liquid Glass */
.btn-glass {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-large);
    cursor: pointer;
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.btn-glass.primary {
    background: var(--glass-accent);
    color: white;
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-glass.secondary {
    background: var(--glass-white);
    color: #1d1d1f;
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    box-shadow: var(--shadow-glass);
}

.btn-glass::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: var(--transition-smooth);
}

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

.btn-glass:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Premium Industries Section */
.industries-liquid {
    padding: 120px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.industries-liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
}

.section-title-liquid {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1d1d1f 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle-liquid {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 300;
    color: #86868b;
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Industry Cards Grid */
.industries-grid-liquid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.industry-card-liquid {
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-medium);
    padding: 40px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-spring);
    position: relative;
    overflow: hidden;
}

.industry-card-liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

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

.industry-card-liquid:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-hover);
}

.industry-icon-liquid {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.industry-title-liquid {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.industry-features-liquid {
    list-style: none;
    margin-bottom: 30px;
}

.industry-features-liquid li {
    padding: 8px 0;
    color: #515154;
    font-size: 0.95rem;
    position: relative;
    padding-left: 30px;
}

.industry-features-liquid li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #30d158;
    font-weight: bold;
    font-size: 1.2rem;
}

.industry-price-liquid {
    font-size: 0.9rem;
    color: #86868b;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.industry-price-liquid strong {
    color: #1d1d1f;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Stats Section - Liquid Glass */
.stats-liquid {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.stats-liquid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,138.7C672,128,768,128,864,138.7C960,149,1056,171,1152,165.3C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.stats-grid-liquid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-card-liquid {
    text-align: center;
    backdrop-filter: var(--blur-light);
    -webkit-backdrop-filter: var(--blur-light);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-medium);
    padding: 40px 20px;
    transition: var(--transition-smooth);
}

.stat-card-liquid:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number-liquid {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.stat-label-liquid {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Packages Section - Liquid Glass */
.packages-liquid {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.packages-grid-liquid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.package-card-liquid {
    backdrop-filter: var(--blur-medium);
    -webkit-backdrop-filter: var(--blur-medium);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-large);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-spring);
    overflow: hidden;
}

.package-card-liquid.featured {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(0, 122, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 122, 255, 0.1);
}

.package-card-liquid:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
}

.package-card-liquid.featured:hover {
    transform: translateY(-12px) scale(1.07);
}

.package-badge-liquid {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #007aff, #5856d6);
    color: white;
    padding: 8px 24px;
    border-radius: var(--radius-large);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .industries-grid-liquid,
    .packages-grid-liquid {
        grid-template-columns: 1fr;
    }
    
    .package-card-liquid.featured {
        transform: scale(1);
    }
    
    .hero-content-glass {
        padding: 40px 20px;
    }
    
    .glass-card {
        padding: 30px 20px;
    }
}

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

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Loading Animation */
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-shimmer {
    position: relative;
    overflow: hidden;
}

.loading-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

/* Parallax Background */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

/* Water Droplets for Realistic Glass Effect */
.water-droplet {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(255, 255, 255, 0.4) 20%, 
        rgba(255, 255, 255, 0.1) 40%, 
        transparent 70%);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    box-shadow: 
        inset 2px 2px 4px rgba(255, 255, 255, 0.3),
        inset -1px -1px 2px rgba(255, 255, 255, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    animation: dropletAppear 3s ease-in-out infinite;
}

.water-droplet::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 30%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.8);
}

.water-droplet::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 15%;
    height: 15%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

/* Droplet Sizes */
.water-droplet.small {
    width: 3px;
    height: 3px;
    animation-duration: 2s;
}

.water-droplet.medium {
    width: 6px;
    height: 6px;
    animation-duration: 3s;
}

.water-droplet.large {
    width: 10px;
    height: 10px;
    animation-duration: 4s;
}

.water-droplet.xl {
    width: 15px;
    height: 15px;
    animation-duration: 5s;
}

/* Droplet Animations */
@keyframes dropletAppear {
    0% {
        opacity: 0;
        transform: scale(0) translateY(-10px);
    }
    10% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    85% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(2px);
    }
}

@keyframes dropletSlide {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(30px);
        opacity: 0;
    }
}

@keyframes dropletTrickle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(15px) scale(0.9);
        opacity: 0.6;
    }
    100% {
        transform: translateY(40px) scale(0.7);
        opacity: 0;
    }
}

/* Glass Surface with Droplets */
.glass-surface {
    position: relative;
    overflow: hidden;
}

.glass-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at random, rgba(255,255,255,0.1) 1px, transparent 1px),
                radial-gradient(circle at random, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 50px 50px, 80px 80px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 5;
}

/* Interactive Droplets on Hover */
.glass-card:hover .water-droplet,
.industry-card-liquid:hover .water-droplet,
.package-card-liquid:hover .water-droplet {
    animation-duration: 1.5s;
    opacity: 1;
}

/* Condensation Effect */
.condensation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 2px),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 1.5px, transparent 3px),
        radial-gradient(circle at 40% 80%, rgba(255,255,255,0.12) 1px, transparent 2px),
        radial-gradient(circle at 90% 70%, rgba(255,255,255,0.06) 2px, transparent 4px),
        radial-gradient(circle at 10% 90%, rgba(255,255,255,0.09) 1px, transparent 2px);
    background-size: 30px 30px, 50px 50px, 40px 40px, 60px 60px, 35px 35px;
    opacity: 0;
    pointer-events: none;
    z-index: 8;
    transition: opacity 0.3s ease;
}

.glass-card:hover .condensation,
.industry-card-liquid:hover .condensation,
.package-card-liquid:hover .condensation {
    opacity: 1;
}

/* Rain Effect for Hero Section */
.hero-rain {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 3;
}

.rain-drop {
    position: absolute;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
    width: 1px;
    border-radius: 0 0 50% 50%;
    animation: rainFall linear infinite;
    opacity: 0.6;
}

@keyframes rainFall {
    0% {
        transform: translateY(-100vh) rotate(10deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(10deg);
        opacity: 0;
    }
}

/* Fog Effect */
.fog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 50% 100%, rgba(255,255,255,0.1) 0%, transparent 70%),
        radial-gradient(ellipse at 0% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 0.5s ease;
    animation: fogMove 10s ease-in-out infinite;
}

@keyframes fogMove {
    0%, 100% {
        transform: translateX(-2px);
        opacity: 0.3;
    }
    50% {
        transform: translateX(2px);
        opacity: 0.6;
    }
}

.glass-card:hover .fog-overlay {
    opacity: 0.4;
}