/* Apple-inspired clean design for cp.tarushv.com */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #1d1d1f;
    background-color: #fafafa;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Enhanced Liquid Glass Effect */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.1;
}

.blob {
    position: absolute;
    background: linear-gradient(45deg, #007aff, #5856d6, #30d158);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.blob-2 {
    width: 250px;
    height: 250px;
    top: 60%;
    right: 20%;
    animation-delay: -7s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
    25% { transform: translateY(-100px) translateX(50px) rotate(90deg); }
    50% { transform: translateY(-50px) translateX(-100px) rotate(180deg); }
    75% { transform: translateY(50px) translateX(30px) rotate(270deg); }
}

/* Liquid Glass Blob for Menu */
.nav-container {
    position: relative;
    overflow: visible;
}

.liquid-glass-blob {
    position: absolute;
    width: 120px;
    height: 60px;
    background: transparent;
    border-radius: 50px;
    backdrop-filter: blur(8px) brightness(1.4) contrast(1.1) saturate(1.3);
    -webkit-backdrop-filter: blur(8px) brightness(1.4) contrast(1.1) saturate(1.3);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.1),
        0 4px 20px rgba(0, 122, 255, 0.15),
        0 1px 3px rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: scale(0.8) translateY(10px);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.liquid-glass-blob::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.liquid-glass-blob::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 30%;
    width: 15px;
    height: 15px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.liquid-glass-blob.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.liquid-glass-blob.stretching {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 60px 30px;
    width: 150px;
}

.nav-links {
    position: relative;
    z-index: 5;
}

.liquid-element {
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 15;
}

.liquid-element.magnified {
    transform: scale(1.15) translateY(-3px);
    filter: brightness(1.3) saturate(1.4) contrast(1.1);
    text-shadow: 0 0 30px rgba(0, 122, 255, 0.4);
    font-weight: 600;
}

/* Remove the refraction effect overlay that was blocking text */
.liquid-element::before {
    display: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(0, 122, 255, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

header:hover {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
    border-bottom: 1px solid rgba(0, 122, 255, 0.2);
    transform: translateY(-1px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    height: 60px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #007aff;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:hover {
    color: #007aff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007aff;
    transition: width 0.2s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hero {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    margin-top: 60px;
    position: relative;
}

.hero::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 1000 100" fill="white" opacity="0.05"><circle cx="100" cy="50" r="30"/><circle cx="300" cy="20" r="20"/><circle cx="500" cy="70" r="25"/><circle cx="700" cy="30" r="15"/><circle cx="900" cy="60" r="35"/></svg>');
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -2px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 400;
    opacity: 0.9;
    animation: fadeInUp 1.2s ease-out;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
    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.3), transparent);
    transition: left 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 50px rgba(0, 122, 255, 0.4);
    backdrop-filter: blur(30px) saturate(200%);
}

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

.btn:active {
    transform: translateY(-3px) scale(1.05);
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

section {
    padding: 120px 0;
}

section:nth-child(even) {
    background-color: #ffffff;
}

h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: #1d1d1f;
    letter-spacing: -1px;
}

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

.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #5856d6, #30d158);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-100%);
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    transform: scale(0.8);
}

.card:hover {
    transform: translateY(-20px) scale(1.03) rotateY(2deg);
    box-shadow: 0 30px 80px rgba(0, 122, 255, 0.25);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px) saturate(200%);
}

.card:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.card:active {
    transform: translateY(-15px) scale(1.01);
    transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.card p {
    color: #6e6e73;
    line-height: 1.6;
    font-size: 16px;
}

.card ul {
    list-style: none;
    padding: 0;
}

.card ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.card ul li a {
    color: #007aff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.card ul li a:hover {
    color: #0056cc;
}

section ul {
    max-width: 600px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

section ul li {
    padding: 12px 0;
    font-size: 16px;
    color: #6e6e73;
    position: relative;
    padding-left: 24px;
}

section ul li::before {
    content: '•';
    color: #007aff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.member {
    text-align: center;
}

.member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 24px;
    object-fit: cover;
    border: 4px solid #f5f5f7;
    transition: transform 0.3s ease;
}

.member:hover img {
    transform: scale(1.05);
}

.member h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.member p:first-of-type {
    font-weight: 600;
    color: #007aff;
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

footer {
    background-color: #f5f5f7;
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

footer p {
    color: #86868b;
    font-size: 14px;
}

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .card {
        padding: 32px 24px;
    }
    
    section {
        padding: 80px 0;
    }
}
