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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #ffffff;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    background: #000;
    color: var(--text-dark);
}

/* Presentation Container */
.presentation-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

/* Slides Wrapper */
.slides-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Individual Slide */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition);
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

/* Slide Background */
.slide-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.gradient-1 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-agenda {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-3 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-4 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-5 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-6 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-7 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

.gradient-8 {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    width: 90%;
    padding: 40px;
    color: var(--text-light);
    margin: auto 0;
}

.slide-content.center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 40px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.slide-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Typography */
.main-title {
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 30px;
}

.title-decoration {
    width: 100px;
    height: 4px;
    background: var(--text-light);
    margin: 30px auto;
    border-radius: 2px;
}

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
	width: 100%;
}

.slide.active .fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Call to Action */
.cta-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    margin-bottom: 50px;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.btn {
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--text-light);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

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

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--primary-color);
    transform: translateY(-5px);
}

.contact-info {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Team Members */
.team-members {
    margin-top: 40px;
}

.team-label {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.members-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.member {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.member:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.member:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Agenda Container */
.agenda-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.agenda-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.agenda-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.agenda-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(99, 102, 241, 0.25);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.agenda-content h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.agenda-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
}

/* Use Cases */
.use-cases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
}

.use-case-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.use-case-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.use-case-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.use-case-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.use-case-item p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.5;
}

.use-case-item p {
    font-size: 1rem;
    opacity: 0.85;
    line-height: 1.5;
}

/* Screenshot Container */
.screenshot-container {
    margin-bottom: 30px;
}

.screenshot-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.screenshot-placeholder {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 100px 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.placeholder-hint {
    font-size: 1.2rem;
    opacity: 0.7;
}

.key-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.point-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.point-icon {
    font-size: 1.6rem;
    min-width: 35px;
}

.point-item > div {
    flex: 1;
}

.point-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.point-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.point-item ul li {
    font-size: 0.9rem;
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
    opacity: 0.9;
}

.point-item ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

.point-item p {
    font-size: 1.1rem;
    margin: 0;
}

/* SMS Extraction - Grid Layout */
.sms-extraction-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 30px;
}

