/* Geist Font Declarations */
@font-face {
    font-family: 'Geist';
    src: url('./fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('./fonts/Geist-RegularItalic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('./fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('./fonts/Geist-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('./fonts/Geist-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variable font for modern browsers */
@font-face {
    font-family: 'Geist';
    src: url('./fonts/Geist[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter',
        'SF Pro Display', system-ui, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-image {
    height: 120px;
    width: auto;
    max-width: 600px;
    filter: invert(1);
}

/* Main content */
.main {
    min-height: calc(100vh - 200px);
}

/* Hero section */
.hero {
    padding: 120px 0 500px;
    background: linear-gradient(
        135deg,
        #000000 0%,
        #1a0826 25%,
        #0a1a2e 50%,
        #16213e 75%,
        #000000 100%
    );
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Colorful accent elements */
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

/* Triangle 1 - Original */
.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 15%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 87px solid #4ecdc4;
    opacity: 0.15;
    animation: rotate 8s linear infinite;
}

/* Additional animated triangles */
.hero-content::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid #ff6b6b;
    opacity: 0.12;
    animation: rotateReverse 12s linear infinite;
}

.hero-content::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 43px solid #45b7d1;
    opacity: 0.1;
    animation: floatSlow 10s ease-in-out infinite;
}

.value-props::before {
    content: '';
    position: absolute;
    top: -200px;
    right: 25%;
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 61px solid #f9ca24;
    opacity: 0.08;
    animation: pulse 6s ease-in-out infinite;
}

.value-props::after {
    content: '';
    position: absolute;
    top: -150px;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid #667eea;
    opacity: 0.13;
    animation: rotate 15s linear infinite;
}

/* More triangles using container pseudo-elements */
.container::before {
    content: '';
    position: absolute;
    top: 30%;
    right: 8%;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 26px solid #4ecdc4;
    opacity: 0.09;
    animation: floatSlow 14s ease-in-out infinite;
    z-index: 1;
}

.container::after {
    content: '';
    position: absolute;
    top: 60%;
    left: 30%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 69px solid #ff6b6b;
    opacity: 0.07;
    animation: pulse 9s ease-in-out infinite;
    z-index: 1;
}

/* Additional triangles with unique positioning */
.hero::before {
    box-shadow: 
        200px 100px 0 0 rgba(249, 202, 36, 0.1),
        -150px 200px 0 0 rgba(102, 126, 234, 0.08),
        350px 300px 0 0 rgba(69, 183, 209, 0.12),
        -80px 50px 0 0 rgba(255, 107, 107, 0.09),
        450px 150px 0 0 rgba(78, 205, 196, 0.11);
    animation: float 20s ease-in-out infinite;
}

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

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

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

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.2; transform: scale(1.1); }
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: #e5e5e5;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Value propositions */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.value-prop {
    text-align: center;
    padding: 32px 24px;
    background-color: #000000;
    border: 1px solid #333333;
    border-radius: 12px;
    transition: transform 0.1s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.value-prop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(78, 205, 196, 0.1),
        rgba(69, 183, 209, 0.1)
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.value-prop:hover::before {
    opacity: 1;
}

.value-prop:hover {
    border-color: #4ecdc4;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-prop h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.value-prop p {
    font-size: 16px;
    color: #e5e5e5;
    position: relative;
    z-index: 2;
}

/* CTA section */
.cta-section {
    background-color: #111111;
    padding: 180px 0 100px;
    position: relative;
    border-top: 1px solid #333333;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4ecdc4, transparent);
    opacity: 0.3;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: -500px auto 0;
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cta-content > p {
    font-size: 18px;
    color: #e5e5e5;
    margin-bottom: 48px;
}

/* Form styles */
.demo-form {
    background-color: #000000;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #333333;
    text-align: left;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(78, 205, 196, 0.2);
    transition: all 0.3s ease;
}

.demo-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(78, 205, 196, 0.05),
        rgba(69, 183, 209, 0.05)
    );
    opacity: 1;
    pointer-events: none;
}

.demo-form:hover {
    border-color: rgba(78, 205, 196, 0.4);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(78, 205, 196, 0.3);
    transform: translateY(-8px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #333333;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    background-color: #1a1a1a;
    color: #ffffff;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 2px rgba(78, 205, 196, 0.2);
}

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

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 50%, #667eea 100%);
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    margin-top: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
    position: relative;
    z-index: 3;
}

.cta-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.cta-button:disabled {
    background: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333333;
    background-color: #000000;
}

.footer p {
    font-size: 14px;
    color: #e5e5e5;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

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

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

    .hero {
        padding: 60px 0 100px;
    }

    .cta-section {
        padding: 140px 0 80px;
    }

    .cta-content {
        margin: -80px auto 0;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .demo-form {
        padding: 24px;
    }

    .value-props {
        gap: 32px;
    }

    .value-prop {
        padding: 24px 20px;
    }
}

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

    .logo-image {
        height: 96px;
        max-width: 480px;
    }
}
