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

:root {
    --primary-color: #1d1d1f;
    --secondary-color: #06c;
    --accent-color: #0071e3;
    --light-bg: #fbfbfd;
    --white-bg: #ffffff;
    --gray-bg: #f5f5f7;
    --dark-text: #1d1d1f;
    --gray-text: #6e6e73;
    --light-text: #86868b;
    --border-color: #d2d2d7;
    --hover-bg: #f5f5f7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--white-bg);
    color: var(--dark-text);
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 44px;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.logo-symbol {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.logo-text {
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.05em;
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    opacity: 0.8;
}

.nav-link:hover {
    opacity: 1;
}

.cta-button {
    padding: 4px 11px;
    background: var(--accent-color);
    border: none;
    border-radius: 980px;
    color: white;
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0077ED;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 17px;
    height: 1px;
    background-color: var(--dark-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 44px;
    padding: 90px 0 100px;
    background: var(--light-bg);
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 22px;
}

.hero-text {
    max-width: 820px;
    margin: 0 auto 60px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.07143;
    font-weight: 600;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    color: var(--gray-text);
    margin-bottom: 24px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-primary {
    padding: 12px 22px;
    background: var(--accent-color);
    border: none;
    border-radius: 980px;
    color: white;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
    min-width: 28px;
}

.btn-primary:hover {
    background: #0077ED;
    transform: scale(1.02);
}

.btn-secondary {
    padding: 12px 22px;
    background: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 980px;
    color: var(--accent-color);
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 0;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08349;
    letter-spacing: -0.002em;
    color: var(--primary-color);
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 14px;
    color: var(--gray-text);
    margin-top: 4px;
}

.hero-image {
    position: relative;
    height: 400px;
    margin-top: 60px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 24px 28px;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.floating-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.floating-card i {
    font-size: 32px;
    color: var(--accent-color);
}

.floating-card p {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
}

.card-1 {
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    top: 40%;
    right: 10%;
    animation: float 6s ease-in-out infinite 2s;
}

.card-3 {
    bottom: 10%;
    left: 30%;
    animation: float 6s ease-in-out infinite 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Section Styles */
section {
    padding: 96px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 48px;
    line-height: 1.08349;
    font-weight: 600;
    letter-spacing: -0.003em;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section-description {
    font-size: 21px;
    line-height: 1.381;
    font-weight: 400;
    color: var(--gray-text);
}

/* Services Section */
.services {
    background: var(--white-bg);
}

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

.service-card {
    background: var(--gray-bg);
    padding: 40px 32px;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    background: white;
    border-color: var(--border-color);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 24px;
    color: white;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card > p {
    font-size: 17px;
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.47059;
}

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

.service-features li {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features i {
    color: var(--accent-color);
    font-size: 12px;
}

/* Features Section */
.features {
    background: var(--gray-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s cubic-bezier(0.28, 0.11, 0.32, 1);
}

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

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-item h3 {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 17px;
    color: var(--gray-text);
    line-height: 1.47059;
}

/* About Section */
.about {
    background: var(--white-bg);
}

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

.about-image {
    position: relative;
    height: 480px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 18px;
}

.about-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 18px;
}

.about-text h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.002em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-description {
    font-size: 21px;
    color: var(--gray-text);
    margin-bottom: 16px;
    line-height: 1.381;
}

.about-text > p {
    font-size: 17px;
    color: var(--gray-text);
    margin-bottom: 32px;
    line-height: 1.47059;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight:hover {
    background: var(--hover-bg);
    transform: translateX(4px);
}

.highlight i {
    font-size: 24px;
    color: var(--accent-color);
    margin-top: 4px;
}

.highlight h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.highlight p {
    font-size: 14px;
    color: var(--gray-text);
}

/* Testimonials Section */
.testimonials {
    background: var(--gray-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: white;
    padding: 40px 32px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating i {
    color: #ffb800;
    font-size: 16px;
}

.testimonial-text {
    font-size: 17px;
    color: var(--gray-text);
    line-height: 1.47059;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gray-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar i {
    font-size: 20px;
    color: var(--gray-text);
}

.author-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--primary-color);
}

.author-info p {
    font-size: 12px;
    color: var(--light-text);
}

/* Contact Section */
.contact {
    background: var(--white-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-info h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--primary-color);
}

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

.contact-item i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 4px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--primary-color);
}

.contact-item p {
    font-size: 17px;
    color: var(--gray-text);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--gray-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--gray-bg);
    border: 1px solid transparent;
    border-radius: 12px;
    color: var(--dark-text);
    font-size: 17px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gray-bg);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.footer-logo .logo-symbol {
    width: 28px;
    height: 28px;
}

.footer-section p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.57143;
}

.footer-section h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.footer-section ul li a {
    font-size: 12px;
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 980px;
    color: var(--dark-text);
    font-size: 12px;
    font-family: inherit;
}

.newsletter-form button {
    padding: 10px 16px;
    background: var(--accent-color);
    border: none;
    border-radius: 980px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #0077ED;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 22px;
    }

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

    .section-title {
        font-size: 40px;
    }
}

@media (max-width: 834px) {
    .nav-links {
        position: fixed;
        top: 44px;
        left: -100%;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 32px 22px;
        transition: left 0.3s ease;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        align-items: flex-start;
    }

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

    .nav-link {
        font-size: 17px;
        padding: 12px 0;
    }

    .cta-button {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

    .hero-description {
        font-size: 19px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 32px;
    }

    .hero-image {
        height: 300px;
    }

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

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

    .about-image {
        height: 320px;
    }

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

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

@media (max-width: 428px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 17px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .floating-card {
        padding: 16px 20px;
    }

    .floating-card i {
        font-size: 24px;
    }

    .floating-card p {
        font-size: 12px;
    }
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--gray-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--light-text);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-text);
}

/* Selection */
::selection {
    background: var(--accent-color);
    color: white;
}