/* ===== VARIABLES & BASE ===== */
:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --bg-light: #dbeafe;
    --bg-color: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: rgba(37, 99, 235, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.1);
    
    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: #f8fafc;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-blue {
    color: var(--primary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* ===== UTILITIES ===== */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-family: var(--font-head);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

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

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

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 0;
}

.btn-text:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    background: white;
    color: var(--primary);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

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

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 12rem 0 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s infinite ease-in-out alternate;
}

.glow-blob.primary {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--bg-light);
}

.glow-blob.secondary {
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(14, 165, 233, 0.2);
    animation-delay: -5s;
}

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

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.star-icon {
    color: #fbbf24;
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.hero-image {
    position: relative;
}

.main-panel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.main-panel:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mockup-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s infinite ease-in-out alternate;
}

.floating-card i {
    font-size: 1.5rem;
    background: var(--bg-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.floating-card h4 {
    font-size: 0.875rem;
    margin: 0;
}

.floating-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.top-left {
    top: -20px;
    left: -40px;
}

.bottom-right {
    bottom: -30px;
    right: -30px;
    animation-delay: -3s;
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 500;
    transition: var(--transition);
}

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

.search-bar {
    display: flex;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    width: 300px;
}

.search-bar i {
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
}

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

.portfolio-card {
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.card-image-wrap {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f1f5f9;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.card-content {
    padding: 1.5rem;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
}

.card-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* ===== ABOUT SECTION ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 1rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-bottom: 0.25rem;
}

.feature-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.image-grid {
    position: relative;
}

.img-large {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.experience-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    padding: 2rem;
    text-align: center;
    background: var(--primary);
    color: white;
    border: none;
}

.experience-card h3 {
    color: white;
    font-size: 3rem;
    margin-bottom: 0;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    text-align: left;
    border: 1px solid rgba(37, 99, 235, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-light), #fff);
    color: var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== TESTIMONIALS ===== */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 3rem;
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--bg-light);
    position: absolute;
    top: 20px;
    right: 40px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.client-info h4 {
    margin-bottom: 0.25rem;
}

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

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

.slider-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

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

/* ===== CONTACT SECTION ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.method a, .method p {
    color: var(--text-muted);
}

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

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.social-icon:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.contact-form-wrap {
    padding: 3rem;
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    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 3px var(--bg-light);
}

/* ===== FOOTER ===== */
.footer {
    background: #0f172a;
    color: white;
    padding: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* ===== MODAL & DEVICE PREVIEWS ===== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    border-radius: 20px;
    position: relative;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-backdrop.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 0;
}

.device-preview-section {
    padding: 2rem;
    background: #f8fafc;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.device-display-area {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 2rem;
    overflow: hidden;
}

.device-frame {
    position: absolute;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), z-index 0.3s ease, box-shadow 0.3s ease;
    display: block;
    cursor: pointer;
}

.device-tag {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.95);
    padding: 3px 10px;
    border-radius: 30px;
    border: 1px solid rgba(100, 116, 139, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    pointer-events: none;
    white-space: nowrap;
    transition: var(--transition);
}

.device-frame:hover .device-tag,
.device-frame.active .device-tag {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2) !important;
}

.device-frame:hover {
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.desktop-frame {
    width: 80%;
    z-index: 3;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e2e8f0;
    top: 45px;
    left: 50%;
    transform: translate(-50%, 0);
}

.desktop-frame:hover {
    transform: translate(-50%, -5px) scale(1.02);
    z-index: 10 !important;
}

.tablet-frame:hover {
    transform: translateY(-8px) scale(1.04);
    z-index: 10 !important;
}

.mobile-frame:hover {
    transform: translateY(-8px) scale(1.05);
    z-index: 10 !important;
}

.browser-bar {
    height: 30px;
    background: #f1f5f9;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.desktop-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 728;
    object-fit: cover;
    object-position: top;
    background-color: #f1f5f9;
}

.tablet-frame {
    width: 45%;
    border: 8px solid #1e293b;
    border-radius: 15px;
    z-index: 2;
    bottom: 5%;
    right: 5%;
}

.tablet-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 1026 / 758;
    object-fit: cover;
    object-position: top;
    background-color: #f1f5f9;
    border-radius: 6px;
    display: block;
}

.mobile-frame {
    width: 22%;
    border: 8px solid #1e293b;
    border-radius: 20px;
    z-index: 1;
    bottom: 2%;
    left: 5%;
}

.mobile-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 812;
    object-fit: cover;
    object-position: top;
    background-color: #f1f5f9;
    border-radius: 12px;
    display: block;
}

.device-frame.active {
    z-index: 10 !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4) !important;
}
.desktop-frame.active {
    transform: translate(-50%, 0) scale(1.03) !important;
}
.tablet-frame.active {
    transform: translateY(-8px) scale(1.05) !important;
}
.mobile-frame.active {
    transform: translateY(-8px) scale(1.06) !important;
}

.project-info-section {
    padding: 3rem 2rem;
}

.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.modal-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.features-list h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

.features-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

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

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.modal-actions {
    margin-top: auto;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-20px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll Reveal Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s ease-out;
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 8rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .device-preview-section {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .portfolio-controls {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-bar {
        width: 100%;
    }
    
    .experience-card {
        bottom: 0;
        right: 0;
        width: 100%;
        border-radius: 0 0 20px 20px;
    }
}

/* ===== LIGHTBOX DEVICE FRAMES ===== */
.lightbox-frame {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: white;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
}

.lightbox-desktop {
    width: 85%;
    max-width: 1100px;
    border-radius: 8px 8px 0 0;
    border: 1px solid #e2e8f0;
}

.lightbox-desktop img {
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 728;
    object-fit: cover;
    object-position: top;
    background-color: #f1f5f9;
    border-radius: 0 0 8px 8px;
    display: block;
}

.lightbox-tablet {
    width: 55%;
    max-width: 600px;
    border: 12px solid #1e293b;
    border-radius: 24px;
}

.lightbox-tablet img {
    width: 100%;
    height: auto;
    aspect-ratio: 1026 / 758;
    object-fit: cover;
    object-position: top;
    background-color: #f1f5f9;
    border-radius: 12px;
    display: block;
}

.lightbox-mobile {
    width: 30%;
    max-width: 320px;
    border: 14px solid #1e293b;
    border-radius: 36px;
}

.lightbox-mobile img {
    width: 100%;
    height: auto;
    aspect-ratio: 375 / 812;
    object-fit: cover;
    object-position: top;
    background-color: #f1f5f9;
    border-radius: 22px;
    display: block;
}
