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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(147, 51, 234, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 2px 20px rgba(139, 92, 246, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo svg {
    width: 40px;
    height: 40px;
}

.nav-logo h2 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.2;
    z-index: 1;
    animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { opacity: 0.2; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1.1); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #8b5cf6;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.cta-nav {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.nav-link.cta-nav::after {
    display: none;
}

.nav-link.cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
    filter: blur(2px);
}

.shape1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 8%;
    animation-delay: -2s;
}

.shape2 {
    width: 180px;
    height: 180px;
    top: 55%;
    right: 10%;
    animation-delay: -4s;
}

.shape3 {
    width: 90px;
    height: 90px;
    bottom: 25%;
    left: 65%;
    animation-delay: -1s;
}

.shape4 {
    width: 150px;
    height: 150px;
    top: 25%;
    right: 25%;
    animation-delay: -3s;
}

.shape5 {
    width: 110px;
    height: 110px;
    bottom: 35%;
    left: 15%;
    animation-delay: -5s;
}

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

.particle-system {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: particleFloat 12s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 30%; animation-delay: 3s; }
.particle:nth-child(4) { left: 40%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 50%; animation-delay: 6s; }
.particle:nth-child(6) { left: 60%; animation-delay: 7.5s; }
.particle:nth-child(7) { left: 70%; animation-delay: 9s; }
.particle:nth-child(8) { left: 80%; animation-delay: 10.5s; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

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

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a202c 0%, #8b5cf6 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.05em;
    line-height: 1.1;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.3)); }
    100% { filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.6)); }
}

.hero-subtitle {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: #4a5568;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.hero-global {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Page Hero */
.page-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    z-index: 1;
}

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

.page-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a202c;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.4rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(340px, 1fr));
    gap: 5rem;
    text-align: center;
    position: relative;
    z-index: 2;
    margin: 0 auto;
    justify-content: center;
    /* ensure grid is centered */
}

.stat-card {
    padding: 3.2rem 2.7rem;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
    font-size: 1.1rem;
    /* slightly increased width, minimal height increase */
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-number {
    font-size: 3.8rem;
    /* slightly larger number */
    color: #8b5cf6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
}

.stat-label {
    font-size: 1.3rem;
    /* slightly larger label */
    color: #4a5568;
    font-weight: 600;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    opacity: 0;
    border-radius: 20px;
    transition: opacity 0.4s ease;
}

.stat-card:hover .stat-glow {
    opacity: 0.05;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
    border-radius: 2px;
}

.services-container {
    position: relative;
    z-index: 2;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: translateY(0);
}

.service-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-item:hover .service-content {
    transform: translateX(10px);
}

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

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-item.reverse:hover .service-content {
    transform: translateX(-10px);
}

.service-content {
    flex: 1;
    transition: transform 0.3s ease;
}

.service-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a202c;
    line-height: 1.2;
}

.service-content p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #4b5563;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    color: #8b5cf6;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-visual {
    flex: 0 0 300px;
    height: 250px;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.service-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

.service-icon {
    width: 100px;
    height: 100px;
    position: relative;
    z-index: 2;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8b5cf6;
    stroke-width: 1.5;
    filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.2));
}

/* Why Choose Section */
.why-choose-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
}

.feature-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, #f3e8ff 0%, #ffffff 100%);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8b5cf6;
    stroke-width: 1.5;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.feature-item p {
    color: #4a5568;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 60% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto 3rem;
    position: relative;
    min-height: 250px;
    z-index: 2;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.6s ease;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.testimonial-item.active {
    display: block;
    opacity: 1;
}

.testimonial-content p {
    font-size: 1.4rem;
    color: #2d3748;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.testimonial-author strong {
    display: block;
    color: #1a202c;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #8b5cf6;
    font-size: 1rem;
    font-weight: 500;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #8b5cf6;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 40%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    margin-bottom: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    background: #faf5ff;
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #8b5cf6;
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #8b5cf6;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 2rem 2rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Bottom CTA */
.bottom-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.bottom-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.bottom-cta .container {
    position: relative;
    z-index: 2;
}

.bottom-cta h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.bottom-cta .cta-button {
    background: white;
    color: #8b5cf6;
}

.bottom-cta .cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 50px;
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.cta-button:hover .button-glow {
    opacity: 0.7;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    color: #ffffff;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    z-index: 1;
    border-radius: 30px 30px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #8b5cf6;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    color: #8b5cf6;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.8rem;
}

.footer-nav a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #8b5cf6;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #a0aec0;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: #a0aec0;
    position: relative;
    z-index: 2;
}

/* Hiring Page Styles */
.positions-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.positions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.position-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    opacity: 1;
    transform: translateY(0);
}