.extraction-step {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.step-number-small {
    width: 35px;
    height: 35px;
    min-width: 35px;
    background: rgba(99, 102, 241, 0.3);
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.arrow-right {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.sms-example {
    background: rgba(50, 50, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    flex: 1;
}

.sms-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: #a0d8ff;
}

.rules-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.rule-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    transition: var(--transition);
}

.rule-compact.match {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.4);
}

.rule-compact.skip {
    opacity: 0.5;
}

.rule-badge-small {
    width: 24px;
    height: 24px;
    min-width: 24px;
    background: rgba(52, 211, 153, 0.3);
    color: #34d399;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.rule-compact.skip .rule-badge-small {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

.rule-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 3px 0;
}

.rule-pattern {
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
    opacity: 0.7;
    margin: 0;
}

.extracted-data-compact {
    background: rgba(50, 50, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.data-row-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-row-compact:last-child {
    border-bottom: none;
}

.data-label-small {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 500;
}

.data-value-small {
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.data-value-small.negative {
    color: #ff6b6b;
}

.data-value-small.positive {
    color: #51cf66;
}

/* Navigation Controls */
.navigation {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 100;
    pointer-events: none;
}

.nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    pointer-events: auto;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 100;
}

.progress-fill {
    height: 100%;
    background: var(--text-light);
    transition: width 0.3s ease;
    width: 16.66%;
}

/* Slide Counter */
.slide-counter {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Slide Indicators */
.slide-indicators {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.indicator.active {
    background: var(--text-light);
    width: 30px;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 4rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .grid-layout,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
}

/* New Rework Slide 4 Styles */
.rework-header-section {
    text-align: center;
    margin-bottom: 25px;
}

.rocket-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    animation: float 3s ease-in-out infinite;
}

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

.slide-title-rework {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, #a8dadc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-subtitle-rework {
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 300;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 25px;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border-radius: 15px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

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

.base-card {
    border-color: rgba(239, 68, 68, 0.4);
}

.rework-card {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(34, 197, 94, 0.05);
}

.card-header-rework {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-icon {
    font-size: 2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.base-icon {
    background: rgba(239, 68, 68, 0.15);
}

.rework-icon {
    background: rgba(34, 197, 94, 0.15);
}

.card-header-rework h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.old-badge {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.new-badge {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.card-body-rework {
    padding: 18px;
}

.card-body-rework h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-list-rework {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-rework li {
    font-size: 0.95rem;
    padding: 6px 0;
    opacity: 0.9;
    line-height: 1.5;
}

.feature-list-rework.success li {
    color: #86efac;
}

.card-footer-problems,
.card-footer-benefits {
    padding: 15px 18px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.problem-item,
.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.problem-icon {
    font-size: 1rem;
    min-width: 20px;
}

.benefit-icon-sm {
    font-size: 1rem;
    min-width: 20px;
}

.transformation-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.arrow-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rework-badge-center {
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border: 2px solid rgba(99, 102, 241, 0.5);
    padding: 8px 18px;
    border-radius: 20px;
    overflow: hidden;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.4) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.arrow-line {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.6);
    animation: slideRight 1.5s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(8px); opacity: 1; }
}

.arrow-tip {
    display: inline-block;
}

.service-integration-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.integration-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 18px;
}

.title-icon {
    font-size: 1.5rem;
}

.integration-title h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.integration-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.integration-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

.item-icon {
    font-size: 2rem;
    min-width: 40px;
}

.item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.item-content p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 4rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .grid-layout,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-app-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .phone-frame {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile App Slide Styles */
.mobile-app-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

.mobile-app-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.app-icon {
    font-size: 3.5rem;
    animation: float 3s ease-in-out infinite;
}

.app-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #fff;
}

.app-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0;
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.app-feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 18px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.5;
}

.app-feature-card.setup::before {
    color: #3b82f6;
}

.app-feature-card.auto::before {
    color: #10b981;
}

.app-feature-card.process::before {
    color: #8b5cf6;
}

.app-feature-card.result::before {
    color: #f59e0b;
}

.app-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon-app {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-content-app h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: #fff;
}

.feature-list-app {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list-app li {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 5px 0;
}

.app-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.note-icon {
    font-size: 1.2rem;
}

.mobile-app-screenshot {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 50px;
}

.phone-frame {
    position: relative;
    width: 320px;
    height: 650px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 45px;
    padding: 12px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 28px;
    background: #000;
    border-radius: 0 0 20px 20px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 35px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screenshot-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

.screenshot-placeholder-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.screenshot-placeholder-mobile p {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    opacity: 0.7;
}

.placeholder-hint-small {
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Live Demo Slide Styles */
.demo-header {
    text-align: center;
    margin-bottom: 25px;
}

.demo-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.demo-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.demo-container {
    max-width: 1000px;
    width: 90%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(147, 197, 253, 0.1) 0%, rgba(165, 180, 252, 0.1) 100%);
    border: 2px solid rgba(147, 197, 253, 0.3);
    border-radius: 22px;
    padding: 30px;
    backdrop-filter: blur(20px);
}

.demo-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 25px 0;
    color: #fff;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.demo-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 22px 20px;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
}

.demo-card.mobile {
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.demo-card.forwarding {
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.demo-card.rule {
    border-color: rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.demo-card.transaction {
    border-color: rgba(251, 146, 60, 0.4);
    color: #fb923c;
}

.demo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.demo-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.demo-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: #fff;
}

.demo-list {
    list-style: none;
    padding: 0;
    margin: 0;
	padding-left: 120px;
	text-align: left;
}

.demo-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    padding: 4px 0;
}

/* Animations for Architecture Flow */
@keyframes slideDown {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(5px); opacity: 1; }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); opacity: 0.5; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* Architecture Flow Horizontal - New Design */
.architecture-flow-horizontal {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.flow-horizontal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
}

.flow-horizontal-row.just-left{
	justify-content: flex-start !important;
}

.flow-horizontal-row.center-row {
    justify-content: center;
}

.flow-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px);
    border-radius: 18px;
    padding: 22px;
    min-width: 250px;
    max-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    border: 2.5px solid;
}

.flow-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Box Color Variants */
.blue-box {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
}

.purple-box {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
}

.green-box {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
}

.orange-box {
    border-color: #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(249, 115, 22, 0.05));
}

.pink-box {
    border-color: #ec4899;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(236, 72, 153, 0.05));
}

.cyan-box {
    border-color: #06b6d4;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(6, 182, 212, 0.05));
}

.box-badge {
    position: absolute;
    top: -14px;
    left: 22px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    border: 3px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.6);
    z-index: 10;
}

.box-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
}

.flow-box h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #fff;
}

.flow-box p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 0;
    line-height: 1.5;
}

.horizontal-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.horizontal-arrow svg {
    animation: slideRight 1.5s ease-in-out infinite;
}

.vertical-arrow-down {
    display: flex;
    align-items: center;
    justify-content: left;
    padding: 10px 0;
	width: 100%;
	padding-left: 25%;
}

.vertical-arrow-down svg {
    animation: slideDown 1.5s ease-in-out infinite;
}

/* Responsive for horizontal flow */
@media (max-width: 1024px) {
    .flow-horizontal-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .horizontal-arrow {
        transform: rotate(90deg);
    }
    
    .flow-box {
        min-width: 100%;
        max-width: 400px;
    }
    
    .flow-box.large-box {
        max-width: 450px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-title {
        font-size: 4rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .grid-layout,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 3rem;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
    }
    
    .transformation-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-app-layout {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    .phone-frame {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .app-features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .flow-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-arrow-horizontal {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .flow-card {
        min-width: 100%;
        max-width: 350px;
    }
    
    .demo-grid {
        grid-template-columns: 1fr !important;
    }
    
    .demo-container {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .slide-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .icon-box {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .agent-item {
        flex-direction: column;
        text-align: center;
    }
    
    .agent-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-number {
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    .use-cases {
        grid-template-columns: 1fr;
    }
    
    .key-points {
        grid-template-columns: 1fr;
    }
    
    .architecture-diagram {
        grid-template-columns: 1fr;
    }
    
    .arch-arrow {
        transform: rotate(90deg);
        margin: 20px 0;
    }
    
    .benefits-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .flow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .sms-extraction-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .arrow-right {
        transform: rotate(90deg);
        padding: 10px 0;
    }
    
    .extraction-step {
        width: 100%;
    }
    
    .step-number {
        margin: 0 auto 15px;
    }
    
    .api-card {
        flex-direction: column;
        text-align: center;
    }
    
    .api-method {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .members-list {
        flex-direction: column;
        align-items: center;
    }
    
    .member {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .agenda-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .agenda-container {
        grid-template-columns: 1fr;
    }
    
    .agenda-number {
        margin-bottom: 10px;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .nav-btn {
        width: 50px;
        height: 50px;
    }
    
    .navigation {
        padding: 0 15px;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.slide-content > * {
    animation-delay: 0.2s;
}

.slide-content > *:nth-child(2) {
    animation-delay: 0.4s;
}

.slide-content > *:nth-child(3) {
    animation-delay: 0.6s;
}
