/* styles.css */
:root {
    /* Color Palette */
    --bg-color: #040812;
    --surface-color: #0b1120;
    --surface-lighter: #131b2e;
    --primary-color: #00d2ff;
    --primary-hover: #00b8e6;
    --accent-color: #ff3366;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00d2ff, #3a7bd5);
    --gradient-accent: linear-gradient(135deg, #ff3366, #ff7043);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Layout */
    --max-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-color);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(0, 210, 255, 0.4);
}

.btn-secondary {
    background: var(--surface-lighter);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(11, 17, 32, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.8;
}

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

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

.glow-bg {
    position: absolute;
    top: -20%;
    left: 0%;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    opacity: 0.15;
    filter: blur(150px);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 51, 102, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

.highlight-price {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 4rem;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: float 6s ease-in-out infinite;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.float-1 { top: 10%; left: -5%; animation: float 5s ease-in-out infinite alternate; }
.float-2 { bottom: 20%; right: -5%; animation: float 7s ease-in-out infinite alternate-reverse; }
.float-3 { top: 50%; right: -10%; animation: float 6s ease-in-out infinite alternate; }

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

/* Section Header */
.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
}

.btn-link {
    margin-top: auto;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
    padding-top: 16px;
    align-self: flex-start;
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

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

.highlight-card {
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.05), rgba(255, 112, 67, 0.05));
    border: 1px solid rgba(255, 51, 102, 0.2);
}
.highlight-card .icon-wrapper {
    background: rgba(255, 51, 102, 0.1);
    color: var(--accent-color);
}
.highlight-card:hover {
    border-color: rgba(255, 51, 102, 0.4);
}

/* Portfolio */
.bg-alt {
    background-color: var(--surface-color);
}

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

.portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    group: hover;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(4,8,18,0.9) 0%, rgba(4,8,18,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.portfolio-content p {
    color: var(--primary-color);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 0 20px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

.cta-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(0, 210, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

/* Testimonials Slider */
.testimonials {
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 30px;
    /* initial alignment handled via JS */
}

.testimonial-card {
    min-width: 400px;
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(255,255,255,0.05);
}

.stars {
    color: #FFB800;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.review {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 30px;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.client-details h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.client-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-lighter);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-color);
}

/* Footer */
.footer {
    background: var(--surface-color);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-desc {
    color: var(--text-muted);
    margin-top: 20px;
    font-size: 1rem;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-lighter);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 8, 18, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-box {
    background: var(--surface-color);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    position: relative;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: none;
}
.modal-overlay.active .modal-box.active {
    transform: scale(1) translateY(0);
    opacity: 1;
    display: block;
}
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}
.close-modal:hover {
    color: var(--accent-color);
}
.modal-box h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.modal-body {
    margin-bottom: 24px;
    color: var(--text-muted);
}
.modal-list {
    list-style: none;
    margin-top: 16px;
}
.modal-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.modal-list li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.example-list {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 10px;
}
.example-list::-webkit-scrollbar {
    width: 6px;
}
.example-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
.example-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}
.example-list li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .highlight-price { font-size: 3.5rem; }
    .glass-panel { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .navbar .nav-links { display: none; } /* Mobile menu could be implemented */
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-title { font-size: 2.5rem; }
    .highlight-price { font-size: 3rem; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-cta { justify-content: center; flex-wrap: wrap; }
    .testimonial-card { min-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .cta-action { width: 100%; display: flex; justify-content: center; }
}
