/* Diagonal Slice Style - Website 162
   Theme: Dark Gray #374151
   Layout: Diagonal slice/cut corner with layered effects
*/

:root {
    --primary-color: #374151;
    --primary-dark: #1f2937;
    --primary-light: #4b5563;
    --accent-color: #6b7280;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-dark: #111827;
    --bg-light: #1f2937;
    --slice-accent: #f97316;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--primary-color) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Diagonal Background Shapes */
.diagonal-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.diagonal-shape {
    position: absolute;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(249, 115, 22, 0.05) 40%, rgba(249, 115, 22, 0.1) 60%, transparent 60%);
    transform: skewX(-15deg);
    animation: diagonalMove 20s ease-in-out infinite;
}

.diagonal-shape:nth-child(1) {
    left: -20%;
    top: 0;
    animation-delay: 0s;
}

.diagonal-shape:nth-child(2) {
    width: 40%;
    left: 30%;
    top: 50%;
    transform: skewX(-15deg) translateY(-50%);
    animation-delay: -5s;
}

.diagonal-shape:nth-child(3) {
    width: 50%;
    right: -20%;
    top: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(107, 114, 128, 0.05) 40%, rgba(107, 114, 128, 0.1) 60%, transparent 60%);
    animation-delay: -10s;
}

@keyframes diagonalMove {
    0%, 100% { transform: skewX(-15deg) translateX(0); }
    50% { transform: skewX(-15deg) translateX(30px); }
}

/* Navigation */
.diagonal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    padding: 0 40px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-logo svg {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 10px 16px;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 0 0;
    border-color: transparent transparent var(--slice-accent) transparent;
    transition: all 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    border-width: 0 0 20px 20px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    background: rgba(249, 115, 22, 0.1);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--slice-accent);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    padding-top: 70px;
}

/* Hero Section with Cut Corner */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(249, 115, 22, 0.1) 30%, rgba(249, 115, 22, 0.05) 70%, transparent 70%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.hero-title .highlight {
    color: var(--slice-accent);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(249, 115, 22, 0.3);
    transform: skewX(-10deg);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 16px 36px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
    background: var(--slice-accent);
    color: white;
}

.btn-primary:hover {
    background: #ea580c;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 20px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 2px solid var(--slice-accent);
}

.btn-secondary:hover {
    background: rgba(249, 115, 22, 0.2);
}

/* Section Styles */
.section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slice-accent), transparent);
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--slice-accent);
    clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 20px auto 0;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.diagonal-card {
    background: rgba(55, 65, 81, 0.5);
    padding: 35px 30px;
    position: relative;
    transition: all 0.4s ease;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border-left: 3px solid transparent;
}

.diagonal-card:hover {
    background: rgba(55, 65, 81, 0.8);
    transform: translateY(-5px);
    border-left-color: var(--slice-accent);
}

.diagonal-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

.diagonal-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.diagonal-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(31, 41, 55, 0.5);
    padding: 30px;
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(31, 41, 55, 0.8);
    transform: translateX(5px);
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--slice-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: rgba(17, 24, 39, 0.8);
    padding: 60px 20px;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 60px 60px;
    border-color: transparent transparent rgba(249, 115, 22, 0.2) transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--slice-accent);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--slice-accent);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-step {
    background: rgba(55, 65, 81, 0.5);
    padding: 35px 30px;
    text-align: center;
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(55, 65, 81, 0.8);
    transform: translateY(-5px);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--slice-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%, 0 15px);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    background: rgba(17, 24, 39, 0.6);
    padding: 80px 20px;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent rgba(249, 115, 22, 0.1) transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(55, 65, 81, 0.5);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(55, 65, 81, 0.8);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 18px;
    display: block;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--slice-accent);
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-card .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Footer */
.diagonal-footer {
    background: rgba(17, 24, 39, 0.9);
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.diagonal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--slice-accent), transparent);
}

.diagonal-footer p {
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(31, 41, 55, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Page Header */
.page-header {
    padding: 80px 20px 50px;
    text-align: center;
    background: rgba(17, 24, 39, 0.6);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--slice-accent), transparent);
}

.page-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.column-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.column-content h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--slice-accent);
}

.column-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 15px;
}

.column-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Diagonal decorative box */
.diagonal-box {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
}

.diagonal-box::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 3px solid var(--slice-accent);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}

/* Info Box */
.info-box {
    background: rgba(249, 115, 22, 0.1);
    border-left: 4px solid var(--slice-accent);
    padding: 20px 25px;
    margin: 20px 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.info-box h4 {
    color: var(--slice-accent);
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.info-box p {
    margin: 0;
    color: var(--text-secondary);
}

/* List with icons */
.icon-list {
    list-style: none;
}

.icon-list li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-list li:last-child {
    border-bottom: none;
}

.icon-list li::before {
    content: '▶';
    color: var(--slice-accent);
    font-size: 0.8rem;
}