.position-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.position-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.position-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.position-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8b5cf6;
    stroke-width: 1.5;
}

.position-card:hover .position-icon {
    transform: scale(1.1);
}

.position-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a202c;
    position: relative;
    z-index: 2;
}

.position-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

.position-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.position-type {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.position-location {
    color: #8b5cf6;
    font-weight: 600;
}

/* Application Section */
.application-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.application-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.application-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #1a202c;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2d3748;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    background: #faf5ff;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.submit-button:hover .button-glow {
    opacity: 0.7;
}

/* Benefits Section */
.benefits-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.benefit-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    opacity: 1;
    transform: translateY(0);
}

.benefit-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.benefit-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8b5cf6;
    stroke-width: 1.5;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
    position: relative;
    z-index: 2;
}

.benefit-card p {
    color: #4a5568;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Internship Section */
.internship-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.internship-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.internship-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.internship-description {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.internship-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.internship-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease;
}

.internship-feature.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.internship-feature .feature-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border-radius: 12px;
}

.internship-feature .feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.3rem;
}

.internship-feature .feature-content p {
    color: #4a5568;
    font-size: 0.95rem;
}

.internship-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.internship-illustration {
    width: 300px;
    height: 300px;
}

.internship-illustration svg {
    width: 100%;
    height: 100%;
}

/* Development Process Section */
.process-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #4a5568;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateX(0);
}

.process-step.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.2);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.step-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.step-content p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.step-visual {
    width: 200px;
    height: 120px;
    margin-top: 1rem;
}

.step-visual svg {
    width: 100%;
    height: 100%;
}

/* Tech Stacks Page */
.tech-stacks-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.tech-stacks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 40%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.tech-category {
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.tech-category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a202c;
    text-align: center;
    position: relative;
}

.tech-category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
    border-radius: 2px;
}

.tech-category-description {
    font-size: 1.2rem;
    color: #4a5568;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.tech-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 1rem 0;
}

/* All tech cards in single row */
.tech-category:nth-child(1) .tech-grid,
.tech-category:nth-child(2) .tech-grid,
.tech-category:nth-child(3) .tech-grid,
.tech-category:nth-child(4) .tech-grid,
.tech-category:nth-child(5) .tech-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 1rem 0;
}

.tech-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
    opacity: 1;
    transform: translateY(0);
    min-height: 260px;
    width: 280px;
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tech-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tech-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.tech-card:hover::before {
    left: 100%;
}

/* Unique pulse animation for tech icons */
.tech-icon {
    position: relative;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-icon::after {
    transform: translate(-50%, -50%) scale(1.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.5);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(2);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2.5);
    }
}

.tech-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.tech-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8b5cf6;
    stroke-width: 1.5;
}

.tech-card:hover .tech-icon {
    transform: scale(1.1);
}

.tech-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a202c;
    position: relative;
    z-index: 2;
}

.tech-card p {
    color: #4a5568;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.tech-benefits {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech-benefits span {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.tech-details {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #475569;
}

.tech-details strong {
    color: #1e293b;
    font-weight: 600;
}

/* About Page */
.vision-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.vision-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.vision-text {
    font-size: 1.3rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.vision-text.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.values-section {
    padding: 120px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 40%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 60%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.value-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    opacity: 1;
    transform: translateY(0);
}

.value-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
    position: relative;
    z-index: 2;
}

