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

:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #3385d6;
    --secondary: #00d4ff;
    --secondary-dark: #00b8e6;
    --dark: #0a0e13;
    --dark-light: #1a1f26;
    --light: #f8f9fa;
    --light-gray: #f0f4f8;
    --text: #1a1a1a;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #0066cc 0%, #0052a3 50%, #00d4ff 100%);
    --gradient-hero: linear-gradient(135deg, #f0f7ff 0%, #e0efff 50%, #f8fbff 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.99);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    color: var(--primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 28px;
}

.logo-subtitle {
    color: var(--text-light);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
    letter-spacing: -0.2px;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.nav-link.active {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.hamburger:hover span {
    background: var(--primary);
}

/* Hero Section */
.hero {
    padding: 200px 0 140px;
    background: var(--gradient-hero);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -8%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: blob 12s ease-in-out infinite;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: blob 15s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    z-index: 10;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -2px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
    font-weight: 500;
    max-width: 580px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 50px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    padding: 18px 48px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 0;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn > * {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.4);
}

.btn-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2.5px solid var(--primary);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.15);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.35);
}

/* Floating Cards */
.hero-visual {
    position: relative;
    height: 600px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 24px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
    text-align: center;
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(0, 212, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.floating-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 102, 204, 0.25);
    border-color: rgba(0, 212, 255, 0.5);
    background: rgba(255, 255, 255, 1);
}

.floating-card .icon {
    font-size: 64px;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 6px 12px rgba(0, 102, 204, 0.2));
    transition: transform 0.3s ease;
}

.floating-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.floating-card p {
    font-weight: 700;
    color: var(--primary);
    font-size: 17px;
    letter-spacing: 0.3px;
    margin: 0;
}

.card-1 {
    top: 0;
    right: 20px;
    animation-delay: 0s;
    width: 140px;
}

.card-2 {
    top: 160px;
    right: 120px;
    animation-delay: 0.5s;
    width: 140px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 102, 204, 0.05));
}

.card-3 {
    bottom: 60px;
    right: 30px;
    animation-delay: 1s;
    width: 140px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 102, 204, 0.05));
}

.card-4 {
    bottom: 120px;
    right: 160px;
    animation-delay: 1.5s;
    width: 140px;
}

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

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

/* Services Section */
.services {
    padding: 120px 0;
    background: white;
    position: relative;
}

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

.section-header h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--text);
    letter-spacing: -1.5px;
    line-height: 1.2;
}

.section-header p {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.7;
    font-weight: 500;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 30px;
    transition: var(--transition);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.15);
}

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

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
    font-size: 14px;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Enhanced Services Grid */
.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card-enhanced {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 1;
}

.service-card-enhanced:hover::before {
    transform: scaleX(1);
}

.service-card-enhanced:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 102, 204, 0.3);
}

.service-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), transparent);
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.service-card-enhanced:hover .service-image {
    transform: scale(1.08);
}

.service-card-enhanced:hover .service-image::after {
    opacity: 0.3;
}

.service-body {
    padding: 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.service-card-enhanced h3 {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.service-card-enhanced h3 a {
    text-decoration: none;
    color: var(--text);
    transition: color 0.3s ease;
    display: block;
}

.service-card-enhanced h3 a:hover {
    color: var(--primary);
}

.service-card-enhanced p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: 16px;
    flex: 1;
}

.view-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 10px;
    margin-top: auto;
    padding: 8px 0;
}

.view-more:hover {
    transform: translateX(8px);
    color: var(--primary-dark);
    gap: 12px;
}

.view-more::after {
    content: '→';
    font-size: 18px;
    transition: transform 0.3s ease;
}

.view-more:hover::after {
    transform: translateX(4px);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--light-gray);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text h3 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--text);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.2;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 36px;
    line-height: 1.9;
    font-size: 17px;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 48px 0;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.stat {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat:hover {
    background: var(--light-gray);
    transform: translateY(-5px);
}

.stat h4 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat p {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.about-list {
    list-style: none;
    margin-top: 8px;
}

.about-list li {
    padding: 16px 0;
    color: var(--text);
    line-height: 1.8;
    font-size: 16px;
    padding-left: 32px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 16px;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.about-list strong {
    color: var(--primary);
    font-weight: 700;
}

/* Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.timeline-item {
    background: white;
    padding: 36px;
    border-radius: 20px;
    border-left: 5px solid transparent;
    border-image: var(--gradient-primary) 1;
    position: relative;
    padding-left: 80px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
}

.timeline-number {
    position: absolute;
    left: 20px;
    top: 30px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.timeline-item h5 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.3px;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: white;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
    align-items: start;
}

.contact-form {
    background: var(--light-gray);
    padding: 48px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 24px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-lighter);
}

.contact-form button {
    width: 100%;
    margin-top: 10px;
}

.form-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-item {
    padding: 36px;
    background: var(--light-gray);
    border-radius: 20px;
    border-left: 5px solid transparent;
    border-image: var(--gradient-primary) 1;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.info-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.info-item h4 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.info-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark);
    color: #e0e0e0;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 24px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 15px;
    font-weight: 500;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 14px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-visual {
        display: none;
    }

    .section-header h2 {
        font-size: 36px;
    }
    
    .services-grid-enhanced {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 160px 0 100px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }
}
