/* Brand Guidelines Applied */
/* Primary: #3DDD94 | Accent: #40BB83 | Background: #101C18 */
/* Font: Ftregolaneue, sans-serif | Border Radius: 0px */

@font-face {
    font-family: 'Ftregolaneue';
    src: local('Ftregolaneue');
    font-display: swap;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Ftregolaneue', sans-serif;
    background-color: #101C18;
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.5;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 32px 48px;
    background-color: #101C18;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
}

.logo-link {
    display: inline-block;
}

.logo {
    height: 48px;
    width: auto;
    max-width: 100%;
}

/* Main Content */
.main {
    min-height: 100vh;
}

/* Hero Section */
.hero {
    padding: 180px 48px 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.hero-headline {
    max-width: 600px;
}

.hero-description {
    display: flex;
    align-items: flex-start;
}

.headline {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.highlight {
    color: #3DDD94;
}

.description {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 27px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
}

/* Tools Section */
.tools {
    padding: 80px 48px 120px;
}

.tools-container {
    max-width: 1440px;
    margin: 0 auto;
}

.section-label {
    display: block;
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.tool-card {
    display: block;
    padding: 32px 20px;
    text-decoration: none;
    color: #ffffff;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 0px;
}

.tool-card:nth-child(6n) {
    border-right: none;
}

.tool-card:hover {
    background-color: #3DDD94;
    color: #101C18;
}

.tool-card:hover .tool-arrow {
    color: #101C18;
    transform: translateX(8px);
}

.tool-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
}

.tool-title {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.tool-arrow {
    font-size: 24px;
    color: #40BB83;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-top: 24px;
}

/* Projects Section */
.projects {
    background-color: #6b7280;
    padding: 80px 48px 120px;
}

.projects-container {
    max-width: 1440px;
    margin: 0 auto;
}

.project-row {
    padding: 80px 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    scroll-margin-top: 120px;
}

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

.project-title {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
}

.project-preview {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    position: relative;
}

.project-preview iframe {
    width: 200%;
    height: 200%;
    border: none;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: top left;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
    z-index: 1;
}

.preview-overlay:hover {
    background-color: rgba(61, 221, 148, 0.15);
}

.project-preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    background-color: transparent;
}

.preview-placeholder-text {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-text {
    max-width: 600px;
}

.project-subtitle {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
    letter-spacing: 0.02em;
}

.project-description {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.project-buttons {
    grid-column: 1 / -1;
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    border-radius: 0px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #3DDD94;
    color: #101C18;
    border: 2px solid #3DDD94;
}

.btn-primary:hover {
    background-color: #40BB83;
    border-color: #40BB83;
}

.btn-secondary {
    background-color: transparent;
    color: #3DDD94;
    border: 2px solid #3DDD94;
}

.btn-secondary:hover {
    background-color: #3DDD94;
    color: #101C18;
}

/* Contact Section */
.contact {
    background-color: #ffffff;
    padding: 0 48px;
}

.contact-divider {
    display: none;
}

.contact-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 80px 0;
}

.contact-title {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: #374151;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.contact-link {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #3DDD94;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #40BB83;
}

.contact-copyright {
    font-family: 'Ftregolaneue', sans-serif;
    font-size: 14px;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tool-card:nth-child(6n) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .tool-card:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 1200px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-card:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .tool-card:nth-child(2n) {
        border-right: none;
    }

    .project-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .project-preview {
        grid-column: 1 / -1;
        max-width: 500px;
    }

    .project-text {
        max-width: 100%;
    }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-headline {
        max-width: 100%;
    }

    .headline {
        font-size: 48px;
    }

    .description {
        font-size: 18px;
    }

    .tool-title {
        font-size: 28px;
    }

    .project-title {
        font-size: 36px;
    }

    .project-row {
        padding: 60px 0;
    }
}

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

    .hero {
        padding: 140px 24px 60px;
    }

    .headline {
        font-size: 36px;
    }

    .description {
        font-size: 20px;
    }

    .tools {
        padding: 60px 24px 80px;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-card {
        border-right: none;
        padding: 32px 24px;
    }

    .tool-title {
        font-size: 24px;
    }

    .tool-content {
        min-height: 80px;
    }

    .projects {
        padding: 60px 24px 80px;
    }

    .contact {
        padding: 0 24px;
    }

    .project-row {
        padding: 48px 0;
        scroll-margin-top: 100px;
    }

    .project-content {
        grid-template-columns: 1fr;
    }

    .project-preview {
        max-width: 100%;
    }

    .project-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .project-subtitle {
        font-size: 16px;
    }

    .project-description {
        font-size: 16px;
    }

    .project-buttons {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .contact-container {
        padding: 60px 0;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-link {
        font-size: 24px;
    }

    .contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .headline {
        font-size: 28px;
    }

    .description {
        font-size: 18px;
    }

    .logo {
        height: 36px;
    }

    .project-title {
        font-size: 24px;
    }

    .project-row {
        padding: 40px 0;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-link {
        font-size: 20px;
    }

    .contact-divider {
        height: 32px;
    }
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 28, 24, 0.95);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #3DDD94;
    color: #3DDD94;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 0px;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-close:hover {
    background-color: #3DDD94;
    color: #101C18;
}

.video-modal-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }

    .video-modal-close {
        top: -44px;
        width: 36px;
        height: 36px;
        font-size: 24px;
    }
}
