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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    text-decoration: none;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #389882FF;
}
.nav-logo .nav-icon {
  width: 40px;     
  height: 40px;     
  border-radius: 50%; 
  object-fit: cover; 
  margin-right: 8px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #6366f1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}


/* Close button */
.close {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Hero Section */

.hero-title {
    font-size: 3.0rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Phone Mockup */

.phone-mockup {
  width: 300px;
  height: 368px;
  padding: 0px 0px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;

  /* Center content */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.phone-mockup img {
  width: 100%;
  border-radius: 8px;
  height: auto;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #1f2937;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #389882FF, rgb(44, 70, 27)FF);
    border-radius: 2px;
}
.features .section-title::after {
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
}


.feature-showcase {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-content {
    padding: 2rem;
}
.feature-screenshot {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-baslik h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-decoration: none,
    color: #389882FF;
}
.title-baslik{
    text-decoration: none;
    color: #389882FF;
}
.feature-content p {
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.feature-highlights {
    list-style: none;
    padding: 0;
}

.check-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("assets/check-solid-full.svg") no-repeat center center;
  background-size: contain;
  font-style: normal;
}
.icon-arrow-up {
  display: inline-block;
  width: 1em;
  height: 1em;
  background: url("assets/arrow-up-solid-full.svg") no-repeat center center;
  background-size: cover;
  font-style: normal;
}

.feature-highlights li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #374151;
    font-weight: 500;
}



.screenshot-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
}

/* Animations */

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes suggestion-appear {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes online-indicator {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes activity-slide {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card p {
    color: rgb(127, 167, 157);
    line-height: 1.7;
}

.pricing {
    padding: 6rem 0;
    background: #f8fafc;
}

.pricing .section-title::after {
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
}


/* Pricing Tabs */

.tab-button {
    background: white;
    color: #6b7280;
    border: 2px solid #e5e7eb;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    border-color: #389882FF;
    color: #389882FF;
}

.tab-button.active {
    background: linear-gradient(45deg, #389882FF, rgb(46, 148, 100));
    color: white;
    border-color: #389882FF;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

/* Tab Content */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Special layout for single package (free) */

.pricing-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Main Features */

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #1f2937;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact .section-title::after {
    background: linear-gradient(45deg, #389882FF, rgb(135, 218, 198));
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Use :not(:placeholder-shown) instead of :valid for better reliability */

/* Additional fallback for when input has value */

/* Ensure proper spacing between form groups */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Handle autofill styles */

/* Footer */
.footer {
    background: #111827;
    padding: 2rem 0;
    text-align: center;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #389882FF;
}

.footer-logo img {
  width: 30px;     
  height: 30px;     
  border-radius: 50%; 
  object-fit: cover; 
  margin-right: 8px;
}

.footer-logo i {
    font-size: 1.5rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
}
.category-button {
  background: rgb(250, 250, 250);
  border: 1px solid #389882FF;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #374151;
}
.category-button:hover {
  border-color: rgb(149, 241, 220);
  color: #389882FF;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.page-btn {
  background: white;
  border: 1px solid #e5e7eb;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #374151;
}

.page-btn:hover {
  border-color: #389882FF;
  color: #389882FF;
}

.page-btn.active {
  background: linear-gradient(45deg, #389882FF, rgb(46, 148, 100));
  color: white;
  border-color: #389882FF;
  font-weight: 600;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dots {
  padding: 0.6rem 0.8rem;
  color: #6b7280;
  font-weight: 600;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

@keyframes glow {
    0% { text-shadow: 0 0 20px rgba(255, 255, 255, 0.5); }
    100% { text-shadow: 0 0 30px rgba(255, 255, 255, 0.8); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-title {
        margin-top: 80px;
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 200px;
        height: 245px;
    }

    /* Feature rows responsive */
    .feature-row,
    .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        direction: ltr;
    }

    .feature-row.reverse .feature-content {
        order: 1;
    }

    .feature-row.reverse .feature-screenshot {
        order: 2;
    }
    .feature-row .feature-content {
        order: 1;
    }
    .feature-row .feature-screenshot {
        order: 2;
    }

    .feature-content {
        padding: 1rem;
    }

    .title-baslik h3 {
        font-size: 1.5rem;
    }

    /* Pricing tabs responsive */

    .tab-button {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }

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

    .feature-showcase {
        gap: 3rem;
    }
    .modal-content {
        width: 95%;
        height: 90vh;
    }
    
    .post-container {
        flex-direction: column;
        height: 100%;
    }
    
    .post-images {
        flex: 1;
        max-height: 50%;
    }
    
    .post-details {
        flex: 1;
        min-height: 50%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        margin-top: 70px;
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .phone-mockup {
        width: 160px;
        height: 196px;
    }

    .feature-content {
        padding: 0.5rem;
    }

    .title-baslik h3 {
        font-size: 1.3rem;
    }

    .feature-content p {
        font-size: 1rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .feature-showcase {
        gap: 2rem;
    }

    .feature-row {
        padding: 1rem 0;
    }

    .tab-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

.open-btn {
    padding: 12px 24px;
    background: #0095f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.open-btn:hover {
    background: #1877f2;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90vw;   /* modal won’t exceed viewport width */
    max-height: 90vh;  /* modal won’t exceed viewport height */
    width: auto;       /* let content define width */
    height: auto;      /* let content define height */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.post-container {
    display: flex;
    position: relative;
    height: auto;
}

.post-images {
    flex: none; 
    background: black;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

#currentImage {
    max-width: 100%;
    max-height: 90vh; /* keep it inside viewport */
    height: auto;
    width: auto;
    object-fit: contain; /* show full image */
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
    z-index: 10;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 16px;
}

.next-btn {
    right: 16px;
}

.image-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Right side - Post details */
.post-details {
    flex: none;
    display: flex;
    max-width: 600px;
    flex-direction: column;
    background: white;
}

.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #efefef;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.post-title {
    font-weight: 600;
    font-size: 14px;
    align-self: center;
    color: #262626;
}

.more-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    color: #262626;
}

.post-content {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
}

.caption {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.caption-text {
    flex: 1;
}

.caption-text p {
    color: #262626;
    font-size: 14px;
    line-height: 1.4;
    margin-top: 4px;
}

.more-text {
    color: #8e8e8e;
    cursor: pointer;
    font-size: 14px;
}

.hashtags {
    margin-top: 8px;
    font-size: 14px;
}

.hashtags span {
    color: #0095f6;
    cursor: pointer;
}

.post-time {
    color: #8e8e8e;
    font-size: 12px;
    margin-top: 8px;
    text-transform: uppercase;
}

.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    border-top: 1px solid #efefef;
}

.action-buttons {
    display: flex;
    gap: 16px;
}

.action-btn, .save-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.1s;
}

.action-btn:hover, .save-btn:hover {
    transform: scale(1.1);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    z-index: 20;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.7);
}