:root {
    --background-color: #000000;
    --text-color: #f5f5f7;
    --secondary-text-color: #a1a1a6;
    --accent-color: #007aff;
    --container-width: 1100px;
    --border-radius: 12px;
    --card-background: #1a1a1c;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; 
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-avatar {
    width: 43px;
    height: 47px;
    border-radius: 20%;
    object-fit: cover;
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 110;
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Mobile & Tablet Navigation Styles (up to 768px) */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .logo-avatar {
        order: 1;
    }

    .btn-primary {
        display: block;
        margin: 0 auto;
        order: 2;
    }

    .hamburger-menu {
        display: flex;
        order: 3;
        position: relative;
        z-index: 120;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 115;
    }

    .nav-list.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-list li a {
        font-size: 1.5rem;
        color: var(--text-color);
        padding: 0.5rem 0;
        display: block;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}

/* Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-list {
        display: flex;
        position: static;
        width: auto;
        max-width: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        transform: none;
        z-index: auto;
    }
    .hamburger-menu {
        display: none;
    }
    .btn-primary {
        display: inline-block;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-avatar {
        order: 1;
    }

    .nav-list {
        order: 2;
    }

    .btn-primary {
        order: 3;
        margin: 0;
    }
}

/* Desktops and larger (above 1024px) */
@media (min-width: 1025px) {
    .nav-list {
        display: flex !important;
        position: static;
        width: auto;
        max-width: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
        transform: none;
        z-index: auto;
    }
    .hamburger-menu {
        display: none !important;
    }
    .btn-primary {
        display: inline-block !important;
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo-avatar {
        order: 1;
    }

    .nav-list {
        order: 2;
    }

    .btn-primary {
        order: 3;
        margin: 0;
    }
}
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px) translateZ(0); 
}


/* Sections */
section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

/* Hero Section */
.hero {
    padding-top: 12rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('media/hero_ipad_3.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    color: var(--text-color); 
    position: relative; 
    overflow: hidden; 
    z-index: 1; 
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    background: linear-gradient(to top, var(--background-color) 0%, transparent 100%);
    z-index: 1; 
}

.hero-content {
    position: relative; 
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-color); 
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--secondary-text-color); 
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-icon-img {
    max-width: 60px; 
    height: auto;
    display: block;
    margin: 0 auto;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Why Us Section */
.why-us .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.why-us-image-wrapper {
    text-align: center;
}

.why-us-main-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.why-us-intro {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--secondary-text-color);
}

.why-us-list {
    list-style: none;
    padding: 0;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.why-us-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    flex-shrink: 0;
}

.why-us-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.why-us-item p {
    font-size: 1rem;
    color: var(--secondary-text-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-us-image-wrapper {
        display: none; 
    }
}

/* How it Works Section */
.steps-container {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 2rem;
    text-align: center;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    border: 2px solid var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid var(--card-background);
    padding: 1.5rem 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
    will-change: max-height, padding-top;
}

.faq-item.active .faq-answer {
    max-height: 1000px; 
    padding-top: 1rem;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}


/* CTA Section */
.cta {
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.cta-text{
    margin-bottom: 2rem;
}
/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--card-background);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Small Mobile Devices (up to 320px) */
@media (max-width: 320px) {
    .container {
        width: 95%;
    }

    .logo {
        font-size: 1.2rem;
    }

    .btn-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

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

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

    .features-grid, .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .why-us-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .why-us-icon {
        margin-bottom: 0.5rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer .social-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Medium Mobile Devices (up to 375px) */
@media (min-width: 321px) and (max-width: 375px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .features-grid, .why-us-grid {
        gap: 2rem;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr); 
        gap: 2rem;
    }
}

/* Large Mobile Devices (up to 425px) */
@media (min-width: 376px) and (max-width: 425px) {
    .hero-title {
        font-size: 3rem;
    }

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

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

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Tablets (up to 768px) */
@media (min-width: 426px) and (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr; 
        text-align: center; 
    }

    .why-us-text {
        text-align: center; 
    }

    .why-us-item {
        flex-direction: column;
        align-items: center; 
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer .social-links {
        flex-direction: row;
        gap: 1rem;
    }
}

/* Laptops (up to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .hamburger-menu{
        display: none;
    }
    .header .nav-list {
        display: flex; 
    }

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

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }

    .steps-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Large Laptops (up to 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktops and larger (above 1440px) */
@media (min-width: 1441px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.step, .feature-card, .faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}