:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --bg: #ffffff;
    --light: #f8fafc;
    --text: #0f172a;
    --text-light: #64748b;
    --border: #e2e8f0;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
}

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

.logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border-radius: 0.5rem;
}

.dropdown-content a {
    color: var(--text);
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    display: block;
    font-size: 0.85rem;
}

.dropdown-content a:hover {
    background: var(--light);
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
}

.hero-content {
    max-width: 800px;
}

.hero-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Buttons */
.pro-btn {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.pro-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

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

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

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

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

.pro-btn-white:hover {
    background: #f1f5f9;
}

/* Sections */
section {
    padding: 8rem 0;
}

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

.service-item {
    padding: 2.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: var(--transition);
}

.service-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pro-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.pro-card-img {
    height: 240px;
    background-size: cover;
    background-position: center;
}

.pro-card-body {
    padding: 2rem;
}

.card-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    display: block;
}

.read-more {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    display: inline-block;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    padding: 3.5rem 2.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
    z-index: 2;
}

.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-list {
    list-style: none;
    margin-bottom: 3rem;
    flex-grow: 1;
}

.pricing-list li {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pricing-list li i {
    margin-right: 0.75rem;
}

.not-included {
    opacity: 0.5;
}

/* Testimonials */
.testimonials-carousel {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    display: none;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-box {
    padding: 4rem;
    background: var(--light);
    border-radius: 1rem;
    text-align: center;
}

.testimonial-box i {
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.1;
    margin-bottom: 2rem;
}

.testimonial-box p {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    font-size: 1.1rem;
}

.user-info span {
    color: var(--text-light);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

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

/* Accordion */
.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    font-size: 1.1rem;
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--light);
}

.accordion-item.active .accordion-content {
    padding: 1.5rem;
    max-height: 200px;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

/* Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
}

.blog-card {
    display: flex;
    background: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
}

.blog-img {
    width: 200px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.blog-body {
    padding: 2rem;
}

.date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    display: block;
}

.blog-body h3 {
    margin-bottom: 1rem;
}

.blog-body a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* Contact */
.contact-box {
    background: var(--light);
    border-radius: 2rem;
    padding: 6rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 8rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-brand p {
    margin-bottom: 2rem;
}

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

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
}

.footer-nav h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 2rem;
}

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

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

.footer-nav ul a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav ul a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact p i {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* Drawer */
.drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100%;
    background: white;
    z-index: 2000;
    padding: 3rem 2rem;
    transition: var(--transition);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.drawer.active {
    right: 0;
}

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

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.drawer-link {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.drawer-overlay.active {
    display: block;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 4rem;
    width: 70%;
    max-width: 800px;
    border-radius: 1.5rem;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 3.5rem;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    h1 {
        font-size: 2.8rem;
    }

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

    .contact-box {
        padding: 3rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .blog-card {
        flex-direction: column;
    }

    .blog-img {
        width: 100%;
        height: 200px;
    }

    .modal-content {
        width: 90%;
        padding: 2rem;
    }
}