/* iCalling - Main Styles */
/* Based on Cloudflare Pages design */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(120, 80, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(80, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 100, 150, 0.05) 0%, transparent 70%);
    animation: bgPulse 20s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin-bottom: 40px;
}

/* Dashboard Card Button */
.dashboard-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    margin-bottom: 60px;
    max-width: 500px;
    width: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(120, 80, 255, 0.2);
}

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

.dashboard-content {
    flex: 1;
    text-align: left;
}

.dashboard-content h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.dashboard-content p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

.dashboard-arrow {
    font-size: 1.5rem;
    color: #888;
    transition: transform 0.3s, color 0.3s;
}

.dashboard-card:hover .dashboard-arrow {
    transform: translateX(5px);
    color: #fff;
}

/* Blog Carousel Section */
.blog-carousel-section {
    width: 100%;
    max-width: 1000px;
    margin-top: 20px;
}

.carousel-title {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 20px;
}

.blog-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.blog-carousel-item {
    padding: 24px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    text-align: left;
    transition: transform 0.3s, background 0.3s;
}

.blog-carousel-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.05);
}

.blog-carousel-item .blog-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.blog-carousel-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #fff;
}

.blog-carousel-item p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-carousel-item a {
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.blog-carousel-item a:hover {
    color: #fff;
}

/* Sections */
.section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 60px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 60px rgba(120, 80, 255, 0.3);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: #888;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Vision Cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.vision-card {
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.vision-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.vision-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.vision-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 20px 40px rgba(120, 80, 255, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.service-link {
    color: #888;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.service-card:hover .service-link {
    color: #fff;
}

/* Latest News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    padding: 30px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: transform 0.3s, background 0.3s;
}

.news-card:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.05);
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(120, 80, 255, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: #a080ff;
    margin-bottom: 16px;
}

.news-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.news-card p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.news-card a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.news-card a:hover {
    color: #fff;
}

/* Footer */
footer {
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    color: #444;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 100px 20px 40px;
    }
    
    .dashboard-card {
        padding: 20px 24px;
        margin-bottom: 40px;
    }
    
    .blog-carousel {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .vision-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
}
