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

:root {
    --primary-color: #4a7ba7;
    --secondary-color: #4a7ba7;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border-color: rgba(74, 123, 167, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated Code Background */
.code-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.15;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #00ff88;
    line-height: 1.5;
    pointer-events: none;
}

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

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo .highlight {
    color: var(--primary-color);
}

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

/* Dropdown menu for Services */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown .dropbtn {
    cursor: pointer;
    display: inline-block;
    padding: 0.5rem 1rem;
}

.nav-links .dropdown .dropdown-menu {
    position: absolute;
    top: 110%;
    left: 0;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 220px;
    padding: 0.25rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    display: none;
    z-index: 2000;
}

.nav-links .dropdown .dropdown-menu li {
    list-style: none;
}

.nav-links .dropdown .dropdown-menu li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
}

.nav-links .dropdown .dropdown-menu li a:hover {
    background: rgba(74, 123, 167, 0.08);
    color: var(--primary-color);
}

/* Show dropdown on hover (desktop) */
.nav-links .dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile navigation toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10,10,10,0.98);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-links a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.03);
    }

    .navbar.open .nav-links {
        display: flex;
    }

    /* Make dropdown menus behave as collapsible sections on mobile */
    .nav-links .dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        display: none;
        padding: 0;
    }

    .nav-links .dropdown.open .dropdown-menu {
        display: block;
    }
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

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

.nav-links .btn-contact {
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 5px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
}

.nav-links .btn-contact:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 123, 167, 0.4);
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 123, 167, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: rgba(20, 20, 20, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5rem;
    color: var(--text-light);
}

.service-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.service-row.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-left {
    flex-direction: row;
}

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

.service-content {
    flex: 1;
    padding: 2rem;
}

.service-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.service-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.service-content p {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 1.05rem;
}

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

.visual-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 123, 167, 0.3), rgba(10, 10, 10, 0.8));
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-decoration: none;
    cursor: pointer;
}

.demo-link {
    color: inherit;
}

.demo-text {
    position: absolute;
    bottom: 20px;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visual-placeholder:hover .demo-text {
    opacity: 1;
}

.visual-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(74, 123, 167, 0.2) 50%,
        transparent 70%
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.visual-placeholder:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 50px rgba(74, 123, 167, 0.4);
    border-color: var(--primary-color);
}

.code-snippet {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 0 10px rgba(74, 123, 167, 0.5);
}

/* Highlight Section */
.highlight {
    padding: 5rem 0;
    background: rgba(74, 123, 167, 0.15);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.highlight-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight-content p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-divider {
    text-align: center;
    margin: 2.5rem 0 1.5rem;
    position: relative;
}

.contact-divider p {
    color: var(--text-gray);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-phone {
    text-align: center;
    margin-top: 1.5rem;
}

.contact-phone p {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
}

.contact-phone a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s;
    font-size: 2.2rem;
}

.contact-phone a:hover {
    color: var(--text-light);
    text-shadow: 0 0 20px rgba(74, 123, 167, 0.6);
}

/* Thank You Page */
.thank-you-section {
    padding: 8rem 0 6rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.thank-you-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.checkmark {
    color: #ffffff;
    font-size: 4rem;
    font-weight: bold;
    animation: checkmarkAppear 0.5s 0.3s ease-out forwards;
    opacity: 0;
}

@keyframes checkmarkAppear {
    to {
        opacity: 1;
    }
}

.thank-you-title {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.thank-you-message {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.thank-you-info {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.thank-you-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.thank-you-info a:hover {
    color: var(--text-light);
}

.thank-you-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--bg-darker);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 5rem;
}

.footer p {
    color: var(--text-gray);
}

/* Page Hero (About & Packages Pages) */
.page-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* About Page */
.about-content {
    padding: 5rem 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-section p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 900px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-item p {
    color: var(--text-gray);
    font-size: 1rem;
}

.benefits-list {
    list-style: none;
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 700px;
}

.benefits-list li {
    padding: 0.5rem 0;
    padding-left: 1rem;
}

.cta-section {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

/* Packages Page */
.packages {
    padding: 5rem 0;
}

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

.package-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(74, 123, 167, 0.3);
}

.package-card.featured {
    border-color: var(--primary-color);
    background: rgba(74, 123, 167, 0.08);
}

.package-card.popular {
    border-color: var(--primary-color);
    background: rgba(74, 123, 167, 0.08);
}

.package-card.premium {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(255, 215, 0, 0.02));
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.package-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.package-price {
    margin-bottom: 1.5rem;
}

.package-price .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.package-price .price-note {
    font-size: 1rem;
    color: var(--text-gray);
    display: block;
    margin-top: 0.5rem;
}

.package-description {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.package-features {
    list-style: none;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.package-info {
    padding: 4rem 0;
    text-align: center;
    background: rgba(20, 20, 20, 0.5);
}

.package-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.package-info p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 3rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .service-row {
        flex-direction: column !important;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .service-content {
        padding: 1rem;
    }

    .visual-placeholder {
        width: 250px;
        height: 250px;
    }

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

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

    .package-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
    }
}
