:root {
    --bg-color: #080710;
    --text-primary: #ffffff;
    --text-secondary: #a9a8b3;
    --primary-glow: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --accent-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shadow: rgba(0, 0, 0, 0.4);
    --glass-glow: rgba(99, 102, 241, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

html {
    height: 100%;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Background Gradients */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.35;
    mix-blend-mode: screen;
    animation: floatBlob 20s infinite alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #6366f1;
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 600px;
    height: 600px;
    background: #a855f7;
    bottom: -15%;
    right: -10%;
    animation-delay: 5s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    top: 40%;
    left: 60%;
    animation-delay: 10s;
}

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(100px, 50px) scale(1.2); }
}

/* Header */
header {
    height: 80px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(8, 7, 16, 0.7);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    flex-shrink: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    cursor: pointer;
}

nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.nav-link:hover, .nav-link.active-nav {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Slideshow Structure */
.slideshow-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: safe center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 4rem 0; /* Symmetric padding on desktop for vertical centering */
}

.slide.active-slide {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

.slide.exit-slide {
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.slide-content {
    width: 100%;
    flex-shrink: 0;
}

/* --- Broken Glass Shatter & Joining Animations (From Opposite Widths) --- */

/* Default State (Scattered off-screen to the left/right widths when entering) */
.slide h1, .slide h2, .slide h3 {
    /* Headings fly in from the left screen width */
    transform: translateX(-100vw) rotate(-8deg) scale(0.92);
    filter: blur(8px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1), filter 1.2s cubic-bezier(0.2, 1, 0.2, 1), opacity 1.2s cubic-bezier(0.2, 1, 0.2, 1);
}

.slide p, .slide .badge, .slide .profile-email {
    /* Paragraphs and badges fly in from the right screen width */
    transform: translateX(100vw) rotate(4deg) scale(0.95);
    filter: blur(8px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1), filter 1.2s cubic-bezier(0.2, 1, 0.2, 1), opacity 1.2s cubic-bezier(0.2, 1, 0.2, 1);
    transition-delay: 0.05s;
}

.slide .hero-actions, 
.slide .cards-grid, 
.slide .project-info, 
.slide .profile-stats-row, 
.slide .skills-grid, 
.slide .calculator-box {
    /* Main body grids and details fly in from the left screen width */
    transform: translateX(-100vw) rotate(-3deg) scale(0.92);
    filter: blur(10px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.2, 1), filter 1.2s cubic-bezier(0.2, 1, 0.2, 1), opacity 1.2s cubic-bezier(0.2, 1, 0.2, 1);
    transition-delay: 0.1s;
}

.slide .project-preview {
    /* Mockup previews fly in from the right screen width */
    transform: translateX(100vw) rotate(6deg) scale(0.88);
    filter: blur(12px);
    opacity: 0;
    transition: transform 1.3s cubic-bezier(0.2, 1, 0.2, 1), filter 1.3s cubic-bezier(0.2, 1, 0.2, 1), opacity 1.3s cubic-bezier(0.2, 1, 0.2, 1);
    transition-delay: 0.15s;
}

/* Active State (Fully joined together in the center) */
.slide.active-slide h1, .slide.active-slide h2, .slide.active-slide h3,
.slide.active-slide p, .slide.active-slide .badge, .slide.active-slide .profile-email,
.slide.active-slide .hero-actions, .slide.active-slide .cards-grid, .slide.active-slide .project-info,
.slide.active-slide .profile-stats-row, .slide.active-slide .skills-grid, .slide.active-slide .calculator-box,
.slide.active-slide .project-preview {
    transform: translate(0, 0) rotate(0deg) scale(1);
    filter: blur(0);
    opacity: 1;
}

/* Exiting State (Shattering back to their respective left/right widths) */
.slide.exit-slide h1, .slide.exit-slide h2, .slide.exit-slide h3 {
    transform: translateX(-100vw) rotate(-8deg) scale(0.92);
    filter: blur(8px);
    opacity: 0;
}

.slide.exit-slide p, .slide.exit-slide .badge, .slide.exit-slide .profile-email {
    transform: translateX(100vw) rotate(4deg) scale(0.95);
    filter: blur(8px);
    opacity: 0;
}

.slide.exit-slide .hero-actions, 
.slide.exit-slide .cards-grid, 
.slide.exit-slide .project-info, 
.slide.exit-slide .profile-stats-row, 
.slide.exit-slide .skills-grid, 
.slide.exit-slide .calculator-box {
    transform: translateX(-100vw) rotate(-3deg) scale(0.92);
    filter: blur(10px);
    opacity: 0;
}

.slide.exit-slide .project-preview {
    transform: translateX(100vw) rotate(6deg) scale(0.88);
    filter: blur(12px);
    opacity: 0;
}

/* Typography & Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: var(--primary-glow);
    color: white;
    border: none;
    box-shadow: 0 4px 20px var(--glass-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

/* Slide 1: Hero styling */
.hero-section {
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 50px;
    color: #818cf8;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge i {
    width: 14px;
    height: 14px;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 850px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Slide 2: Value Cards */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.6rem;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 12px 40px var(--glass-glow);
}

.card-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.card-icon i {
    width: 20px;
    height: 20px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.value-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Slides 3 & 4: Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.project-badge {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.4rem;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.feature-item i {
    color: #10b981;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-item strong {
    color: var(--text-primary);
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    padding: 0.35rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* Project Previews / Mockups */
.project-preview {
    display: flex;
    justify-content: center;
}

.preview-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    min-height: 340px;
}

.web-mock {
    width: 82%;
    max-width: 340px;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mockup-frame {
    background: #121120;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
}

.mockup-header {
    background: #1a182c;
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.dots {
    display: flex;
    gap: 0.3rem;
}

.dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
}

.mockup-title {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
}

.mockup-body {
    padding: 1rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.preview-layout {
    display: flex;
    gap: 0.8rem;
    flex: 1;
}

.sidebar-mock {
    width: 45px;
    background: rgba(255,255,255,0.02);
    border-radius: 8px;
    padding: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.logo-mock {
    height: 12px;
    background: rgba(99, 102, 241, 0.4);
    border-radius: 3px;
}

.nav-mock {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
}

.content-mock {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-row {
    display: flex;
    gap: 0.6rem;
}

.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 0.4rem;
    text-align: center;
}

.stat-box h4 {
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

.stat-box p {
    font-size: 0.55rem;
    color: var(--text-secondary);
}

.routine-list-mock {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.routine-item-mock {
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    padding: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
}

.badge-mock {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
    font-weight: 700;
}

/* Smartphone Mockup */
.phone-mockup-frame {
    position: absolute;
    width: 145px;
    height: 270px;
    background: #0f0e1d;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    right: 0;
    bottom: 0;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.preview-container:hover .web-mock {
    transform: scale(0.97) translateX(-15px);
}

.preview-container:hover .phone-mockup-frame {
    transform: scale(1.05) translate(-10px, -10px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.25);
}

.phone-speaker {
    width: 35px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 6px auto 5px auto;
    flex-shrink: 0;
}

.phone-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-header {
    padding: 0.4rem;
    background: var(--accent-purple);
    color: white;
    text-align: center;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.phone-body {
    flex: 1;
    padding: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #0b0a14;
    overflow-y: auto;
}

/* Phone details inside mockup screen */
.phone-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.3rem;
    text-align: center;
}

.phone-stat-val {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-cyan);
    font-family: var(--font-heading);
}

.phone-stat-lbl {
    font-size: 0.45rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.phone-exercise-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.phone-exercise-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    padding: 0.3rem;
    display: flex;
    gap: 0.3rem;
    align-items: center;
    font-size: 0.5rem;
}

.phone-exercise-check {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.45rem;
    font-weight: 800;
    flex-shrink: 0;
}

.phone-exercise-item.pending .phone-exercise-check {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: transparent;
}

.p-ex-details {
    display: flex;
    flex-direction: column;
}

.p-ex-details strong {
    color: var(--text-primary);
    font-size: 0.55rem;
}

.p-ex-details span {
    color: var(--text-secondary);
    font-size: 0.45rem;
}

.phone-deal-card {
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.2);
    border-radius: 6px;
    padding: 0.35rem;
    text-align: center;
}

.deal-title {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.deal-price {
    font-size: 0.7rem;
    font-weight: 800;
    color: #ec4899;
}

.phone-invoice-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.phone-invoice-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
    padding: 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.45rem;
}

.invoice-status {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 0.05rem 0.2rem;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.4rem;
}

.invoice-status.pending-status {
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

/* Slide 5: Profile Card */
.profile-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 45px var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.profile-badge {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 0.4rem;
}

.profile-card h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.2rem;
}

.profile-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.2rem;
    display: inline-block;
}

.profile-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--accent-cyan);
    margin-bottom: 1.2rem;
}

.profile-email a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.profile-email a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.profile-email i {
    width: 16px;
    height: 16px;
}

.profile-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.profile-stats-row {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.p-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
    min-width: 200px;
}

.p-stat strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
}

.p-stat span {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Slide 6: Technical Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.skill-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.1);
}

.skill-card i {
    width: 28px;
    height: 28px;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.skill-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Slide 7: Calculator */
.calculator-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    box-shadow: 0 15px 45px var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.calc-info {
    padding: 3rem;
}

.calc-info h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.calc-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Checkbox container formatting */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.checkbox-container:hover input ~ .checkmark {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 3px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.option-text strong {
    display: block;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    margin-bottom: 0.1rem;
}

.option-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
}

.calc-result {
    background: rgba(255, 255, 255, 0.01);
    border-left: 1px solid var(--glass-border);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-header {
    font-family: var(--font-heading);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.price-range {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 0.4rem;
    background: var(--primary-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-notice {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.calc-divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 1.5rem;
}

.delivery-estimate {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.delivery-estimate i {
    color: var(--accent-cyan);
    width: 20px;
    height: 20px;
}

.calc-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.delivery-estimate strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
}

/* Slideshow Controls Bar */
.slideshow-controls {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 110;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(8, 7, 16, 0.8);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Edge Navigation Arrows */
.edge-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 120;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 32px var(--glass-shadow);
}

.edge-arrow:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.edge-arrow i {
    width: 24px;
    height: 24px;
}

.left-edge-arrow {
    left: 30px;
}

.right-edge-arrow {
    right: 30px;
}

.slide-indicators {
    display: flex;
    gap: 0.6rem;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot.active-dot {
    background: var(--accent-cyan);
    transform: scale(1.25);
    box-shadow: 0 0 10px var(--accent-cyan);
}

/* Footer Section */
footer {
    height: 50px;
    border-top: 1px solid var(--glass-border);
    background: rgba(8, 7, 16, 0.95);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    width: 100%;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Overrides */
@media (max-width: 968px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-preview {
        order: -1;
    }

    .calculator-box {
        grid-template-columns: 1fr;
    }

    .calc-result {
        border-left: none;
        border-top: 1px solid var(--glass-border);
        padding: 2rem;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .slide {
        padding: 4rem 0 7.5rem 0;
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    header nav {
        display: none;
    }

    .edge-arrow {
        display: none;
    }

    .slide {
        padding: 3rem 0 8.5rem 0;
        justify-content: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .hero-actions .cta-button {
        width: 100%;
        justify-content: center;
    }

    .calc-info, .calc-result {
        padding: 2rem 1.2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }

    footer {
        height: 60px;
    }

    .slideshow-controls {
        bottom: 70px;
    }

    /* Mobile scaling for phone mockup overlapping view */
    .preview-container {
        min-height: 280px;
        padding: 1rem 0;
    }

    .web-mock {
        width: 78%;
        max-width: 260px;
    }

    .phone-mockup-frame {
        width: 110px;
        height: 200px;
        border-radius: 14px;
        border-width: 3px;
        bottom: -5px;
        right: -5px;
    }

    .phone-speaker {
        width: 25px;
        height: 2px;
        margin: 4px auto 3px auto;
    }

    .phone-header {
        font-size: 0.45rem;
        padding: 0.25rem;
    }

    .phone-body {
        padding: 0.35rem;
        gap: 0.3rem;
    }

    .phone-stat-box {
        border-radius: 4px;
        padding: 0.2rem;
    }

    .phone-stat-val {
        font-size: 0.7rem;
    }

    .phone-exercise-item, .phone-invoice-item {
        padding: 0.2rem;
        border-radius: 3px;
        font-size: 0.4rem;
        gap: 0.2rem;
    }

    .phone-exercise-check {
        width: 8px;
        height: 8px;
        font-size: 0.35rem;
    }

    .p-ex-details strong {
        font-size: 0.42rem;
    }

    .p-ex-details span {
        font-size: 0.38rem;
    }

    .phone-deal-card {
        border-radius: 4px;
        padding: 0.2rem;
    }

    .deal-title {
        font-size: 0.4rem;
    }

    .deal-price {
        font-size: 0.55rem;
    }

    .invoice-status {
        padding: 0.05rem 0.15rem;
        border-radius: 2px;
        font-size: 0.35rem;
    }
}
