/* How It Works Page Styles - Complete Full Screen Experience */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    transition: background-color 0.6s ease-out;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Universal Full-Screen Section Styles */
.fullscreen-section, .fullscreen-feature {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    transition: background-color 0.6s ease-out;
}

.section-container, .feature-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

/* Hero & Video Combined Section */
.hero-video-section {
    background: linear-gradient(135deg, #0f1419 0%, #1e293b 100%);
    color: white;
    min-height: 100vh;
}

.hero-video-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
    text-align: center;
}

.hero-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-visual {
    margin-top: 1rem;
}

.hero-icon {
    font-size: 6rem;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.1));
    animation: heroFloat 3s ease-in-out infinite;
}

.hero-logo {
    width: 200px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.1));
    animation: heroFloat 3s ease-in-out infinite;
    transition: all 0.8s ease-out;
}

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

.video-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.video-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* Getting Started Section */
.getting-started-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.steps-content {
    text-align: center;
    width: 100%;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
}

/* Key Features Intro Section */
.key-features-intro {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.intro-content {
    text-align: center;
    max-width: 800px;
}

.intro-visual {
    margin-top: 3rem;
}

.features-preview {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.preview-icon {
    font-size: 4rem;
    padding: 1.5rem;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 102, 204, 0.2);
    position: relative;
    cursor: pointer;
}

.preview-icon.animate-ready {
    opacity: 0;
    transform: scale(0.5) translateY(20px);
}

.preview-icon:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
    background: rgba(0, 102, 204, 0.15);
}

.preview-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.preview-icon.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Tooltip Styles */
.preview-icon .tooltip {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.preview-icon .tooltip::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(15, 23, 42, 0.95);
}

/* Feature Sections (Individual Features) */
.feature-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-visual .feature-icon {
    font-size: 8rem;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: all 0.8s ease-out;
}

.feature-visual .feature-image {
    width: 600px;
    height: 600px;
    object-fit: contain;
    border-radius: 20px;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.15));
    transition: all 0.8s ease-out;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
}

.feature-content {
    max-width: 500px;
    transition: all 0.8s ease-out;
    text-align: left;
}

.feature-content .feature-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.feature-content .feature-description {
    color: #4b5563;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.feature-benefits li {
    padding: 0.75rem 0;
    color: #374151;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
}

.feature-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
    font-size: 1.2rem;
    width: 1.5rem;
    height: 1.5rem;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.feature-benefits li:hover {
    color: #0066cc;
    transform: translateX(5px);
}

/* Feature-specific background gradients */
.feature-1 { background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%); }
.feature-2 { background: linear-gradient(135deg, #fff2e8 0%, #fed7aa 100%); }
.feature-3 { background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%); }
.feature-4 { background: linear-gradient(135deg, #fef7ff 0%, #fae8ff 100%); }
.feature-5 { background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
.feature-6 { background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%); }
.feature-7 { background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%); }

/* Security Section */
.security-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.security-content {
    text-align: center;
    width: 100%;
    max-width: 1000px;
}

.security-header {
    margin-bottom: 3rem;
}

.security-icon-main {
    font-size: 6rem;
    margin-top: 2rem;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.1));
}

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

.security-feature {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-5px);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.security-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.security-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Compatibility Section */
.compatibility-section {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
}

.compatibility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}

.compatibility-text {
    text-align: left;
}

.compatibility-text h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.compatibility-text p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.device-list {
    list-style: none;
    padding: 0;
}

.device-list li {
    padding: 0.75rem 0;
    color: #374151;
    font-weight: 500;
    font-size: 1.1rem;
}

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

.device-icons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.device-icon {
    font-size: 5rem;
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
    transition: transform 0.3s ease;
}

.device-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Final CTA Section */
.final-cta-section {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
}

.final-cta-content {
    text-align: center;
    max-width: 700px;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-visual {
    margin: 2rem 0;
}

.cta-icon {
    font-size: 5rem;
    filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.1));
    animation: ctaPulse 2s ease-in-out infinite;
}

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

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.cta-primary {
    background: white;
    color: #1e40af;
    border: 2px solid white;
}

.cta-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: white;
    color: #1e40af;
    transform: translateY(-2px);
}

/* Section Titles (Universal) */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: inherit;
}

.section-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Active section animations */
.section-active .hero-icon,
.section-active .hero-logo,
.section-active .feature-icon,
.section-active .feature-image,
.section-active .security-icon-main,
.section-active .cta-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

/* Section highlight effect when navigated to */
.section-highlight {
    position: relative;
}

.section-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 204, 0.1) 0%, rgba(0, 102, 204, 0.05) 50%, rgba(0, 102, 204, 0.1) 100%);
    opacity: 0;
    animation: sectionHighlight 2s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

@keyframes iconSparkle {
    0% { 
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
        background: rgba(0, 102, 204, 0.1);
    }
    50% { 
        box-shadow: 0 8px 30px rgba(0, 102, 204, 0.3), 0 0 20px rgba(255, 255, 255, 0.3);
        background: rgba(0, 102, 204, 0.2);
        transform: scale(1.05);
    }
    100% { 
        box-shadow: 0 4px 15px rgba(0, 102, 204, 0.1);
        background: rgba(0, 102, 204, 0.1);
        transform: scale(1);
    }
}

@keyframes sectionHighlight {
    0% { 
        opacity: 0;
    }
    20% { 
        opacity: 1;
    }
    80% { 
        opacity: 1;
    }
    100% { 
        opacity: 0;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-video-content,
    .feature-container,
    .compatibility-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .compatibility-text {
        text-align: center;
    }
    
    .feature-visual .feature-icon {
        font-size: 6rem;
    }
    
    .feature-visual .feature-image {
        width: 250px;
        height: 250px;
    }
    
    .feature-content .feature-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .video-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    .video-container {
        max-width: 600px;
    }
    
    .hero-logo {
        width: 160px;
        max-height: 160px;
    }
}

@media (max-width: 768px) {
    .fullscreen-section, .fullscreen-feature {
        min-height: 90vh;
        padding: 1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-visual .feature-icon {
        font-size: 5rem;
    }
    
    .feature-visual .feature-image {
        width: 200px;
        height: 200px;
    }
    
    .feature-content .feature-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-content .feature-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-benefits li {
        font-size: 1rem;
        padding: 0.5rem 0;
        padding-left: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .video-title {
        font-size: 1.8rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .hero-logo {
        width: 140px;
        max-height: 140px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .video-container {
        max-width: 100%;
        margin: 1rem auto 0;
    }
    
    .device-icons {
        gap: 1rem;
    }
    
    .device-icon {
        font-size: 3.5rem;
        padding: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .fullscreen-section, .fullscreen-feature {
        min-height: 85vh;
        padding: 0.5rem;
    }
    
    .step-card {
        padding: 2rem;
    }
    
    .feature-visual .feature-icon {
        font-size: 4rem;
    }
    
    .feature-visual .feature-image {
        width: 150px;
        height: 150px;
        padding: 0.5rem;
    }
    
    .feature-content .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-content .feature-description {
        font-size: 0.95rem;
    }
    
    .feature-benefits li {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .video-title {
        font-size: 1.5rem;
    }
    
    .video-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-logo {
        width: 120px;
        max-height: 120px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .preview-icon {
        font-size: 3rem;
        padding: 1rem;
    }
    
    .features-preview {
        gap: 1rem;
    }
    
    .preview-icon {
        font-size: 2.5rem;
        padding: 0.8rem;
    }
}