/* Daparria Template Styles */

/* Reset and Base Styles */
* {
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: #1D2026;
    color: #8A94A7;
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
    font-weight: 600;
    margin: 0 0 1rem 0;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; line-height: 1.4; }
h4, h5, h6 { font-size: 1.25rem; line-height: 1.4; }

p {
    margin: 0 0 1.5rem 0;
}

a {
    color: #8A94A7;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #fff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility Classes */
.list-reset {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #242830;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.button:hover {
    background: #262a33;
}

.button-primary {
    background: linear-gradient(65deg, #0270D7 0, #0F8AFD 100%);
}

.button-primary:hover {
    background: linear-gradient(65deg, #0275e1 0, #198ffd 100%);
}

.button-block {
    width: 100%;
}

/* Header */
.site-header {
    padding: 1.5rem 0;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.header-links a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-paragraph {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-bottom: 3rem;
}

.hero-cta .button {
    margin: 0 0.5rem 1rem 0.5rem;
}

.hero-figure {
    margin-top: 3rem;
    position: relative;
}

.hero-figure svg {
    max-width: 100%;
    height: auto;
}

/* Hero Figure Boxes */
.hero-figure-box {
    position: absolute;
    top: 0;
    will-change: transform;
}

.hero-figure-box-01 {
    left: 103.2%;
    top: 41.9%;
    width: 28.03%;
    height: 37.37%;
    background: linear-gradient(to left top, #00BFFB, rgba(0,191,251,0));
    transform: rotateZ(45deg);
}

.hero-figure-box-02 {
    left: 61.3%;
    top: 64.1%;
    width: 37.87%;
    height: 50.50%;
    background: linear-gradient(to left top, #0270D7, rgba(2,112,215,0));
    transform: rotateZ(-45deg);
}

.hero-figure-box-03 {
    left: 87.7%;
    top: -56.8%;
    width: 56.81%;
    height: 75.75%;
    background: linear-gradient(to left top, #00BFFB, rgba(0,191,251,0));
}

.hero-figure-box-04 {
    left: 54.9%;
    top: -8%;
    width: 45.45%;
    height: 60.60%;
    background: linear-gradient(to left top, #0270D7, rgba(2,112,215,0));
    transform: rotateZ(-135deg);
}

.hero-figure-box-05 {
    left: 17.4%;
    top: 13.3%;
    width: 64%;
    height: 73.7%;
    background-color: #242830;
    box-shadow: -20px 32px 64px rgba(0,0,0,0.25);
    transform: perspective(500px) rotateY(-15deg) rotateX(8deg) rotateZ(-1deg);
}

.hero-figure-box-06 {
    left: 65.5%;
    top: 6.3%;
    width: 30.3%;
    height: 40.4%;
    background-color: #242830;
    box-shadow: -20px 32px 64px rgba(0,0,0,0.25);
    transform: rotateZ(20deg);
}

.hero-figure-box-07 {
    left: 1.9%;
    top: 42.4%;
    width: 12.12%;
    height: 16.16%;
    background-color: #242830;
    box-shadow: -20px 32px 64px rgba(0,0,0,0.25);
    transform: rotateZ(20deg);
}

.hero-figure-box-08 {
    left: 27.1%;
    top: 81.6%;
    width: 19.51%;
    height: 26.01%;
    background: #0270D7;
    transform: rotateZ(-22deg);
}

.hero-figure-box-09 {
    left: 42.6%;
    top: -17.9%;
    width: 6.63%;
    height: 8.83%;
    background: #00BFFB;
    transform: rotateZ(-52deg);
}

.hero-figure-box-10 {
    left: -3.8%;
    top: 4.3%;
    width: 3.03%;
    height: 4.04%;
    background: rgba(0,191,251,0.32);
    transform: rotateZ(-50deg);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: #15181D;
}

.features-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    margin-bottom: 1.5rem;
}

.feature-title {
    margin-bottom: 1rem;
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-tables-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-table-inner {
    background: #2C3039;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 24px 48px rgba(21,24,29,0.24);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-table-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
}

.pricing-table-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1rem;
}

.pricing-table-price-amount {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
}

.pricing-table-price-currency,
.pricing-table-price-period {
    color: #8A94A7;
}

.pricing-table-features-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(138,148,167,0.24);
}

.pricing-table-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-table-features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(138,148,167,0.24);
    display: flex;
    align-items: center;
}

.pricing-table-features-list li::before {
    content: '✓';
    color: #0270D7;
    font-weight: bold;
    margin-right: 0.75rem;
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    text-align: center;
}

.cta-inner {
    background: #15181D;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.cta-copy {
    margin-bottom: 2rem;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: #0f1114;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ensure 3-column layout for initial portfolio items */
@media (min-width: 900px) {
    .portfolio-grid:not(.portfolio-more .portfolio-grid) {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    background: #1a1d29;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-item-image {
    height: 200px;
    background: linear-gradient(135deg, #0270D7, #00BFFB);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-placeholder {
    text-align: center;
    color: white;
}

.portfolio-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.portfolio-placeholder p {
    font-size: 0.875rem;
    opacity: 0.9;
}

.portfolio-item-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-item-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.portfolio-item-description {
    color: #a0a8b8;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.portfolio-item-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-item-category,
.portfolio-item-duration {
    background: #0270D7;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-item-duration {
    background: #00BFFB;
}

.portfolio-more {
    margin-top: 2rem;
}

.portfolio-more .portfolio-grid {
    margin-top: 0;
}

/* Pricing CTA Section */
.pricing-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-cta-inner h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.pricing-cta-inner p {
    font-size: 1.125rem;
    color: #a0a8b8;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.pricing-cta-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-cta-feature {
    text-align: center;
}

.pricing-cta-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.pricing-cta-feature p {
    font-size: 0.875rem;
    color: #a0a8b8;
    margin-bottom: 0;
}

.pricing-cta-button {
    margin-top: 2rem;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #0f1114;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.contact-info p {
    color: #a0a8b8;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.contact-detail p {
    color: #a0a8b8;
    font-size: 0.875rem;
    margin-bottom: 0;
}

.contact-form {
    background: #1a1d29;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #2a2d3a;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #0f1114;
    border: 1px solid #2a2d3a;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.875rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0270D7;
}

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

.button-block {
    width: 100%;
}

/* Footer */
.site-footer {
    padding: 3rem 0;
    border-top: 1px solid #242830;
}

.site-footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-links ul,
.footer-social-links ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

/* Animations */
.has-animations .anime-element {
    visibility: hidden;
}

.anime-ready .has-animations .anime-element {
    visibility: visible;
}

/* Body Layout */
.body-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero {
        padding: 6rem 0;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-inner {
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .hero-copy {
        flex: 1;
        padding-right: 3rem;
    }
    
    .hero-figure {
        flex: 1;
        margin-top: 0;
    }
    
    .cta-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
    }
    
    .cta-copy {
        margin-bottom: 0;
        flex: 1;
    }
}

@media (max-width: 767px) {
    .hero-cta .button {
        display: block;
        margin: 0 0 1rem 0;
    }
    
    .site-footer-inner {
        text-align: center;
    }
    
    .footer-links,
    .footer-social-links {
        justify-content: center;
    }
    
    .hero-figure-box-03,
    .hero-figure-box-04,
    .hero-figure-box-09 {
        display: none;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .portfolio-more .portfolio-grid {
        gap: 1.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-cta-features {
        grid-template-columns: 1fr;
    }
}

.hidden-by-default {
    display: none;
}
