/*
CVScan - Intelligent CV Scanning & AI Analysis
*/

@charset "utf-8";

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
    background: #000;
}

/* Sections */
.section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

.features-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
}

.contact-section {
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 100%);
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    height: 70px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-2px);
}

.logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo svg {
    width: 100%;
    height: 100%;
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.menu-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.menu-item:hover {
    color: white;
    transform: translateY(-2px);
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.menu-item:hover::after {
    width: 100%;
}

.menu-item.active {
    color: white;
}

.menu-item.active::after {
    width: 100%;
}

.menu-item.external::before {
    content: '↗';
    margin-right: 5px;
    font-size: 12px;
    opacity: 0.7;
}

.menu-item.external.launch-link::before {
    content: '▶';
    margin-right: 8px;
    font-size: 11px;
    opacity: 0.9;
    color: #667eea;
}

/* Launch CTA Section */
.launch-cta-section {
    min-height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.launch-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(255,255,255,0.1)" fill-rule="evenodd"><circle cx="30" cy="30" r="20"/></g></svg>');
    pointer-events: none;
}

.launch-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 50px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.launch-cta-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.launch-cta-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.launch-cta-btn:hover .arrow {
    transform: translateX(5px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Home Section with Coverflow */
.coverflow-wrapper {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

.coverflow-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    position: relative;
}

.coverflow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    position: relative;
    width: 100%;
    height: 400px;
}

.coverflow-item {
    position: absolute;
    width: 300px;
    height: 300px;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    user-select: none;
}

.coverflow-item .cover {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    background: #333;
}

.coverflow-item .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Reflection */
.coverflow-item .reflection {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    transform: scaleY(-1);
    opacity: 0.2;
    filter: blur(2px);
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0) 0%, 
        rgba(0, 0, 0, 0.8) 50%, 
        rgba(0, 0, 0, 1) 100%);
    overflow: hidden;
}

/* Active item (center) */
.coverflow-item.active {
    z-index: 100;
    transform: translateX(0) translateZ(0) rotateY(0deg);
}

.coverflow-item.active .cover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9);
}

/* Navigation */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 50px;
}

.nav-button.next {
    right: 50px;
}

/* Dots indicator */
.dots-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 200;
}

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

.dot.active {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

/* Info display */
.info {
    position: absolute;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 200;
    width: 100%;
    max-width: 600px;
    padding: 0 40px;
}

.info h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.launch-app-btn {
    display: inline-block;
    padding: 14px 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.launch-app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#lightbox-image {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    animation: slideIn 0.3s ease;
    box-shadow: 0 10px 60px rgba(102, 126, 234, 0.5);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: all 0.3s ease;
}

.close-lightbox:hover {
    color: #667eea;
    transform: scale(1.2);
}

.lightbox-nav {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    z-index: 2001;
}

.lightbox-prev, .lightbox-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.6);
    transform: scale(1.1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Play/Pause Button */
.play-pause-button {
    position: absolute;
    bottom: 30px;
    right: 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 200;
}

.play-pause-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.play-icon, .pause-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Section */
.features-content {
    width: 100%;
    max-width: 1200px;
    padding: 60px 40px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    width: 100%;
    max-width: 1200px;
    padding: 60px 40px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h2 {
    font-size: 48px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-section h3 {
    font-size: 24px;
    color: white;
    margin-bottom: 15px;
}

.contact-info-section > p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-text h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.contact-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.social-links h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-3px);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 20px;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .coverflow-item {
        width: 200px;
        height: 200px;
    }

    .nav-button {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .nav-button.prev {
        left: 20px;
    }

    .nav-button.next {
        right: 20px;
    }

    .info h2 {
        font-size: 36px;
    }

    .info p {
        font-size: 16px;
    }

    .logo-text {
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .contact-header h2 {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        height: 70px;
        padding: 0 15px;
    }

    .header.scrolled {
        height: 60px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 18px;
    }

    .coverflow-item {
        width: 180px;
        height: 180px;
    }

    .coverflow-wrapper,
    .features-content,
    .contact-content {
        padding: 20px;
    }

    .info {
        padding: 0 20px;
    }

    .info h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .info p {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header p {
        font-size: 14px;
    }

    .feature-card {
        padding: 25px;
    }

    .contact-header h2 {
        font-size: 28px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }

    .contact-details {
        gap: 15px;
    }

    .contact-item {
        gap: 15px;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}
