:root {
    --dashboard-white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #fafafa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
    text-align: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 80%;
    width: 80%;
    background: #ffffff;
    border-radius: 12px;
    padding: 80px 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8eaed;
    position: relative;
}

.logo {
    width: 400px;
    height: auto;
    margin-bottom: 30px;
    opacity: 0.9;
}

h1 {
    font-size: 2.6rem;
    font-weight: 300;
    margin-bottom: 12px;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #5f6368;
    font-weight: 400;
}

.description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #3c4043;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-text {
    font-size: 3.2rem;
    font-weight: 100;
    color: #1a1a1a;
    margin: 35px 0 30px 0;
    letter-spacing: 2px;
}

.search-wrapper {
    position: relative;
    margin: 25px auto 10px auto;
    max-width: 600px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--dashboard-white);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: visible;
    transition: var(--transition);
    border: 1px solid #4ab02f;
}

.search-box:hover {
    box-shadow: 0 8px 25px rgba(74, 176, 47, 0.2);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 16px 24px;
    padding-right: 120px;
    font-size: 1rem;
    background: transparent;
    color: #2c3e50;
    border-radius: 16px 0 0 16px;
}

.search-time {
    position: absolute;
    right: 150px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: #a0a0a0;
    pointer-events: none;
    white-space: nowrap;
}

.search-box input::placeholder {
    color: #a0a0a0;
}

.search-box button {
    background: #4ab02f;
    border: none;
    padding: 16px 32px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0 16px 16px 0;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box button:hover {
    background: #3d9426;
}

.search-box button i {
    font-size: 1.1rem;
}

.search-box input:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.search-box button:disabled {
    cursor: not-allowed;
    opacity: 0.8;
}

/* Search Filter Checkbox */
.search-filter {
    max-width: 600px;
    margin: 0 auto 20px auto;
    text-align: left;
}

/* Demo Image Wrapper */
.demo-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.demo-image-wrapper:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Demo Video Wrapper */
.demo-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.demo-video-wrapper:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.demo-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    background: #000;
}

/* Hide video controls completely */
.demo-video::-webkit-media-controls {
    display: none !important;
}

.demo-video::-webkit-media-controls-enclosure {
    display: none !important;
}

.demo-video::-webkit-media-controls-panel {
    display: none !important;
}

.demo-video::-webkit-media-controls-play-button {
    display: none !important;
}

.demo-video::-webkit-media-controls-start-playback-button {
    display: none !important;
}

/* Demo Watermark Overlay */
.demo-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.3),
        -2px -2px 8px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    user-select: none;
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.demo-watermark span {
    display: block;
    white-space: nowrap;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.checkbox-container:hover {
    background: #f8f9fa;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 25px;
    width: 25px;
    background-color: #ffffff;
    border: 2px solid #dadce0;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.checkbox-container:hover .checkmark {
    border-color: #4ab02f;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #4ab02f;
    border-color: #4ab02f;
}

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

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

.checkbox-label {
    margin-left: 10px;
    font-size: 0.95rem;
    color: #3c4043;
    font-weight: 500;
}

/* Search Dropdown Styles */
.search-dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    background: var(--dashboard-white);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #4ab02f;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    animation: dropdownFadeIn 0.2s ease;
}

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

.search-results {
    padding: 8px 0;
}

.search-result-item {
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-left: 3px solid transparent;
    background: #ffffff;
}

.search-result-item:nth-child(even) {
    background: #fafbfc;
}

.search-result-item:hover {
    background: #f0f7f0 !important;
    border-left-color: #4ab02f;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    text-align: left;
}

.company-details {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: #5f6368;
    margin-bottom: 8px;
}

.company-emails {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f3f4;
}

.email-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #4ab02f;
    background: #f0f7f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
}

.email-item i {
    font-size: 0.75rem;
    color: #4ab02f;
}

.org-number {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #4ab02f;
}

.org-form,
.org-zip,
.org-city {
    color: #80868b;
}

.org-form::before,
.org-zip::before,
.org-city::before {
    content: "•";
    margin-right: 8px;
    color: #dadce0;
}

/* Loading, No Results, and Error States */
.search-loading,
.search-no-results,
.search-error {
    padding: 30px 20px;
    text-align: center;
    color: #5f6368;
}

.search-loading i,
.search-no-results i,
.search-error i {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #4ab02f;
}

.search-error i {
    color: #ea4335;
}

.search-loading p,
.search-no-results p,
.search-error p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: #3c4043;
}

.search-loading small,
.search-no-results small,
.search-error small {
    font-size: 0.85rem;
    color: #80868b;
}

.search-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Scrollbar Styling for Dropdown */
.search-dropdown::-webkit-scrollbar {
    width: 12px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: transparent;
    margin: 8px 0;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4ab02f 0%, #3d9426 100%);
    border-radius: 20px;
    border: 3px solid #ffffff;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3d9426 0%, #357d20 100%);
    border: 2px solid #ffffff;
}

.footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e8eaed;
    color: #5f6368;
    font-size: 0.95rem;
}

.footer a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #1557b0;
    text-decoration: underline;
}

.divider {
    width: 60px;
    height: 2px;
    background: #e8eaed;
    margin: 25px auto;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 60px 30px;
    }

    h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .coming-soon-text {
        font-size: 2.6rem;
    }

    .logo {
        width: 200px;
    }

    .search-wrapper {
        max-width: 100%;
    }

    .search-filter {
        max-width: 100%;
        padding: 0 15px;
    }

    .demo-image-wrapper,
    .demo-video-wrapper {
        width: 100%;
        max-width: 1200px;
        margin: 20px auto;
    }

    .demo-watermark {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .search-box input {
        font-size: 0.95rem;
        padding: 14px 20px;
    }

    .search-box button {
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .search-time {
        right: 120px;
        font-size: 0.7rem;
    }

    .search-result-item {
        padding: 12px 16px;
    }

    .company-name {
        font-size: 0.95rem;
    }

    .company-details {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        border-radius: 0;
    }

    h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.95rem;
    }

    .coming-soon-text {
        font-size: 2.2rem;
    }

    .search-filter {
        padding: 0 10px;
    }

    .demo-image-wrapper,
    .demo-video-wrapper {
        width: 100%;
        max-width: 1200px;
        margin: 20px auto;
        border-radius: 8px;
    }

    .demo-watermark {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input {
        border-radius: 16px 16px 0 0;
        padding: 14px 18px;
        padding-right: 18px;
    }

    .search-box button {
        border-radius: 0 0 16px 16px;
        padding: 14px 18px;
    }

    .search-time {
        position: static;
        transform: none;
        text-align: center;
        padding: 4px;
        font-size: 0.65rem;
        order: -1;
    }

    .company-details {
        flex-direction: column;
        gap: 4px;
    }

    .org-form::before,
    .org-zip::before,
    .org-city::before {
        display: none;
    }
}

