/* Base Styles & Variables */
:root {
    --primary-color: #0099cc;
    --primary-light: #33aadd;
    --primary-dark: #0077b3;
    
    --text-main: #2b2b2b;
    --text-muted: #5f6368;
    
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-alt: #f1f5f9;
    
    --border-color: rgba(0, 153, 204, 0.15);
    
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 153, 204, 0.08), 0 4px 6px -2px rgba(0, 153, 204, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0, 153, 204, 0.1), 0 10px 10px -5px rgba(0, 153, 204, 0.04);
    
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    position: relative;
    overflow-x: hidden;
}

/* Background blob decorations */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
}

.shape-1 {
    top: -5%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, var(--primary-light) 0%, transparent 70%);
}

.shape-2 {
    top: 40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #e0f4ff 0%, transparent 70%);
}

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

/* Typography */
h1, h2, h3, h4, h5 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-main);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

/* UI Components */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::after {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 20px rgba(0, 153, 204, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 25px rgba(0, 153, 204, 0.4);
    transform: translateY(-3px);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Glassmorphic cards */
.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 24px;
    padding: 45px 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: var(--primary-light);
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 35px;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.brand span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a.btn-primary {
    color: white;
}
.nav-links a.btn-primary::after { display: none; }

.nav-links a:hover {
    color: var(--primary-color);
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    background: linear-gradient(135deg, #1e293b 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 45px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    position: relative;
}

.hero-image-blob {
    width: 100%;
    height: auto;
    animation: float 7s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

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

.about-text h3 {
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.about-features {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.about-feature .material-icons {
    background: rgba(0, 153, 204, 0.1);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 12px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background-color: var(--primary-color);
    color: white;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 153, 204, 0.1);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    color: white;
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.service-card p {
    color: var(--text-muted);
}

/* Process Timeline Section */
.process-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
}

.process-wrapper::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(0, 153, 204, 0.15);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    position: relative;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-surface);
    border: 4px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 2;
    flex-shrink: 0;
}

.process-content {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
}

.process-content h4 {
    color: var(--primary-dark);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-main);
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-item {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4 .material-icons {
    color: var(--primary-color);
}

/* Tech Stack */
.tech-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.tech-badge {
    background: var(--bg-surface);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.tech-badge:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    background: var(--bg-surface);
    padding: 60px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin: 50px auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    color: var(--text-main);
}

.legal-content p, .legal-content li {
    color: var(--text-muted);
}

.legal-content ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    background-color: var(--bg-alt);
    font-size: 1.05rem;
    color: var(--text-main);
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background-color: white;
    box-shadow: 0 0 0 4px rgba(0, 153, 204, 0.15);
}

.form-status {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
}
.form-status.success { display: block; background-color: #d4edda; color: #155724; }
.form-status.error { display: block; background-color: #f8d7da; color: #721c24; }

/* Footer */
.footer {
    background-color: #0f172a;
    color: #e2e8f0;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 70px;
}

.footer-info h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.footer-info h3 span { color: var(--primary-color); }
.footer-info p { color: #94a3b8; font-size: 1.1rem; max-width: 400px; }

.footer-links h4, .footer-contact h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: #94a3b8; }
.footer-links a:hover { color: var(--primary-color); padding-left: 5px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item .material-icons {
    background: rgba(0, 153, 204, 0.15);
    color: var(--primary-color);
    padding: 12px;
    border-radius: 50%;
    margin-right: 18px;
    font-size: 1.3rem;
}

.contact-item div h5 { color: white; margin-bottom: 5px; font-size: 1rem; }
.contact-item div p { color: #94a3b8; margin-bottom: 0; }

.footer-bottom {
    text-align: center;
    padding-top: 35px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .about-grid, .faq-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
    .process-wrapper::before { left: 30px; }
    .process-icon { width: 60px; height: 60px; font-size: 1.5rem; }
    .process-step { gap: 20px; }
}