.value-card p {
    color: #4a5568;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.highlights-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.highlight-item {
    text-align: center;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    opacity: 1;
    transform: translateY(0);
}

.highlight-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.highlight-item:hover {
    transform: translateY(-8px);
    background: #faf5ff;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.2);
}

.highlight-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.1);
}

.highlight-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.highlight-item p {
    color: #4a5568;
    line-height: 1.6;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-section .cta-button {
    background: white;
    color: #8b5cf6;
}

.cta-section .cta-button:hover {
    background: #f8f9fa;
}

/* Project Page */
.process-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.step-item {
    text-align: center;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    opacity: 1;
    transform: translateY(0);
}

.step-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.step-item:hover {
    transform: translateY(-8px);
    background: #faf5ff;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.12);
    border-color: rgba(139, 92, 246, 0.2);
}

.step-number {
    display: inline-flex;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    transition: transform 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.step-content p {
    color: #4a5568;
    line-height: 1.6;
}

.ai-cta-section {
    padding: 120px 0;
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ai-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.ai-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.ai-cta-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.ai-cta-content p {
    font-size: 1.3rem;
    color: #4a5568;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.project-form-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.project-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 50%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 50%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.project-form {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* AI Chat System */
.ai-chat-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.ai-chat-overlay.show {
    display: flex;
}

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

.ai-chat-container {
    width: 90%;
    max-width: 500px;
    height: 80vh;
    max-height: 700px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(20px);
}

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

.ai-chat-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.ai-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.ai-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: aiPulse 2s ease-in-out infinite;
}

@keyframes aiPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.ai-info h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.ai-status {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.close-chat {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close-chat:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ai-chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #ffffff;
}

.message {
    margin-bottom: 1.5rem;
    animation: messageSlide 0.3s ease;
}

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

.ai-message {
    text-align: left;
}

.user-message {
    text-align: right;
}

.message-content {
    display: inline-block;
    max-width: 80%;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    position: relative;
}

.ai-message .message-content {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #2d3748;
}

.user-message .message-content {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
}

.message-content p {
    margin: 0;
    line-height: 1.5;
}

.message-time {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-top: 0.5rem;
}

.ai-chat-input {
    padding: 1.5rem;
    background: #ffffff;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.input-container {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.input-container input {
    flex: 1;
    padding: 1rem;
    background: #faf5ff;
    border: 2px solid rgba(139, 92, 246, 0.1);
    border-radius: 25px;
    color: #2d3748;
    font-size: 1rem;
}

.input-container input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.input-container input::placeholder {
    color: #a0aec0;
}

.send-button {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.send-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.quick-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.quick-action {
    padding: 0.6rem 1.2rem;
    background: #faf5ff;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    color: #8b5cf6;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.quick-action:hover {
    background: #8b5cf6;
    color: white;
    border-color: #8b5cf6;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    margin: 15% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.3);
}

.modal.show .modal-content {
    transform: scale(1);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.modal-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.modal-content p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.close-modal {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.close-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.feature-item:nth-child(1) { transition-delay: 0.1s; }
.feature-item:nth-child(2) { transition-delay: 0.2s; }
.feature-item:nth-child(3) { transition-delay: 0.3s; }
.feature-item:nth-child(4) { transition-delay: 0.4s; }

.faq-item:nth-child(1) { transition-delay: 0.1s; }
.faq-item:nth-child(2) { transition-delay: 0.2s; }
.faq-item:nth-child(3) { transition-delay: 0.3s; }
.faq-item:nth-child(4) { transition-delay: 0.4s; }
.faq-item:nth-child(5) { transition-delay: 0.5s; }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 1rem 20px;
    }
    
    .nav-menu {
        gap: 1.2rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section h4 {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-nav {
        text-align: center;
    }
    
    .footer-nav li {
        margin-bottom: 0.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        width: 80%;
        text-align: center;
    }
    
    .newsletter-form button {
        width: 80%;
        text-align: center;
    }
    
    .footer-bottom {
        text-align: center;
    }

    .ai-chat-container {
        width: 95%;
        height: 90vh;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    /* Tech grid responsive adjustments for tablet */
    .tech-grid {
        gap: 1.5rem;
        padding: 0.5rem 0;
    }
    
    .tech-card {
        width: 250px;
        flex: 0 0 250px;
        padding: 1.5rem;
        min-height: 240px;
    }
    
    /* Override specific layouts for tablet */
    .tech-category:nth-child(1) .tech-grid,
    .tech-category:nth-child(2) .tech-grid,
    .tech-category:nth-child(3) .tech-grid,
    .tech-category:nth-child(4) .tech-grid,
    .tech-category:nth-child(5) .tech-grid {
        gap: 1.5rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0.8rem 15px;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }
    
    .nav-link.cta-nav {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tech-grid {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .tech-card {
        width: 280px;
        flex: 0 0 280px;
        padding: 1.5rem;
        min-height: 220px;
    }
    
    /* Override specific layouts for mobile */
    .tech-category:nth-child(1) .tech-grid,
    .tech-category:nth-child(2) .tech-grid,
    .tech-category:nth-child(3) .tech-grid,
    .tech-category:nth-child(4) .tech-grid,
    .tech-category:nth-child(5) .tech-grid {
        gap: 1rem;
        padding: 0.5rem 0;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 2rem;
    }

    .ai-chat-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

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

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

::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
}

/* Horizontal scrollbar for tech grids */
.tech-grid::-webkit-scrollbar {
    height: 6px;
}

.tech-grid::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.05);
    border-radius: 3px;
}

.tech-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #8b5cf6, #a855f7);
    border-radius: 3px;
}

.tech-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #7c3aed, #9333ea);
}

/* Loading animations */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Performance optimizations */
.service-card,
.feature-item,
.tech-card,
.position-card,
.value-card,
.highlight-item,
.step-item,
.faq-item {
    will-change: transform, opacity;
}

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

/* Focus styles for accessibility */
.nav-link:focus,
.cta-button:focus,
.submit-button:focus,
.close-modal:focus,
.send-button:focus,
.quick-action:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .feature-item,
    .tech-card,
    .position-card,
    .value-card,
    .highlight-item,
    .step-item,
    .faq-item {
        border-color: #1a202c;
    }
}

/* Founders Section Styles */
.founders-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.founders-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.founders-side-by-side {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.founder-profile {
    flex: 1;
    max-width: 500px;
    text-align: center;
    position: relative;
}

.founder-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 4px solid #ffffff;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
    transition: all 0.4s ease;
}

.founder-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.founder-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 3px;
}

.founder-details {
    padding: 0 1rem;
}

.founder-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.founder-title {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.founder-description {
    color: #4a5568;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-weight: 400;
}

.founder-specialty {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    padding: 1rem 1.5rem;
    border-radius: 25px;
    border: 2px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
}

.founder-specialty:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

.specialty-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.specialty-text {
    color: #7c3aed;
    font-weight: 600;
    font-size: 1rem;
}

.founder-divider {
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, transparent, #8b5cf6, transparent);
    position: relative;
}

.founder-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #8b5cf6;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* Responsive design for founders section */
@media (max-width: 768px) {
    .founders-side-by-side {
        flex-direction: column;
        gap: 3rem;
    }
    
    .founder-divider {
        width: 200px;
        height: 2px;
        background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
    }
    
    .founder-divider::before {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .founder-image {
        width: 180px;
        height: 180px;
    }
    
    .founder-name {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .founders-side-by-side {
        gap: 2rem;
    }
    
    .founder-image {
        width: 150px;
        height: 150px;
    }
    
    .founder-fallback {
        font-size: 2.5rem;
    }
    
    .founder-name {
        font-size: 2rem;
    }
    
    .founder-description {
        font-size: 1rem;
    }
    
    .founder-specialty {
        padding: 0.75rem 1.25rem;
    }
}

/* Newsletter Popup Styles */
.newsletter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.newsletter-popup-content {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 2rem;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.1);
    animation: slideUp 0.3s ease;
}

.newsletter-success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
}

.newsletter-popup-content h3 {
    color: #1a202c;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-popup-content p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-close-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

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

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

/* Client Submission Form Styles */
.client-submission-form {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 15px;
    margin: 1rem 0;
}

.client-submission-form .message-content {
    padding: 1.5rem;
}

.client-submission-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.client-submission-form .form-group {
    position: relative;
}

.client-submission-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    font-size: 0.95rem;
    background: white;
    transition: all 0.3s ease;
}

.client-submission-form input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: translateY(-1px);
}

.client-submission-form input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.submit-project-btn {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.submit-project-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Project Summary Styles */
.ai-message .message-content {
    line-height: 1.6;
}

.ai-message .message-content strong {
    color: #8b5cf6;
    font-weight: 600;
}

.ai-message .message-content ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.ai-message .message-content li {
    margin: 0.25rem 0;
}

/* Team Section Styles */
.team-section {
    padding: 120px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.team-category {
    margin-bottom: 4rem;
}

.team-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.team-category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 2px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.team-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    width: 300px;
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.05), transparent);
    transition: left 0.5s ease;
}

.team-card:hover::before {
    left: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-avatar::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.team-card:hover .team-avatar::after {
    opacity: 0.6;
}

.avatar-placeholder {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.team-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.team-role {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.team-description {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.team-expertise span {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Responsive design for team section */
@media (max-width: 768px) {
    .team-grid {
        gap: 1.5rem;
    }
    
    .team-card {
        width: 280px;
        flex: 0 0 280px;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .team-grid {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .team-card {
        width: 100%;
        max-width: 320px;
        padding: 1.5rem;
    }
}
/* Fix for invisible orders in admin */
.orders-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
}

.order-item {
    background: #ffffff;
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.05);
    padding: 1.5rem;
    min-height: 120px; /* ensure visibility */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.12);
}

.stat-card, .stat-number, .stat-label {
    font-family: 'Poppins', 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 700;
}

.neon-loop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 4px solid transparent;
    box-shadow: 0 0 60px 10px #a855f7, 0 0 120px 30px #8b5cf6;
    background: conic-gradient(from 0deg, #8b5cf6 0%, #a855f7 40%, #3730a3 80%, #8b5cf6 100%);
    opacity: 0.18;
    z-index: 2;
    animation: neonSpin 12s linear infinite, neonPulse 3.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes neonPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.18; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.28; }
}

@keyframes neonSpin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (max-width: 768px) {
    .neon-loop {
        width: 220px;
        height: 220px;
    }
}

/* Blog System Styles */

/* Blog Listing Page */
.blog-list-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.blog-list-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.blog-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.blog-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.3);
}

.blog-card-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-card-category {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card-excerpt {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-footer {
    padding: 1rem 1.5rem;
    background: #faf5ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-card-date {
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-card-read-more {
    color: #8b5cf6;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-read-more:hover {
    color: #7c3aed;
}

/* Blog Post Template */
.blog-post-section {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.blog-post-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blog-post-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.blog-post-category {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-post-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.blog-post-excerpt {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    color: #1a202c;
    margin: 2rem 0 1rem 0;
    font-weight: 700;
}

.blog-post-content h1 { font-size: 2.2rem; }
.blog-post-content h2 { font-size: 1.8rem; }
.blog-post-content h3 { font-size: 1.5rem; }

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.5rem;
}

.blog-post-content blockquote {
    border-left: 4px solid #8b5cf6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6b7280;
    background: #faf5ff;
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.blog-post-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
}

.blog-post-content pre {
    background: #1a202c;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

.blog-post-content a {
    color: #8b5cf6;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.blog-post-content a:hover {
    border-bottom-color: #8b5cf6;
}

/* Comments Section */
.comments-section {
    padding: 80px 0;
    background: #fafafa;
    position: relative;
    overflow: hidden;
}

.comments-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(168, 85, 247, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.comments-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 2;
}

.comment-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: #1a202c;
}

.comment-date {
    font-size: 0.9rem;
    color: #6b7280;
}

.comment-content {
    color: #4a5568;
    line-height: 1.6;
}

.comment-form {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    position: relative;
    z-index: 2;
}

.comment-form .form-group {
    margin-bottom: 1.5rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Admin Panel Styles */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    position: relative;
    overflow: hidden;
}

.login-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 2;
}

.login-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.login-container p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.admin-panel {
    padding: 2rem 0;
    background: #fafafa;
    min-height: calc(100vh - 80px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

.cta-button.danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.post-editor {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    margin-bottom: 3rem;
}

.post-editor h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

.post-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-form .form-group {
    margin-bottom: 1.5rem;
}

.post-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
}

.post-form input,
.post-form select,
.post-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
}

.posts-list h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

.posts-container {
    display: grid;
    gap: 1.5rem;
}

.post-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

.post-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-btn {
    background: #8b5cf6;
    color: white;
}

.edit-btn:hover {
    background: #7c3aed;
}

.delete-btn {
    background: #ef4444;
    color: white;
}

.delete-btn:hover {
    background: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-list-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .admin-actions {
        justify-content: center;
    }
    
    .post-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .post-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .post-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .post-editor {
        padding: 1.5rem;
    }
    
    .comment-form {
        padding: 1.5rem;
    }
}

/* Enhanced Admin Panel Styles */
.admin-panel {
    padding: 2rem 0;
    background: #fafafa;
    min-height: calc(100vh - 80px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.admin-header-left h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.admin-subtitle {
    color: #6b7280;
    font-size: 1.1rem;
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.admin-actions .cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-actions .cta-button svg {
    flex-shrink: 0;
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    margin-bottom: 2rem;
}

.analytics-dashboard h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.analytics-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.analytics-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 12px;
    color: white;
}

.analytics-content h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytics-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
}

.analytics-section {
    margin-top: 2rem;
}

.analytics-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.top-posts-list {
    display: grid;
    gap: 1rem;
}

.top-post-item {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rank {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.post-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
}

.post-info p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}

/* Enhanced Post Editor */
.post-editor {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
    margin-bottom: 3rem;
}

.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.editor-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.editor-actions {
    display: flex;
    gap: 1rem;
}

.editor-actions .cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.post-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-form .form-group {
    margin-bottom: 1.5rem;
}

.post-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1a202c;
}

.post-form input,
.post-form select,
.post-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.post-form input:focus,
.post-form select:focus,
.post-form textarea:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.post-form input::placeholder,
.post-form textarea::placeholder {
    color: #9ca3af;
}

/* Image Upload */
.image-upload-container {
    position: relative;
}

.image-upload-container input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.image-preview {
    border: 2px dashed rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #faf5ff;
    transition: all 0.3s ease;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.image-preview:hover {
    border-color: #8b5cf6;
    background: #f3e8ff;
}

.image-preview svg {
    color: #8b5cf6;
}

.image-preview p {
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.form-actions .cta-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Enhanced Posts List */
.posts-list {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.08);
}

.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.posts-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.posts-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.posts-stats span {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.posts-container {
    display: grid;
    gap: 1.5rem;
}

.post-item {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.post-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #6b7280;
    flex-wrap: wrap;
    align-items: center;
}

.post-category {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-stats {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.post-stats span {
    background: #e5e7eb;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

.post-actions button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-btn {
    background: #8b5cf6;
    color: white;
}

.edit-btn:hover {
    background: #7c3aed;
    transform: translateY(-1px);
}

.delete-btn {
    background: #ef4444;
    color: white;
}

.delete-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Enhanced Login Screen */
.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #3730a3 100%);
    position: relative;
    overflow: hidden;
}

.login-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%);
    z-index: 1;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    text-align: center;
    max-width: 400px;
    width: 90%;
    position: relative;
    z-index: 2;
}

.login-container h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
}

.login-container p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .admin-actions {
        justify-content: center;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .post-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .post-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .post-actions {
        justify-content: center;
    }
    
    .posts-header {
        flex-direction: column;
        text-align: center;
    }
    
    .editor-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .editor-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 2rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .post-editor {
        padding: 1.5rem;
    }
    
    .posts-list {
        padding: 1.5rem;
    }
    
    .analytics-dashboard {
        padding: 1.5rem;
    }
}

/* Blog Stats Display */
.blog-card-stats {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-card-stats span {
    font-size: 0.9rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-post-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.blog-post-stats span {
    font-size: 1rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.blog-post-stats .views,
.blog-post-stats .comments {
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.blog-card-stats .views,
.blog-card-stats .comments {
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Enhanced Blog Card Footer */
.blog-card-footer {
    padding: 1rem 1.5rem;
    background: #faf5ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.blog-card-date {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
}

/* Blog Post Header Stats */
.blog-post-header .blog-post-stats {
    justify-content: center;
    margin-top: 1.5rem;
}

.blog-post-header .blog-post-stats span {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #7c3aed;
    font-weight: 600;
}

/* Responsive Stats */
@media (max-width: 768px) {
    .blog-card-footer {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .blog-post-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .blog-card-stats {
        justify-content: center;
    }
}

/* Enhanced AI Chat Styles */
.typing-indicator .typing-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Meeting Scheduler Styles */
.meeting-scheduler .time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
    margin: 1rem 0;
}

.time-slot {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.time-slot:active {
    transform: translateY(0);
}

/* Client Form Styles */
.client-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.client-form .form-group {
    display: flex;
    flex-direction: column;
}

.client-form input,
.client-form select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.client-form input:focus,
.client-form select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.schedule-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.schedule-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Meeting Confirmation Styles */
.meeting-confirmation .meeting-details {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid rgba(139, 92, 246, 0.1);
}

.meeting-details p {
    margin: 0.5rem 0;
    color: #374151;
}

.meet-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
    display: inline-block;
    margin-top: 0.5rem;
}

.meet-link:hover {
    text-decoration: underline;
}

.meeting-actions {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.calendar-btn,
.copy-btn,
.test-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-btn:hover,
.copy-btn:hover,
.test-btn:hover {
    background: #e5e7eb;
    transform: translateY(-1px);
}

.calendar-btn:active,
.copy-btn:active,
.test-btn:active {
    transform: translateY(0);
}

/* Enhanced Message Styles */
.ai-message h4 {
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.ai-message p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.ai-message small {
    color: #6b7280;
    font-size: 0.85rem;
}

/* Responsive Design for Chat */
@media (max-width: 768px) {
    .meeting-scheduler .time-slots {
        grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
        gap: 0.25rem;
    }
    
    .time-slot {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .meeting-actions {
        flex-direction: column;
    }
    
    .calendar-btn,
    .copy-btn,
    .test-btn {
        width: 100%;
        justify-content: center;
    }
    
    .client-form input,
    .client-form select {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .meeting-scheduler .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .meeting-details {
        padding: 0.75rem;
    }
    
    .meet-link {
        font-size: 0.9rem;
    }
}

/* Google Meet Integration Styles */
.meet-link {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.meet-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
    text-decoration: none;
}

/* Meeting Info Styles */
.meeting-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.meeting-info p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #0369a1;
}

.meeting-info ul {
    margin: 0;
    padding-left: 1.5rem;
}

.meeting-info li {
    margin: 0.25rem 0;
    color: #0c4a6e;
    font-size: 0.9rem;
}

/* Success Animation */
.meeting-confirmation {
    animation: slideInUp 0.5s ease-out;
}

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

/* Form Validation Styles */
.client-form input:invalid,
.client-form select:invalid {
    border-color: #ef4444;
}

.client-form input:valid,
.client-form select:valid {
    border-color: #10b981;
}

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

.schedule-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}