/* 영농일지 페이지 전용 스타일 - 현대적 리디자인 */

/* 기본 설정 */
* {
    box-sizing: border-box;
}

/* 영농일지 히어로 섹션 */
.diary-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
}

.diary-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: calc(100vh - 200px);
    /* 헤더 높이와 패딩을 고려한 최소 높이 */
}

@media (min-width: 1024px) {
    .diary-hero-content {
        flex-direction: row;
        gap: 120px;
        padding: 0 40px;
    }
}

.diary-hero-text {
    flex: 1;
    text-align: center;
}

@media (min-width: 1024px) {
    .diary-hero-text {
        text-align: left;
    }
}

.diary-badge {
    margin-bottom: 32px;
}

.diary-badge span {
    background: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.diary-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.03em;
}

.diary-title-highlight {
    background: linear-gradient(90deg, #05b981 0%, #374151 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .diary-title {
        font-size: 55px;
        line-height: 1.25;
    }
}

@media (min-width: 1024px) {
    .diary-title {
        font-size: 75px;
        line-height: 1.2;
    }
}

@media (min-width: 1280px) {
    .diary-title {
        font-size: 75px;
        line-height: 1.15;
    }
}

.diary-subtitle {
    font-size: 20px;
    color: #1f2937;
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

@media (min-width: 768px) {
    .diary-subtitle {
        font-size: 22px;
    }
}

@media (min-width: 1024px) {
    .diary-subtitle {
        font-size: 24px;
        margin-left: 0;
        margin-right: 0;
    }
}

.diary-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
    .diary-buttons {
        justify-content: flex-start;
    }
}

.diary-btn-primary {
    background: #05b981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diary-btn-primary:hover {
    background: #1ac791;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diary-btn-primary:focus {
    outline: none;
    ring: 2px;
    ring-color: #05b981;
    ring-offset: 2px;
}

.diary-btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diary-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diary-btn-secondary:focus {
    outline: none;
    ring: 2px;
    ring-color: #6b7280;
    ring-offset: 2px;
}

.diary-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-video-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

@media (min-width: 768px) {
    .hero-video-container {
        height: 500px;
        max-width: 600px;
    }
}

@media (min-width: 1024px) {
    .hero-video-container {
        height: 600px;
        max-width: 700px;
    }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.app-header {
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.app-status-bar {
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 12px;
}

.app-title {
    font-size: 18px;
    font-weight: 700;
}

.app-content {
    padding: 20px;
}

.app-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.date {
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

.weather-info {
    margin-bottom: 16px;
}

.weather-info span {
    font-size: 14px;
    color: #374151;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.task-icon {
    font-size: 16px;
}

.task-text {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

/* 섹션 헤더 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 18px;
    color: #374151;
    margin-top: 16px;
    font-weight: 400;
}

/* 주요 기능 섹션 */
.diary-features-section {
    padding: 100px 20px;
    background: #ffffff;
}

@media (min-width: 768px) {
    .diary-features-section {
        padding: 120px 40px;
    }
}

.diary-section-title {
    font-size: 48px;
    font-weight: 700;
    color: #0f172a;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .diary-section-title {
        font-size: 55px;
    }
}

@media (min-width: 1024px) {
    .diary-section-title {
        font-size: 55px;
    }
}

.diary-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .diary-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .diary-features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 48px;
    }
}

.diary-feature-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.diary-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diary-feature-card:hover {
    transform: translateY(-8px);
    border-color: #e2e8f0;
}

.diary-feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.diary-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    transition: all 0.3s ease;
}

.diary-feature-card:hover .diary-feature-icon {
    transform: scale(1.1);
}

.diary-feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.diary-feature-card p {
    color: #374151;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* 사용 예시 섹션 */
.diary-example-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

@media (min-width: 768px) {
    .diary-example-section {
        padding: 120px 40px;
    }
}

.diary-example-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .diary-example-content {
        flex-direction: row;
        gap: 120px;
    }
}

.diary-example-text {
    flex: 1;
}

.diary-example-text h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #0f172a;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

.diary-example-text p {
    font-size: 18px;
    color: #374151;
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 400;
}

.example-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 15px;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.diary-example-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.example-mockup {
    width: 320px;
    height: 400px;
    background: #1e293b;
    border-radius: 24px;
    padding: 8px;
}

.mockup-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    padding: 20px;
}

.mockup-header {
    text-align: center;
    margin-bottom: 24px;
}

.mockup-status {
    height: 16px;
    background: #f1f5f9;
    border-radius: 8px;
    margin-bottom: 8px;
}

.mockup-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-chart {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
}

.chart-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.chart-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #374151;
    font-weight: 500;
}

.data-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.data-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.data-label {
    display: block;
    font-size: 12px;
    color: #374151;
    margin-bottom: 4px;
}

.data-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

/* 앱 화면 섹션 */
.diary-app-section {
    padding: 100px 20px;
}

