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

body {
    font-family: "Noto Sans Thai", "Inter", sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 122, 0, 0.08);
    transition: all 0.3s;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff7a00;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Inter", sans-serif;
}

.logo img {
    height: 70px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #5a5a5a;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: #ff7a00;
}

.btn-primary {
    background: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%);
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
    background: white;
    color: #ff7a00;
    border: 2px solid #ff7a00;
    padding: 0.75rem 1.75rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #ff7a00;
    color: white;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    padding: 5rem 2rem 4rem;
    background: linear-gradient(135deg, #fff5eb 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(
        circle,
        rgba(255, 122, 0, 0.08) 0%,
        transparent 70%
    );
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: pulse 6s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(
        circle,
        rgba(255, 122, 0, 0.05) 0%,
        transparent 70%
    );
    border-radius: 50%;
    bottom: -200px;
    left: -100px;
    animation: pulse 8s ease-in-out infinite;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: "Inter", sans-serif;
}

.hero-content h1 span {
    color: #ff7a00;
}

.hero-content p {
    font-size: 1.3rem;
    color: #5a5a5a;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.hero-visual {
    position: relative;
    height: 550px;
}

.device-mockup {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(255, 122, 0, 0.15);
    animation: float 4s ease-in-out infinite;
}

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

.mobile-device {
    top: 80px;
    left: 20px;
    width: 280px;
    animation-delay: 0s;
}

.dashboard-device {
    top: 50px;
    right: 0;
    width: 320px;
    animation-delay: 1.5s;
}

.stats-card {
    bottom: 80px;
    left: 0;
    width: 240px;
    animation-delay: 3s;
}

.status-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #15803d;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.location-pin {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

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

/* How It Works */
.how-it-works {
    padding: 6rem 2rem;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.section-title span {
    color: #ff7a00;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #5a5a5a;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.step-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(255, 122, 0, 0.1);
    transition: all 0.3s;
    position: relative;
    border: 2px solid #fff5eb;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.2);
    border-color: #ff7a00;
}

.step-number {
    position: absolute;
    top: -25px;
    left: 2rem;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.step-card h3 {
    font-size: 1.4rem;
    color: #2d2d2d;
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.step-card p {
    color: #5a5a5a;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Features */
.features {
    padding: 6rem 2rem;
    background: #f5f5f5;
}

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

.feature-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feature-card:hover {
    border-color: #ff7a00;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(255, 122, 0, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: block;
    width: 20px;
}

.feature-icon img {
    width: 10pc;
    height: 10pc;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #2d2d2d;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.feature-card p {
    color: #5a5a5a;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Screenshots */
.screenshots {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%);
    position: relative;
    overflow: hidden;
}

.screenshots::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 70%
    );
    border-radius: 50%;
    top: -200px;
    left: -150px;
}

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

.screenshots .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.screenshots-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.screenshot-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.screenshot-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.screenshot-placeholder {
    width: 100%;
    height: 320px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.8) 100%
    );
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff7a00;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.screenshot-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.screenshot-card p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 6rem 2rem;
    background: #ffffff;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff5eb;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(255, 122, 0, 0.1);
    border: 2px solid #ffe4cc;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 122, 0, 0.15);
}

.testimonial-card .quote {
    font-size: 3.5rem;
    color: #ff7a00;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-card p {
    color: #5a5a5a;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info h4 {
    color: #2d2d2d;
    font-weight: 700;
}

.author-info p {
    color: #5a5a5a;
    font-size: 0.9rem;
    margin: 0;
    font-style: normal;
}

/* Footer */
footer {
    background: #2d2d2d;
    color: #d1d1d1;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #d1d1d1;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ff7a00;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a4a4a;
    color: #9a9a9a;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ff7a00;
    margin-bottom: 1rem;
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.footer-logo img {
    height: 35px;
    width: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-visual {
        display: none;
    }

    .nav-links a:not(.btn-primary) {
        display: none;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

/* Page-specific styles for Terms, Privacy, and Deletion pages */
body {
    line-height: 1.7;
}

.main-content {
    margin-top: 100px;
    padding: 4rem 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 1rem;
}

.page-title span {
    color: #ff7a00;
}

.page-subtitle {
    font-size: 1.1rem;
    color: #5a5a5a;
    margin-bottom: 2rem;
}

.last-updated {
    font-size: 0.9rem;
    color: #8a8a8a;
    font-style: italic;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ff7a00;
}

.content-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.content-section p {
    margin-bottom: 1rem;
    color: #5a5a5a;
}

.content-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    color: #5a5a5a;
}

.highlight-box {
    background: #fff5eb;
    border: 2px solid #ffe4cc;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: #ff7a00;
    margin-top: 0;
    margin-bottom: 1rem;
}

.contact-info {
    background: linear-gradient(135deg, #ff7a00 0%, #ff9933 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.deletion-policy {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
}

.deletion-policy h3 {
    color: #dc3545;
    margin-top: 0;
    margin-bottom: 1rem;
}

.deletion-policy strong {
    color: #dc3545;
}

/* Responsive for page-specific styles */
@media (max-width: 768px) {
    .main-content {
        padding: 2rem 1rem;
    }

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

    .content-section h2 {
        font-size: 1.3rem;
    }

    .content-section h3 {
        font-size: 1.1rem;
    }
}