@media (min-width: 768px) {
    .diary-app-section {
        padding: 120px 40px;
    }
}

.diary-app-showcase {
    max-width: 1200px;
    margin: 0 auto;
}

.diary-app-screens {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: auto;
    padding: 20px 0;
}

.diary-app-screen {
    text-align: center;
    flex-shrink: 0;
}

.screen-mockup {
    width: 240px;
    height: 480px;
    background: #1e293b;
    border-radius: 24px;
    padding: 6px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.screen-mockup:hover {
    transform: translateY(-8px);
}

.screen-header {
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    color: white;
    padding: 16px;
    text-align: center;
    border-radius: 12px 12px 0 0;
}

.screen-status {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    margin-bottom: 8px;
}

.screen-title {
    font-size: 14px;
    font-weight: 700;
}

.screen-content {
    padding: 16px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    height: calc(100% - 60px);
}

.dashboard-widgets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.widget {
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: #374151;
    text-align: center;
}

.chart-area {
    background: #f8fafc;
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-chart {
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 4px;
    opacity: 0.7;
}

.record-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
}

.field-label {
    display: block;
    font-size: 10px;
    color: #374151;
    margin-bottom: 4px;
}

.field-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.analysis-chart {
    background: #f8fafc;
    border-radius: 8px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-line {
    width: 80px;
    height: 2px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    position: relative;
}

.chart-points {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.point {
    width: 8px;
    height: 8px;
    background: #05b981;
    border-radius: 50%;
}

.calendar-view {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day.active {
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    color: white;
}

.day-number {
    font-size: 14px;
    font-weight: 600;
}

.day-event {
    width: 4px;
    height: 4px;
    background: currentColor;
    border-radius: 50%;
    margin-top: 2px;
}

.diary-app-screen p {
    font-size: 14px;
    color: #374151;
    font-weight: 600;
}

/* 혜택 섹션 */
.diary-benefits-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

@media (min-width: 768px) {
    .diary-benefits-section {
        padding: 120px 40px;
    }
}

.diary-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .diary-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (min-width: 1024px) {
    .diary-benefits-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px;
    }
}

.diary-benefit-item {
    background: #ffffff;
    border-radius: 24px;
    padding: 48px 32px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.diary-benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(16, 185, 129, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.diary-benefit-item:hover {
    transform: translateY(-8px);
    border-color: #e2e8f0;
}

.diary-benefit-item:hover::before {
    opacity: 1;
}

.benefit-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.diary-benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #05b981 0%, #00895c 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    transition: all 0.3s ease;
}

.diary-benefit-item:hover .diary-benefit-icon {
    transform: scale(1.1);
}

.diary-benefit-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
    position: relative;
    z-index: 1;
}

.diary-benefit-item p {
    color: #374151;
    line-height: 1.6;
    font-size: 15px;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* CTA 섹션 */
.diary-cta-section {
    position: relative;
    padding: 100px 20px;
    color: white;
    text-align: center;
    overflow: hidden;
}

@media (min-width: 768px) {
    .diary-cta-section {
        padding: 120px 40px;
    }
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
}

.diary-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.diary-cta-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

@media (min-width: 768px) {
    .diary-cta-content h2 {
        font-size: 55px;
    }
}

@media (min-width: 1024px) {
    .diary-cta-content h2 {
        font-size: 55px;
    }
}

.diary-cta-content p {
    font-size: 20px;
    margin-bottom: 48px;
    opacity: 0.9;
    line-height: 1.6;
    font-weight: 400;
}

.diary-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.diary-cta-btn-primary {
    background: #05b981;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diary-cta-btn-primary:hover {
    background: #1ac791;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diary-cta-btn-primary:focus {
    outline: none;
    ring: 2px;
    ring-color: #05b981;
    ring-offset: 2px;
}

.diary-cta-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.diary-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.diary-cta-btn-secondary:focus {
    outline: none;
    ring: 2px;
    ring-color: #e5e7eb;
    ring-offset: 2px;
}

/* 반응형 조정 */
@media (max-width: 767px) {
    .diary-hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .diary-hero-content {
        min-height: calc(100vh - 160px);
    }

    .diary-title {
        font-size: 48px;
        line-height: 1.2;
    }

    .diary-subtitle {
        font-size: 18px;
    }

    .diary-section-title {
        font-size: 36px;
    }

    .diary-buttons {
        flex-direction: column;
        align-items: center;
    }

    .diary-btn-primary,
    .diary-btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .diary-app-screens {
        gap: 24px;
    }

    .screen-mockup {
        width: 200px;
        height: 400px;
    }

    .diary-cta-content h2 {
        font-size: 40px;
    }

    .diary-cta-content p {
        font-size: 18px;
    }

    .diary-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .diary-cta-btn-primary,
    .diary-cta-btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    .hero-video-container {
        height: 550px;
        max-width: 400px;
    }

    .example-mockup {
        width: 280px;
        height: 360px;
    }
}